-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
83 lines (78 loc) · 2.52 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
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open("README.rst") as f:
README = f.read()
with open("CHANGES.rst") as f:
CHANGES = f.read()
tests_require = [
'docutils',
'manuel',
'zope.exceptions',
'zope.testrunner',
]
setup(
name="ZConfig",
version='4.3.dev0',
author="Fred L. Drake, Jr.",
author_email="[email protected]",
maintainer="Zope Foundation and Contributors",
description="Structured Configuration Library",
keywords=('configuration structured simple flexible typed hierarchy'
' logging'),
long_description=README + "\n\n" + CHANGES,
license="ZPL 2.1",
url="https://github.com/zopefoundation/ZConfig/",
# List packages explicitly so we don't have to assume setuptools:
packages=[
"ZConfig",
"ZConfig.components",
"ZConfig.components.basic",
"ZConfig.components.basic.tests",
"ZConfig.components.logger",
"ZConfig.components.logger.tests",
"ZConfig.tests",
"ZConfig.tests.library",
"ZConfig.tests.library.thing",
"ZConfig.tests.library.widget",
],
package_dir={'': 'src'},
entry_points={
'console_scripts': [
'zconfig = ZConfig.validator:main',
'zconfig_schema2html = ZConfig.schema2html:main',
],
'pygments.lexers': [
'zconfig = ZConfig.pygments:ZConfigLexer',
],
},
include_package_data=True,
zip_safe=False,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Zope Public License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Operating System :: OS Independent',
'Topic :: Software Development',
],
python_requires='>=3.9',
extras_require={
'test': tests_require,
'docs': [
'sphinx-rtd-theme',
'sphinxcontrib-programoutput',
],
},
)