"""A setuptools based setup module.

See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""

# Always prefer setuptools over distutils
from setuptools import setup, find_packages
from os import path
# io.open is needed for projects that support Python 2.7
# It ensures open() defaults to text mode with universal newlines,
# and accepts an argument to specify the text encoding
# Python 3 only projects can skip this import
from io import open

here = path.abspath(path.dirname(__file__))

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

setup(
    name='flambeau',
    version='0.0.1',
    description='Collection of useful functions and utilities from my production practice.',
    long_description=long_description,
    long_description_content_type='text/markdown',
    url='https://github.com/corenel/flambeau',
    author='<NAME>',
    author_email='<EMAIL>',
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'Topic :: Scientific/Engineering :: Artificial Intelligence',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
    ],
    keywords='vision pytorch deep-learning',
    packages=find_packages(exclude=['contrib', 'docs', 'tests']),
    install_requires=[
        'numpy', 'scipy',
        'torch>=1.2.0', 'torchvision>=0.4.0',
        'opencv-python', 'pillow',
        'tqdm', 'tensorboardX', 'pyyaml'
    ],
    project_urls={
        'Bug Reports': 'https://github.com/corenel/flambeau/issues',
        'Source': 'https://github.com/corenel/flambeau',
    },
)
