updated variables for v2.2.0 release

This commit is contained in:
Wenzel Jakob 2017-08-31 13:56:57 +02:00
parent 6898679270
commit def3c18c65
4 changed files with 4 additions and 4 deletions

View File

@ -63,7 +63,7 @@ author = 'Wenzel Jakob'
# The short X.Y version. # The short X.Y version.
version = '2.2' version = '2.2'
# The full version, including alpha/beta/rc tags. # The full version, including alpha/beta/rc tags.
release = '2.2.dev0' release = '2.2.0'
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.

View File

@ -2,7 +2,7 @@ To release a new version of pybind11:
- Update the version number and push to pypi - Update the version number and push to pypi
- Update ``pybind11/_version.py`` (set release version, remove 'dev'). - Update ``pybind11/_version.py`` (set release version, remove 'dev').
- Update ``PYBIND11_VERSION_MAJOR`` etc. in ``include/pybind11/common.h``. - Update ``PYBIND11_VERSION_MAJOR`` etc. in ``include/pybind11/detail/common.h``.
- Ensure that all the information in ``setup.py`` is up-to-date. - Ensure that all the information in ``setup.py`` is up-to-date.
- Update version in ``docs/conf.py``. - Update version in ``docs/conf.py``.
- Tag release date in ``docs/changelog.rst``. - Tag release date in ``docs/changelog.rst``.

View File

@ -93,7 +93,7 @@
#define PYBIND11_VERSION_MAJOR 2 #define PYBIND11_VERSION_MAJOR 2
#define PYBIND11_VERSION_MINOR 2 #define PYBIND11_VERSION_MINOR 2
#define PYBIND11_VERSION_PATCH dev0 #define PYBIND11_VERSION_PATCH 0
/// Include Python header, disable linking to pythonX_d.lib on Windows in debug mode /// Include Python header, disable linking to pythonX_d.lib on Windows in debug mode
#if defined(_MSC_VER) #if defined(_MSC_VER)

View File

@ -1,2 +1,2 @@
version_info = (2, 2, 'dev0') version_info = (2, 2, 0)
__version__ = '.'.join(map(str, version_info)) __version__ = '.'.join(map(str, version_info))