|
17 | 17 | with open(path.join(here, 'README.rst')) as f: |
18 | 18 | long_description = f.read() |
19 | 19 |
|
| 20 | +with open(path.join(here, 'requirements.txt')) as f: |
| 21 | + requirements = f.read().splitlines() |
| 22 | + |
| 23 | +with open(path.join(here, 'psctb', 'version.py')) as f: |
| 24 | + exec(f.read()) |
| 25 | + |
| 26 | +dlurl = 'http://github.com/PySCeS/PyscesToolbox/archive/' + __version__ + '.tar.gz' |
| 27 | + |
20 | 28 | packages = find_packages() |
21 | 29 |
|
22 | 30 | setup( |
23 | 31 | name='PyscesToolbox', |
24 | | - version='0.9.0', |
| 32 | + version=__version__, |
25 | 33 | packages=packages, |
26 | 34 | url='https://github.com/PySCeS/PyscesToolbox', |
27 | | - download_url='http://github.com/PySCeS/PyscesToolbox/archive/0.9.0.tar.gz', |
| 35 | + download_url=dlurl, |
28 | 36 | license='BSD-3-Clause', |
29 | 37 | author='Carl Christensen and Johann Rohwer', |
30 | 38 | author_email='exe0cdc@gmail.com, j.m.rohwer@gmail.com', |
31 | 39 | description='A set of metabolic model analysis tools for PySCeS.', |
32 | 40 | long_description=long_description, |
33 | | - install_requires=['IPython>=4.0.0', |
34 | | - 'numpy', |
35 | | - 'sympy', |
36 | | - 'pysces', |
37 | | - 'matplotlib', |
38 | | - 'numpydoc', |
39 | | - 'networkx==1.11', |
40 | | - 'ipywidgets==6.0.0', |
41 | | - 'widgetsnbextension==2.0.0', |
42 | | - 'jupyter-pip', |
43 | | - 'pandas'], |
| 41 | + install_requires=requirements, |
44 | 42 | package_data={'d3networkx_psctb': ['widget.js'], |
45 | 43 | 'psctb': ['docs/*']}, |
46 | 44 | keywords=['metabolism','metabolic control analysis','modelling'], |
|
0 commit comments