-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·76 lines (71 loc) · 2.4 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
import codecs
from setuptools import setup
from setuptools import find_namespace_packages
TESTS_REQUIRE = [
'nti.testing >= 3.0.0',
'pyhamcrest',
'z3c.baseregistry',
'zope.testrunner',
'coverage',
'zope.testing',
]
def _read(fname):
with codecs.open(fname, encoding='utf-8') as f:
return f.read()
setup(
name='nti.site',
version=_read('version.txt').strip(),
author='Jason Madden',
author_email='[email protected]',
description="Opinionated ZODB persistent site implementations",
long_description=_read('README.rst'),
url="https://github.com/OpenNTI/nti.site",
license='Apache',
keywords='Site management',
classifiers=[
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3',
'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',
],
zip_safe=True,
packages=find_namespace_packages(where='src'),
package_dir={'': 'src'},
include_package_data=True,
install_requires=[
'BTrees >= 4.3.2', # permissive get()
# test dependencies have this at >= 5.6.0; for consistency,
# do the same in regular deps.
'ZODB >= 5.6.0',
'nti.schema',
'nti.transactions >= 4.0.0', # nti.transactions.loop
'persistent',
'six',
'transaction >= 2.4.0', # for looser text/byte handling
'zope.component >= 5.0.0',
'zope.container',
'zope.interface >= 5.3.0a1', # Customizable AdapterRegistry data
'zope.location',
'zope.proxy',
'zope.site >= 4.4.0', # Proper site cleanup.
'zope.traversing',
],
extras_require={
'test': TESTS_REQUIRE,
'docs': [
'Sphinx',
'repoze.sphinx.autointerface',
'sphinx_rtd_theme',
] + TESTS_REQUIRE # To be able to import nti.site.testing
},
python_requires=">=3.10",
)