Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Olivier B.
pybind11
Commits
97dc8105
Commit
97dc8105
authored
Feb 01, 2016
by
Sylvain Corlay
Browse files
Add version info and release instructions for pybind11
parent
cd4e6ae3
Changes
5
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
97dc8105
...
...
@@ -23,3 +23,7 @@ MANIFEST
/.ninja_*
/*.ninja
/docs/.build
*.py[co]
*.egg-info
*~
.DS_Store
docs/release.rst
0 → 100644
View file @
97dc8105
To release a new version of pybind11:
- Update `_version.py` (set release version, remove 'dev')
- `git add` and `git commit`.
- `python setup.py sdist upload`.
- `python setup.py bdist_wheel upload`.
- `git tag -a X.X -m 'Release tag comment'`.
- Update `_version.py` (add 'dev' and increment minor).
- `git add` and `git commit`. `git push`. `git push --tags`.
The remote for the last `git push --tags` should be the main repository for
pybind11.
pybind11/__init__.py
0 → 100644
View file @
97dc8105
from
._version
import
version_info
,
__version__
pybind11/_version.py
0 → 100644
View file @
97dc8105
version_info
=
(
1
,
2
,
'dev0'
)
__version__
=
'.'
.
join
(
map
(
str
,
version_info
))
setup.py
View file @
97dc8105
...
...
@@ -3,16 +3,17 @@
# Setup script for PyPI; use CMakeFile.txt to build the example application
from
setuptools
import
setup
from
pybind11
import
__version__
setup
(
name
=
'pybind11'
,
version
=
'1.0'
,
version
=
__version__
,
description
=
'Seamless operability between C++11 and Python'
,
author
=
'Wenzel Jakob'
,
author_email
=
'wenzel@inf.ethz.ch'
,
url
=
'https://github.com/wjakob/pybind11'
,
download_url
=
'https://github.com/wjakob/pybind11/tarball/v1.0'
,
packages
=
[],
packages
=
[
'pybind11'
],
license
=
'BSD'
,
headers
=
[
'include/pybind11/attr.h'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment