Use version number from module in setup.py

This commit is contained in:
jan 2018-07-27 11:05:42 -07:00
parent 5f685b601b
commit 3db93d18ed

View File

@ -1,12 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from setuptools import setup, find_packages from setuptools import setup, find_packages
import fatamorgana
with open('README.md', 'r') as f: with open('README.md', 'r') as f:
long_description = f.read() long_description = f.read()
setup(name='fatamorgana', setup(name='fatamorgana',
version='0.3', version=fatamorgana.version,
description='OASIS layout format parser and writer', description='OASIS layout format parser and writer',
long_description=long_description, long_description=long_description,
long_description_content_type='text/markdown', long_description_content_type='text/markdown',