"""Packaging settings."""

from setuptools import find_packages, setup

import dli

with open('requirements.txt', 'r') as f:
    requirements = f.readlines()

open('platform_services_lib/__init__.py', 'a').close()


setup(
    name='dli',
    python_requires='>3.6.0',
    version=dli.__version__,
    url='https://ihsmarkit.com',
    description='Data Lake command line Interface.',
    author='IHS Markit Data Lake Team',
    author_email='datalake-support@ihsmarkit.com',
    license='MOZ-2',
    classifiers=[
        'Intended Audience :: Developers',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.6',
    ],
    keywords='cli, datalake, data, lake',
    packages=(find_packages(exclude=['docs', 'tests'])),
    install_requires=requirements,
    extras_require={
        # Note that in the newer releases of Dask, the `dataframe` code
        # has been moved to a plugin so needs to be installed explicitly!
        # Note that for Dask to talk to S3 we need to install `s3fs`. Dask
        # is compatible with the changes made in s3fs release 0.5.0.
        "dask":  ["dask[dataframe]", "s3fs"],
        "ipython": ["ipywidgets~=7.5.1", "ipython~=7.0"]
    },
    entry_points = {
        'console_scripts': ['dli=dli.command_line:main'],
    }
)
