https://github.com/sys-bio/tellurium
Raw File
Tip revision: fcb119e6e255370f5542d04af1b96169054d1c4c authored by Lucian Smith on 31 January 2024, 22:05:16 UTC
Update version number.
Tip revision: fcb119e
setup.py
# -*- 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',
          ],
          },
      )
back to top