-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.py
72 lines (62 loc) · 2.9 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#!/usr/bin/env python
from __future__ import division, print_function, absolute_import
__doc__ = "StochPy (Stochastic modeling in Python) provides several stochastic simulation algorithms to simulate (bio)chemical systems of reactions in a stochastic manner."
__version__ = "2.4"
import os
try:
import setuptools
print('Using setuptools.')
except:
print('Using distutils')
try:
from numpy.distutils.core import setup
except Exception as ex:
print(ex)
print("StochPy requires NumPy\n")
print("See http://numpy.scipy.org/ for more information about NumPy")
os.sys.exit(-1)
local_path = os.path.dirname(os.path.abspath(os.sys.argv[0])) # Get the dir of setup.py
os.chdir(local_path)
mydata_files = []
modfold = os.path.join(local_path, 'stochpy', 'pscmodels')
mods = os.listdir(modfold)
mypackages = ['stochpy','stochpy.lib','stochpy.modules','stochpy.pscmodels','stochpy.implementations','stochpy.core2','stochpy.tools'] # My subpackage list
mymodules = []
setup(name="StochPy",
version = __version__,
description = __doc__,
long_description = """
Welcome to the installation of StochPy {0:s}!
StochPy (Stochastic modeling in Python) is a flexible software tool for stochastic simulation in cell biology. It provides various stochastic simulation algorithms, SBML support, analyses of the probability distributions of molecule copy numbers and event waiting times, analyses of stochastic time series, and a range of additional statistical functions and plotting facilities for stochastic simulations.
""".format(__version__),
author = "T.R. Maarleveld",
author_email = "[email protected]",
maintainer = "Brett Olivier",
maintainer_email = "[email protected]",
url = "http://stochpy.sourceforge.net",
download_url = "https://github.com/SystemsBioinformatics/stochpy",
license = " BSD License ",
keywords = " Bioinformatics, Computational Systems Biology, Bioinformatics, Modeling, Simulation, Stochastic Simulation Algorithms, Stochastic",
zip_safe = False,
requires = ['NumPy'],
platforms = ["Windows", "Linux","Mac OS-X"],#, "Solaris", "", "Unix"],
classifiers = [
'Development Status :: 5 - Production/Stable',
'Development Status :: 6 - Mature',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Scientific/Engineering :: Bio-Informatics'],
packages = mypackages,
data_files = mydata_files
)