import os
from setuptools import find_packages
from distutils.core import setup
# Utility function to read the README file.

def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(
    name="textanalytics",
    version="1.1",
    author="Jonathan Dunn",
    author_email="jonathan.dunn@canterbury.ac.nz",
    description="Basic computational linguistics and natural language processing in Python",
    license="GNU GENERAL PUBLIC LICENSE v3",
    url="https://github.com/jonathandunn/text_analytics",
    keywords="text analytics, natural language processing, computational linguistics",
    packages=find_packages(exclude=["*.pyc", "__pycache__"]),
    package_data={'': ['text_analytics.*']},
    install_requires=["cytoolz",
                      "gensim>=4.0",
                      "numpy",
                      "pandas",
                      "scipy",
                      "scikit-learn>=0.24.0",
                      "tensorflow>=2.0",
                      "spacy>=3.0",
                      "wordcloud",
                      "matplotlib",
                      "seaborn",
                      "en_core_web_sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.0.0/en_core_web_sm-2.0.0.tar.gz",
                      "requests",
                      "stop-words",
                      "boto3",
                      "tqdm",
                      "c2xg>=1.0",
                      "corpus-similarity>=1.0",
                      "clean-text",
                      ],
    include_package_data=True,
    long_description=read('README.md'),
    long_description_content_type='text/markdown',
)
