from setuptools import setup, find_packages
from codecs import open
from os import path
try: # for pip >= 10
    from pip._internal.req import parse_requirements
except ImportError: # for pip <= 9.0.3
    from pip.req import parse_requirements

here = path.abspath(path.dirname(__file__))
install_reqs = parse_requirements(here + '/requirements.txt', session=False)
reqs = [str(ir.req) for ir in install_reqs]

# Get the long description from the relevant file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
    long_description = f.read()

setup(
    name='SC-IPFP',
    version='1.0',
    description='SBP solution via Maximum Likelihood',
    long_description=long_description,
    url='git@github.com:franciscovargas/GP_Sinkhorn.git',
    author='Francisco Vargas',
    author_email='vargfran@gmail.com',
    license='MIT',
    keywords='ML, SDE, NNs, Rare Events, Stochastic Processes, Gaussian Process for regression',
    install_requires=reqs,
)