Browse Source

Improve distribution

refactoring
Matthias Volk 7 years ago
parent
commit
95da370b4a
  1. 5
      MANIFEST.in
  2. 5
      setup.py

5
MANIFEST.in

@ -0,0 +1,5 @@
include CMakeLists.txt
recursive-include setup/ *.py
recursive-include cmake/ *
recursive-include src/ *
recursive-include resources/ *

5
setup.py

@ -17,6 +17,9 @@ if sys.version_info[0] == 2:
# Minimal storm version required # Minimal storm version required
storm_min_version = "1.2.2" 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): class CMakeExtension(Extension):
def __init__(self, name, sourcedir='', subdir=''): def __init__(self, name, sourcedir='', subdir=''):
@ -210,7 +213,7 @@ setup(
maintainer_email="sebastian.junges@cs.rwth-aachen.de", maintainer_email="sebastian.junges@cs.rwth-aachen.de",
url="http://moves.rwth-aachen.de", url="http://moves.rwth-aachen.de",
description="stormpy - Python Bindings for Storm", description="stormpy - Python Bindings for Storm",
long_description='',
long_description=long_description,
packages=['stormpy', 'stormpy.info', 'stormpy.logic', 'stormpy.storage', 'stormpy.utility', packages=['stormpy', 'stormpy.info', 'stormpy.logic', 'stormpy.storage', 'stormpy.utility',
'stormpy.pars', 'stormpy.dft'], 'stormpy.pars', 'stormpy.dft'],
package_dir={'': 'lib'}, package_dir={'': 'lib'},

Loading…
Cancel
Save