from __future__ import absolute_import
from __future__ import division
from __future__ import print_function

import sys

from codecs import open
from os import path
from setuptools import setup

__author__ = "Sean Robertson"
__email__ = "sdrobert@cs.toronto.edu"
__license__ = "Apache 2.0"
__copyright__ = "Copyright 2018 Sean Robertson"

PWD = path.abspath(path.dirname(__file__))
with open(path.join(PWD, 'README.md'), encoding='utf-8') as readme_file:
    LONG_DESCRIPTION = readme_file.read()

SETUP_REQUIRES = ['setuptools_scm']
if {'pytest', 'test', 'ptr'}.intersection(sys.argv):
    SETUP_REQUIRES += ['pytest-runner']

setup(
    name='pydrobert-gpyopt',
    description='Utilities to streamline GPyOpt interfaces for ML',
    long_description=LONG_DESCRIPTION,
    use_scm_version=True,
    zip_safe=False,
    url='https://github.com/sdrobert/pydrobert-gpyopt',
    author=__author__,
    author_email=__email__,
    license=__license__,
    packages=['pydrobert', 'pydrobert.gpyopt'],
    classifiers=[
        'Development Status :: 3 - Alpha',
        'License :: OSI Approved :: Apache Software License',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
    ],
    install_requires=[
        'numpy', 'future', 'GPyOpt', 'param', 'matplotlib'
    ],
    setup_requires=SETUP_REQUIRES,
    tests_require=[
        'pytest'
    ],
)
