forked from BjoernLudwigPTB/pyxml2pdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·46 lines (38 loc) · 1.44 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
"""Install pyxml2pdf in Python path."""
import os
from setuptools import find_packages, setup # type: ignore
current_release_version = "0.3.4"
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def readme():
"""Print long description"""
with open("README.md") as f:
return f.read()
setup(
name="pyxml2pdf",
version=current_release_version,
description="Transfer XML to well formatted PDF table.",
long_description=readme(),
long_description_content_type="text/markdown",
url="https://github.com/BjoernLudwigPTB/pyxml2pdf",
author=u"Björn Ludwig, Wojciech Kur",
author_email="bjoern.ludwig@ptb.de",
keywords="xml pdf conversion",
packages=find_packages(where="src"),
package_dir={"": "src"},
include_package_data=True,
documentation="pyxml2pdf.readthedocs.io",
install_requires=["defusedxml", "download", "reportlab", "pypdf2"],
python_requires=">=3.7",
classifiers=[
"Development Status :: 4 - Beta",
"Topic :: Utilities",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: GNU General Public License v3 (" "GPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
)