From 5db3c691526f919a863de18dd752fc830a12a06f Mon Sep 17 00:00:00 2001 From: Matthias Volk Date: Fri, 27 Apr 2018 11:44:10 +0200 Subject: [PATCH] Updated setup.py --- MANIFEST.in | 1 + setup.py | 15 +++++---------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index e66eb4a..bbfd747 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -3,3 +3,4 @@ recursive-include setup/ *.py recursive-include cmake/ * recursive-include src/ * recursive-include resources/ * +recursive-include lib/stormpy/examples/files/ * diff --git a/setup.py b/setup.py index 6a1a851..ec81e39 100755 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ import sys import subprocess import datetime -from setuptools import setup, Extension +from setuptools import setup, Extension, find_packages from setuptools.command.build_ext import build_ext from setuptools.command.test import test from distutils.version import StrictVersion @@ -212,7 +212,7 @@ setup( author_email="matthias.volk@cs.rwth-aachen.de", maintainer="S. Junges", maintainer_email="sebastian.junges@cs.rwth-aachen.de", - url="http://moves.rwth-aachen.de", + url="https://github.com/moves-rwth/stormpy/", description="stormpy - Python Bindings for Storm", long_description=long_description, long_description_content_type='text/markdown', @@ -227,15 +227,10 @@ setup( 'Topic :: Software Development :: Libraries :: Python Modules', ], - packages=['stormpy', - 'stormpy.exceptions', - 'stormpy.info', - 'stormpy.logic', - 'stormpy.storage', - 'stormpy.utility', - 'stormpy.dft', - 'stormpy.pars'], + packages=find_packages('lib'), package_dir={'': 'lib'}, + include_package_data=True, + package_data={'stormpy.examples': ['examples/files/*']}, ext_package='stormpy', ext_modules=[CMakeExtension('core', subdir=''), CMakeExtension('info', subdir='info'),