-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathsetup.py
81 lines (79 loc) · 2.33 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
73
74
75
76
77
78
79
80
81
# -*- coding: utf-8 -*-
###################################
# tellurium setup script
#
# develop install via
# pip install -e .
###################################
from setuptools import setup
import os
try:
with open(os.path.join(os.path.dirname(__file__), 'VERSION.txt'), 'r') as f:
version = f.read().rstrip()
except IOError:
# fallback location
with open(os.path.join(os.path.dirname(__file__), 'tellurium/VERSION.txt'), 'r') as f:
version = f.read().rstrip()
setup(name='tellurium',
version=version,
author='J. Kyle Medley, Kiri Choi, Matthias König, Lucian Smith, Herbert M. Sauro',
description='Tellurium: An biological modeling environment for Python',
url='http://tellurium.analogmachine.org/',
packages=[
'tellurium',
'tellurium.analysis',
'tellurium.notebooks',
'tellurium.plotting',
'tellurium.roadrunner',
'tellurium.sedml',
'tellurium.teconverters',
'tellurium.teio',
'tellurium.utils',
#'tellurium.optimization',
'tellurium.visualization',
#'tellurium.tests',
#'tellurium.tests.testdata',
],
package_data={
"tellurium": ["*.txt"],
"tellurium.sedml": ["templates/*.template"],
},
install_requires=[
# general
'numpy>=1.23',
'scipy>=1.5.1',
'matplotlib>=2.0.2',
'pandas>=0.20.2',
# SBW-derived
'libroadrunner>=2.1',
'antimony>=2.12.0',
# standards
'python-libsbml>=5.18.0',
'python-libnuml>=1.0.0',
'python-libsedml>=2.0.17',
'python-libcombine>=0.2.2',
# misc
'appdirs>=1.4.3',
'jinja2>=3.0.0',
'plotly>=2.0.12',
'requests',
# Jupyter / IPython
'jupyter-client>=5.1.0',
'jupyter-core>=4.3.0',
'ipython',
'ipykernel>=4.6.1',
# testing
'pytest',
],
extras_require={
':(python_version < "3.10" and platform_machine != "arm64")': [
'sbml2matlab>=0.9.1',
],
':(platform_machine != "arm64")': [
'phrasedml>=1.0.9',
],
': platform_system == "Windows"': [
'rrplugins>=2.1',
],
},
)