-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
96 lines (81 loc) · 3.07 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
import collections
import io
import os
import re
from setuptools import find_packages
from setuptools import setup
install_requires = [
"lxml",
]
test_require = [
'PyTest ; python_version >= "3.6"',
'PyTest < 5 ; python_version < "3"',
'PyTest-Cov ; python_version >= "3.6"',
'PyTest-Cov < 2.6 ; python_version < "3"',
"xmldiff",
]
dev_require = [
"Tox",
"isort",
"check-manifest",
]
extras_require = {"test": test_require, "dev": dev_require}
def read(filename):
filename = os.path.join(os.path.dirname(__file__), filename)
with io.open(filename, mode="r", encoding="utf-8") as fd:
return re.sub(r":[a-z]+:`~?(.*?)`", u"``\\1``", fd.read())
setup(
name="Benker",
version="0.5.5",
author="Laurent LAPORTE",
author_email="[email protected]",
description="Easily convert your CALS, HTML, Formex4, Office Open XML (docx) tables from one format to another.",
long_description=read("README.rst"),
long_description_content_type="text/x-rst",
packages=find_packages(exclude=("tests",)),
include_package_data=True,
exclude_package_data={"benker": []},
zip_safe=True,
url="https://github.com/laurent-laporte-pro/benker",
project_urls=collections.OrderedDict(
(
("Documentation", "https://benker.readthedocs.io"),
("Source Code", "https://github.com/laurent-laporte-pro/benker"),
("Issue tracker", "https://github.com/laurent-laporte-pro/benker/issues"),
)
),
license="MIT",
platforms=["posix", "nt"],
keywords="Office, Word, Excel, PowerPoint, docx, xlsx, pptx, CALS, HTML, Formex, table, converter, conversion",
install_requires=install_requires,
extras_require=extras_require,
# complete classifier list: http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Text Processing",
"Topic :: Text Processing :: Markup",
"Topic :: Text Processing :: Markup :: HTML",
"Topic :: Text Processing :: Markup :: XML",
"Intended Audience :: Information Technology",
"Intended Audience :: Manufacturing",
"Topic :: Printing",
"Operating System :: MacOS",
"Operating System :: Microsoft",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: POSIX :: Other",
"Operating System :: Unix",
],
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
)