diff --git a/python/MANIFEST.in b/python/MANIFEST.in new file mode 100644 index 000000000..bb6d21f36 --- /dev/null +++ b/python/MANIFEST.in @@ -0,0 +1 @@ +include damask/VERSION diff --git a/python/damask/README b/python/damask/README new file mode 120000 index 000000000..3830a4118 --- /dev/null +++ b/python/damask/README @@ -0,0 +1 @@ +../../README \ No newline at end of file diff --git a/python/setup.py b/python/setup.py index 823365d34..e49872354 100644 --- a/python/setup.py +++ b/python/setup.py @@ -1,15 +1,20 @@ import setuptools +import os + +with open(os.path.join(os.path.dirname(__file__),'damask/VERSION')) as f: + version = f.readline()[1:-1] setuptools.setup( name="damask", - version="0.0.1", + version=version, author="The DAMASK team", author_email="damask@mpie.de", description="Python library for DAMASK", long_description='test', - long_description_content_type="text/markdown", - url="https://github.com/pypa/sampleproject", + #long_description_content_type="text/markdown", + url="https://damask.mpie.de", packages=setuptools.find_packages(), + include_package_data=True, classifiers=[ "Programming Language :: Python :: 3", "License :: OSI Approved :: GLPv3",