from setuptools import setup, find_packages

PACKAGE_NAME = 'pyCeterisParibus'
REQUIREMENTS_PATH = 'requirements.txt'
README_PATH = 'README.md'
VERSION = '0.5.1'


def get_requirements():
    with open(REQUIREMENTS_PATH, 'r') as f:
        requirements = f.read().splitlines()
        return requirements


def get_readme():
    with open(README_PATH, 'r') as f:
        return f.read()


setup(name=PACKAGE_NAME,
      version=VERSION,
      description='Ceteris Paribus python package',
      long_description=get_readme(),
      long_description_content_type='text/markdown',
      url='https://github.com/ModelOriented/pyCeterisParibus',
      author='Michał Kuźba',
      author_email='michal.kuzba@students.mimuw.edu.pl',
      packages=find_packages(exclude=['examples', 'tests']),
      package_data={'ceteris_paribus': ['plots/ceterisParibusD3.js', 'plots/plot_template.html', 'datasets/*.csv']},
      install_requires=get_requirements(),
      classifiers=[
          'Intended Audience :: Science/Research',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: Apache Software License',
          'Operating System :: OS Independent',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.5',
          'Programming Language :: Python :: 3.6',
          'Programming Language :: Python :: 3.7',
          'Topic :: Scientific/Engineering :: Artificial Intelligence',
          'Topic :: Scientific/Engineering :: Visualization'
      ])
