From 95da370b4ad85dbecb4dfa87685b627d2f60f3bb Mon Sep 17 00:00:00 2001 From: Matthias Volk Date: Wed, 25 Apr 2018 16:10:22 +0200 Subject: [PATCH] Improve distribution --- MANIFEST.in | 5 +++++ setup.py | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..e66eb4a --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,5 @@ +include CMakeLists.txt +recursive-include setup/ *.py +recursive-include cmake/ * +recursive-include src/ * +recursive-include resources/ * diff --git a/setup.py b/setup.py index a8ecc9a..77d1f5a 100755 --- a/setup.py +++ b/setup.py @@ -17,6 +17,9 @@ if sys.version_info[0] == 2: # Minimal storm version required storm_min_version = "1.2.2" +# Get the long description from the README file +with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.md'), encoding='utf-8') as f: + long_description = f.read() class CMakeExtension(Extension): def __init__(self, name, sourcedir='', subdir=''): @@ -210,7 +213,7 @@ setup( maintainer_email="sebastian.junges@cs.rwth-aachen.de", url="http://moves.rwth-aachen.de", description="stormpy - Python Bindings for Storm", - long_description='', + long_description=long_description, packages=['stormpy', 'stormpy.info', 'stormpy.logic', 'stormpy.storage', 'stormpy.utility', 'stormpy.pars', 'stormpy.dft'], package_dir={'': 'lib'},