From e33ef9c20d36fe760792c61ccc95ecf1b42cf81d Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Sun, 1 Jan 2017 13:55:06 +0100 Subject: [PATCH] v2.0.0 release --- docs/changelog.rst | 4 ++-- docs/conf.py | 2 +- include/pybind11/common.h | 6 +++--- pybind11/_version.py | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index e44c12727..db5ddaed7 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -6,7 +6,7 @@ Changelog Starting with version 1.8.0, pybind11 releases use a `semantic versioning `_ policy. -v2.0.0 (???) +v2.0.0 (Jan 1, 2017) ----------------------------------------------------- * Fixed a reference counting regression affecting types with custom metaclasses @@ -16,7 +16,7 @@ v2.0.0 (???) * Quenched a CMake policy warning. `#570 `_. -v2.0.0-rc1 (Dec 23) +v2.0.0-rc1 (Dec 23, 2016) ----------------------------------------------------- The pybind11 developers are excited to issue a release candidate of pybind11 diff --git a/docs/conf.py b/docs/conf.py index b77792dc1..201d01272 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -58,7 +58,7 @@ author = 'Wenzel Jakob' # The short X.Y version. version = '2.0' # The full version, including alpha/beta/rc tags. -release = '2.0.0-rc1' +release = '2.0.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/include/pybind11/common.h b/include/pybind11/common.h index bfc5f1333..fb66f50d9 100644 --- a/include/pybind11/common.h +++ b/include/pybind11/common.h @@ -52,9 +52,9 @@ # define PYBIND11_DEPRECATED(reason) __declspec(deprecated) #endif -#define PYBIND11_VERSION_MAJOR 1 -#define PYBIND11_VERSION_MINOR 9 -#define PYBIND11_VERSION_PATCH dev0 +#define PYBIND11_VERSION_MAJOR 2 +#define PYBIND11_VERSION_MINOR 0 +#define PYBIND11_VERSION_PATCH 0 /// Include Python header, disable linking to pythonX_d.lib on Windows in debug mode #if defined(_MSC_VER) diff --git a/pybind11/_version.py b/pybind11/_version.py index bf6388f20..074f4174c 100644 --- a/pybind11/_version.py +++ b/pybind11/_version.py @@ -1,2 +1,2 @@ -version_info = (2, 0, '0-rc1') +version_info = (2, 0, 0) __version__ = '.'.join(map(str, version_info))