summaryrefslogtreecommitdiff
path: root/Qwen2.5-Eval/evaluation/latex2sympy/setup.py
diff options
context:
space:
mode:
authorzitian-gao <zitian.gao@outlook.com>2025-05-27 16:45:31 +0800
committerzitian-gao <zitian.gao@outlook.com>2025-05-27 16:45:31 +0800
commit7c792461c8e4e4f1f8734fed143630c74e76b27f (patch)
treecf6341ff9f2727424751da7a11a3bea6c39015bb /Qwen2.5-Eval/evaluation/latex2sympy/setup.py
parent16815c8c5ec263c4bd1a0af60030c1c0efa1421e (diff)
init eval
Diffstat (limited to 'Qwen2.5-Eval/evaluation/latex2sympy/setup.py')
-rwxr-xr-xQwen2.5-Eval/evaluation/latex2sympy/setup.py45
1 files changed, 45 insertions, 0 deletions
diff --git a/Qwen2.5-Eval/evaluation/latex2sympy/setup.py b/Qwen2.5-Eval/evaluation/latex2sympy/setup.py
new file mode 100755
index 0000000..2df9dd2
--- /dev/null
+++ b/Qwen2.5-Eval/evaluation/latex2sympy/setup.py
@@ -0,0 +1,45 @@
+from setuptools import setup, find_packages
+from codecs import open
+from os import path
+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'
+ ],
+)