Skip to content

Commit

Permalink
Separate version file
Browse files Browse the repository at this point in the history
  • Loading branch information
mwshinn committed Nov 1, 2024
1 parent 893167e commit 7ffd767
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 1 addition & 0 deletions zebranoise/_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = '0.1.0'

0 comments on commit 7ffd767

Please sign in to comment.