# -*- 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.0',
    #package_dir = {'': pkgdir},
    py_modules =  ["mfapy", "metabolicmodel", "carbonsource", "mfapyio", "mdv", "optimize"],
    description = "Parallel and distributed programming for Python",
    platforms = ["Windows", "Linux", "Unix"],
    long_description=readme,
    author='<NAME>',
    author_email='<EMAIL>',
    install_requires=load_requires_from_file('requirements.txt'),
    url='https://github.com/fumiomatsuda/mfapy',
    license=license,
    packages=find_packages(exclude=('tests', 'docs')),
    test_suite='tests'
)


# -*- 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.0',
    #package_dir = {'': pkgdir},
    py_modules =  ["mfapy", "metabolicmodel", "carbonsource", "mfapyio", "mdv", "optimize"],
    description = "Parallel and distributed programming for Python",
    platforms = ["Windows", "Linux", "Unix"],
    long_description=readme,
    author='<NAME>',
    author_email='<EMAIL>',
    install_requires=load_requires_from_file('requirements.txt'),
    url='https://github.com/fumiomatsuda/mfapy',
    license=license,
    packages=find_packages(exclude=('tests', 'docs')),
    test_suite='tests'
)


# -*- coding: utf-8 -*- # Learn more: https://github.com/fumiomatsuda/mfapy # #package_dir = {'': pkgdir},