-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·85 lines (80 loc) · 2.34 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
import codecs
from setuptools import setup, find_packages
version = '5.0.1.dev0'
entry_points = {
'console_scripts': [
],
}
TESTS_REQUIRE = [
'coverage',
'nti.testing',
'pylint',
'pyramid',
'zope.component',
'zope.testrunner',
'ZODB',
]
def _read(fname):
with codecs.open(fname, encoding='UTF-8') as f:
return f.read()
setup(
name='nti.transactions',
version=version,
author='Jason Madden',
author_email='[email protected]',
description="NTI Transactions Utility",
long_description=_read('README.rst') + _read('CHANGES.rst'),
license='Apache',
keywords='ZODB transaction',
url='https://github.com/OpenNTI/nti.transactions',
zip_safe=True,
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',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.8',
'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',
'Framework :: ZODB',
],
python_requires=">=3.8",
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
namespace_packages=['nti'],
tests_require=TESTS_REQUIRE,
install_requires=[
'six',
'perfmetrics',
'setuptools',
'transaction >= 3.0.0',
'zope.cachedescriptors',
'zope.exceptions',
'zope.interface',
'zope.event',
],
extras_require={
'test': TESTS_REQUIRE,
'gevent': ['gevent',],
'docs': [
'Sphinx',
'repoze.sphinx.autointerface',
'pyhamcrest',
'furo; python_version >= "3.6"',
'sphinx_rtd_theme; python_version < "3.6"',
],
'pyramid': [
'pyramid >= 1.2',
],
},
entry_points=entry_points
)