tools to build a python wheel distribution

This commit is contained in:
Martin Diehl 2019-04-26 20:54:58 +02:00
parent 20f647158f
commit a5c620379b
3 changed files with 10 additions and 3 deletions

1
python/MANIFEST.in Normal file
View File

@ -0,0 +1 @@
include damask/VERSION

1
python/damask/README Symbolic link
View File

@ -0,0 +1 @@
../../README

View File

@ -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",