forked from sorgerlab/indra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·125 lines (117 loc) · 5.92 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
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,<=1.9.1', 'objectpath',
'requests>=2.11', 'lxml', 'ipython', 'future',
'networkx>=2', 'pandas<1.3', 'ndex2==2.0.1', 'jinja2',
'protmapper>=0.0.23', 'obonet', 'sympy==1.3',
'tqdm', 'pybiopax>=0.0.5']
extras_require = {
# Inputs and outputs
'trips_offline': ['pykqml'],
'reach_offline': ['cython', 'pyjnius==1.1.4'],
'eidos_offline': ['cython', 'pyjnius==1.1.4'],
'hypothesis': ['gilda'],
'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'],
# AWS interface and database
'aws': ['boto3', 'reportlab'],
# Utilities
'graph': ['pygraphviz'],
'plot': ['matplotlib'],
'isi': ['nltk<3.6', 'unidecode'],
'api': ['flask<2.0', 'flask_restx<0.4', 'flask_cors',
'docstring-parser', 'gunicorn'],
'sklearn_belief': ['scikit-learn'],
'owl': ['pronto'],
}
extras_require['all'] = list({dep for deps in extras_require.values()
for dep in deps})
setup(name='indra',
version='1.21.0',
description='Integrated Network and Dynamical Reasoning Assembler',
long_description=long_description,
long_description_content_type='text/markdown',
author='Benjamin Gyori',
author_email='[email protected]',
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.bel', 'indra.sources.biofactoid',
'indra.sources.biopax', 'indra.sources.ctd',
'indra.sources.crog', '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.signor',
'indra.sources.sparser', 'indra.sources.tas',
'indra.sources.tees',
'indra.sources.trips', 'indra.sources.trrust',
'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.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'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()