import setuptools
import os

__local__ = os.path.abspath(os.path.dirname(__file__))

f_version = os.path.join(__local__, "textpp_ptbr", "_version.py")
exec(open(f_version).read())

# Get the long description from the relevant file
long_description = """Common text pre-processing utilities for Brazilian Portuguese
=================================
A collection of utilities for text pre-processing.
"""

setuptools.setup(
    name="textpp-ptbr",
    packages=setuptools.find_packages(),
    # Include package data...
    include_package_data=True,
    install_requires=[
        # NLP core libraries
        #"unidecode",
        #"pyparsing",
        #"flashtext",
        # See https://github.com/explosion/spaCy/issues/1099 for dataset
        # Fix the minor version so model doesn't change
        #"spacy==2.1.0",
        # Fix the version of mysqlclient due to windows problems
        # "mysqlclient==1.3.12",
        # For parallel processing
        #"joblib",
    ],
    description="Natural Language Preprocessing (NLPre) utilities.",
    long_description=long_description,
    version=__version__,
    # The project's main homepage.
    url="https://github.com/fernandosola/textpp-ptbr",
    # download_url='https://github.com/NIHOPA/NLPre/archive/v2.0.0.zip',
    # Author details
    author="Fernando Sola Pereira",
    author_email="fernandosola@gmail.com",
    # Choose your license
    license="MIT",
    # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
    classifiers=[
        # How mature is this project? Common values are
        #   3 - Alpha
        #   4 - Beta
        #   5  -Production/Stable
        "Development Status :: 3 - Alpha",
        # Indicate who your project is intended for
        "Intended Audience :: Developers",
        "Intended Audience :: Science/Research",
        "Intended Audience :: Healthcare Industry",
        "Intended Audience :: Education",
        "Intended Audience :: Financial and Insurance Industry",
        "Natural Language :: Portuguese",
        "Topic :: Text Processing",
        "Topic :: Text Processing :: Filters",
        "Topic :: Utilities",
        # Pick your license as you wish (should match "license" above)
        "License :: OSI Approved :: MIT License",
        # Specify the Python versions you support here. In particular, ensure
        # that you indicate whether you support Python 2, Python 3 or both.
        "Programming Language :: Python :: 3.6",
    ],
    # What does your project relate to?
    keywords="NLP",
    # test_suite="nose.collector",
    # tests_require=["nose"],
)