-
Notifications
You must be signed in to change notification settings - Fork 68
/
setup.py
141 lines (133 loc) · 6.65 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
import os
from setuptools import setup
readme_path = os.path.join(os.path.abspath(os.path.dirname(__file__)),
'README.md')
with open(readme_path, 'r', encoding='utf-8') as fh:
long_description = fh.read()
def main():
install_list = ['pysb>=1.3.0', 'objectpath',
'requests>=2.11', 'lxml', 'ipython', 'future',
'networkx>=3', 'pandas>=2', 'ndex2==2.0.1', 'jinja2',
'protmapper>=0.0.29', 'obonet',
'tqdm', 'pybiopax>=0.0.5']
extras_require = {
# Inputs and outputs
'trips_offline': ['pykqml'],
'reach_offline': ['cython<3', 'pyjnius==1.1.4'],
'eidos_offline': ['cython<3', 'pyjnius==1.1.4'],
'hypothesis': ['gilda>1.0.0'],
'geneways': ['stemming', 'nltk<3.6'],
'bel': ['pybel>=0.15.0,<0.16.0'],
'sbml': ['python-libsbml'],
# Tools and analysis
'machine': ['pytz', 'tzlocal', 'tweepy', 'pyyaml>=5.1.0',
'click'],
'explanation': ['kappy==4.1.2', 'paths-graph'],
'grounding': ['adeft', 'gilda>1.0.0'],
# AWS interface and database
'aws': ['boto3', 'reportlab'],
# Utilities
'graph': ['pygraphviz'],
'plot': ['matplotlib'],
'isi': ['nltk<3.6', 'unidecode'],
'api': ['flask>=3.0,<4.0',
'flask_restx>=1.3.0',
'flask_cors',
'docstring-parser',
'gunicorn'],
# scikit-learn 1.5.0 breaks DisambManager.run_adeft_disambiguation
# see: https://github.com/gyorilab/adeft/issues/80
'sklearn_belief': ['scikit-learn<1.5.0'],
'owl': ['pronto'],
'tests':
['pytest',
'pytest-cov',
'pynose' # This is needed for PySB with_model in
# some tests
],
}
extras_require['all'] = list({dep for deps in extras_require.values()
for dep in deps})
setup(name='indra',
version='1.23.0',
description='Integrated Network and Dynamical Reasoning Assembler',
long_description=long_description,
long_description_content_type='text/markdown',
author='Benjamin Gyori',
author_email='benjamin_gyori@hms.harvard.edu',
url='http://github.com/sorgerlab/indra',
packages=['indra', 'indra.assemblers',
'indra.assemblers.cx', 'indra.assemblers.cyjs',
'indra.assemblers.english',
'indra.assemblers.graph', 'indra.assemblers.html',
'indra.assemblers.index_card',
'indra.assemblers.indranet',
'indra.assemblers.kami', 'indra.assemblers.pybel',
'indra.assemblers.pysb', 'indra.assemblers.sbgn',
'indra.assemblers.sif', 'indra.assemblers.tsv',
'indra.belief',
'indra.benchmarks', 'indra.databases',
'indra.explanation', 'indra.explanation.model_checker',
'indra.explanation.pathfinding',
'indra.literature', 'indra.mechlinker',
'indra.ontology', 'indra.ontology.bio',
'indra.ontology.virtual',
'indra.ontology.app', 'indra.pipeline',
'indra.preassembler',
'indra.preassembler.grounding_mapper', 'indra.sources',
'indra.sources.acsn',
'indra.sources.bel', 'indra.sources.biofactoid',
'indra.sources.biopax', 'indra.sources.creeds',
'indra.sources.crog', 'indra.sources.ctd',
'indra.sources.dgi',
'indra.sources.drugbank', 'indra.sources.eidos',
'indra.sources.geneways', 'indra.sources.gnbr',
'indra.sources.hprd', 'indra.sources.hypothesis',
'indra.sources.index_cards',
'indra.sources.indra_db_rest', 'indra.sources.isi',
'indra.sources.minerva', 'indra.sources.ndex_cx',
'indra.sources.reach', 'indra.sources.omnipath',
'indra.sources.phosphoelm',
'indra.sources.rlimsp', 'indra.sources.semrep',
'indra.sources.signor',
'indra.sources.sparser', 'indra.sources.tas',
'indra.sources.tees',
'indra.sources.trips', 'indra.sources.trrust',
'indra.sources.ubibrowser',
'indra.sources.virhostnet',
'indra.resources', 'indra.statements',
'indra.tests', 'indra.tests.test_obo_clients',
'indra.tools',
'indra.tools.machine', 'indra.util'],
install_requires=install_list,
extras_require=extras_require,
include_package_data=True,
keywords=[
'systems', 'biology', 'model', 'pathway', 'assembler',
'nlp', 'mechanism', 'biochemistry', 'network',
'big mechanism', 'bigmech',
'world modelers',
'communicating with computers', 'cwc',
'automated scientific discovery framework', 'asdf',
'automating scientific knowledge extraction', 'aske',
'panacea',
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Chemistry',
'Topic :: Scientific/Engineering :: Mathematics',
],
entry_points={'console_scripts':
['indra-machine = indra.tools.machine.cli:main']}
)
if __name__ == '__main__':
main()