From b119e51e4e4e0499ca135bee9a45648e93affd17 Mon Sep 17 00:00:00 2001 From: Samuel Lotz Date: Thu, 13 Feb 2020 18:51:46 -0500 Subject: [PATCH] bumps version number for dev release --- setup.py | 2 +- sphinx/conf.py | 2 +- src/wepy/__init__.py | 3 ++- src/wepy/_print_version.py | 5 +++++ src/wepy/_version.py | 1 + 5 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 src/wepy/_print_version.py create mode 100644 src/wepy/_version.py diff --git a/setup.py b/setup.py index 99575c0f..4ad67b88 100644 --- a/setup.py +++ b/setup.py @@ -47,7 +47,7 @@ setup( name='wepy', - version='1.0.0rc0', + version='1.0.0rc0.dev0', author="Samuel D. Lotz", author_email="samuel.lotz@salotz.info", description="Weighted Ensemble Framework", diff --git a/sphinx/conf.py b/sphinx/conf.py index 568612c8..0a7b516d 100644 --- a/sphinx/conf.py +++ b/sphinx/conf.py @@ -25,7 +25,7 @@ # The short X.Y version version = '1.0.0' # The full version, including alpha/beta/rc tags -release = '1.0.0rc0' +release = '1.0.0rc0.dev0' # -- General configuration --------------------------------------------------- diff --git a/src/wepy/__init__.py b/src/wepy/__init__.py index 0a347350..85e6967a 100644 --- a/src/wepy/__init__.py +++ b/src/wepy/__init__.py @@ -2,6 +2,7 @@ """Top-level package for testing.""" +from ._version import __version__ + __author__ = """Samuel D. Lotz""" __email__ = 'samuel.lotz@salotz.info' -__version__ = '1.0.0rc0' diff --git a/src/wepy/_print_version.py b/src/wepy/_print_version.py new file mode 100644 index 00000000..ec019ee6 --- /dev/null +++ b/src/wepy/_print_version.py @@ -0,0 +1,5 @@ +from ._version import __version__ + +if __name__ == "__main__": + + print(__version__) diff --git a/src/wepy/_version.py b/src/wepy/_version.py new file mode 100644 index 00000000..fb953f9b --- /dev/null +++ b/src/wepy/_version.py @@ -0,0 +1 @@ +__version__ = '1.0.0rc0.dev0'