diff --git a/setup.py b/setup.py index cd47f2d..b05472f 100644 --- a/setup.py +++ b/setup.py @@ -14,9 +14,12 @@ with open("README.md", "r") as f: long_desc = f.read() +with open("zebranoise/_version.py", "r") as f: + exec(f.read()) + setup( name='zebranoise', - version='0.1', + version=__version__, description='Zebra noise stimuli for Python', long_description = long_desc, long_description_content_type='text/markdown', diff --git a/zebranoise/_version.py b/zebranoise/_version.py new file mode 100644 index 0000000..b794fd4 --- /dev/null +++ b/zebranoise/_version.py @@ -0,0 +1 @@ +__version__ = '0.1.0'