#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""The setup script."""

from setuptools import setup, find_packages

with open("README.md") as readme_file:
    readme = readme_file.read()

with open("HISTORY.md") as history_file:
    history = history_file.read()

requirements = [
    "Click>=6.0",
    "us>=1.0",
    "tqdm>=4.31",
    "requests>=2.21",
    "dataclasses==0.6",
    "pandas>=0.24"
]

setup_requirements = [
    "Click>=6.0",
    "us>=1.0",
    "tqdm>=4.31",
    "requests>=2.21",
    "dataclasses==0.6",
    "pandas>=0.24",
]

test_requirements = [
    "Click>=6.0",
    "us>=1.0",
    "tqdm>=4.31",
    "requests>=2.21",
    "dataclasses==0.6",
    "pandas>=0.24",
]

setup(
    author="Sergio Sánchez Zavala",
    author_email="sergio@cimarron.io",
    classifiers=[
        "Development Status :: 2 - Pre-Alpha",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Natural Language :: English",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Operating System :: OS Independent",
        "Topic :: Utilities",
    ],
    description="Download Public Use Micro Sample (PUMS) data files from US Census Bureu's FTP server.",
    entry_points={"console_scripts": ["pypums=pypums.cli:main"]},
    install_requires=requirements,
    license="MIT license",
    long_description=readme + "\n\n" + history,
    long_description_content_type="text/markdown",
    include_package_data=True,
    keywords="pypums",
    name="pypums",
    packages=find_packages(include=["pypums"]),
    setup_requires=setup_requirements,
    test_suite="tests",
    tests_require=test_requirements,
    url="https://github.com/chekos/pypums",
    version="0.0.6",
    python_requires=">=3.6",
    zip_safe=False,
)
