Revert of the revert of the python package with version information

This reverts commit bee8f16dbb.
This commit is contained in:
Wenzel Jakob
2016-03-01 10:36:10 +01:00
parent 218b6ce246
commit 4f972c0039
4 changed files with 7 additions and 4 deletions

View File

@@ -1,11 +1,12 @@
To release a new version of pybind11:
- Update version macros in `include/pybind11/common.h`
- Update version in `setup.py`
- Update `pybind11/_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