|
|
@@ -1,31 +0,0 @@
|
|
|
-from pdf2zh import __version__, __author__
|
|
|
-from setuptools import setup
|
|
|
-
|
|
|
-with open("README.md", encoding='utf-8') as f:
|
|
|
- readme = f.read()
|
|
|
-
|
|
|
-with open("requirements.txt", encoding='utf-8') as f:
|
|
|
- requirements = f.readlines()
|
|
|
-
|
|
|
-setup(
|
|
|
- name="pdf2zh",
|
|
|
- long_description=readme,
|
|
|
- long_description_content_type="text/markdown",
|
|
|
- description="Latex PDF Translator",
|
|
|
- license="AGPLv3",
|
|
|
- version=__version__,
|
|
|
- author=__author__,
|
|
|
- author_email="byaidux@gmail.com",
|
|
|
- url="https://github.com/Byaidu/PDFMathTranslate",
|
|
|
- packages=["pdf2zh"],
|
|
|
- install_requires=requirements,
|
|
|
- classifiers=[
|
|
|
- "Programming Language :: Python :: 3",
|
|
|
- "Operating System :: OS Independent",
|
|
|
- ],
|
|
|
- entry_points={
|
|
|
- 'console_scripts': [
|
|
|
- 'pdf2zh=pdf2zh.pdf2zh:main',
|
|
|
- ]
|
|
|
- },
|
|
|
-)
|