from codecs import open
from os import path

from setuptools import find_packages, setup

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


setup(
    name="latex2sympy2",
    version="1.9.0",
    description="Convert latex to sympy with ANTLR and support Matrix, Linear Algebra and CAS functions.",
    long_description_content_type="text/markdown",
    long_description=open(path.join(here, "README.md"), encoding="utf-8").read(),
    # The project's main homepage.
    url="https://github.com/ZubinGou/latex2sympy",
    # Author details
    author="ZubinGou",
    author_email="zebgou@gmail.com",
    # Choose your license
    license="MIT",
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "Intended Audience :: Education",
        "Intended Audience :: Science/Research",
        "License :: OSI Approved :: MIT License",
        "Topic :: Education",
        "Topic :: Scientific/Engineering :: Mathematics",
        "Topic :: Software Development :: Compilers",
        "Topic :: Text Processing :: Markup :: LaTeX",
        "Topic :: Text Processing :: Markup :: Markdown",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
    ],
    packages=find_packages(exclude=("tests")),
    py_modules=["asciimath_printer", "latex2sympy2"],
    install_requires=["sympy>=1.4", "antlr4-python3-runtime==4.11.1"],
)
