-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (31 loc) · 1 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
# -*- coding: utf-8 -*-
# Learn more: https://github.com/fumiomatsuda/mfapy
#
from setuptools import setup, find_packages
import sys
import os, os.path
pyversion = sys.version_info[0]
pkgdir = 'python%s' % pyversion
def load_requires_from_file(fname):
if not os.path.exists(fname):
raise IOError(fname)
return [pkg.strip() for pkg in open(fname, 'r')]
with open('README.md') as f:
readme = f.read()
with open('LICENSE') as f:
license = f.read()
setup(
name='mfapy',
version='0.6.1',
package_dir = {'mfapy': ""},
py_modules = ["metabolicmodel", "carbonsource", "mfapyio", "mdv", "optimize"],
description = "mfapy: a python package for the 13C metabolic flux analysis",
platforms = ["Windows", "Linux", "Unix"],
long_description=readme,
author='Fumio Matsuda',
author_email='[email protected]',
install_requires=load_requires_from_file('requirements.txt'),
url='https://github.com/fumiomatsuda/mfapy',
license=license,
test_suite='tests'
)