-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·85 lines (79 loc) · 2.38 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
# Copyright 2017 NextThought
# Copyright 2022-2024 Jason Madden
# Released under the terms of the LICENSE file.
import codecs
from setuptools import setup, find_packages
version = '4.1.1.dev0'
entry_points = {
}
TESTS_REQUIRE = [
'Acquisition',
'zope.site',
'zope.testrunner',
'testgres >= 1.10',
'psycopg2-binary; python_implementation != "PyPy"',
]
def _read(fname):
with codecs.open(fname, encoding='utf-8') as f:
return f.read()
setup(
name='nti.testing',
version=version,
author='Jason Madden',
author_email='jason@nextthought.com',
description="Support for testing code",
long_description=_read('README.rst') + '\n\n' + _read('CHANGES.rst'),
license='Apache',
keywords='nose2 testing zope3 ZTK hamcrest',
url='https://github.com/OpenNTI/nti.testing',
project_urls={
'Documentation': 'https://ntitesting.readthedocs.io/en/latest/',
},
classifiers=[
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Testing',
'Framework :: Zope3',
],
zip_safe=True,
packages=find_packages('src'),
package_dir={'': 'src'},
namespace_packages=['nti'],
install_requires=[
'ZODB >= 5.6.0',
# Error messages changed in 5.1, reprs changed <= 5.4
'zope.interface >= 5.4.0',
'pyhamcrest',
'six',
'setuptools',
'transaction',
'zope.component',
'zope.configuration',
'zope.dottedname',
'zope.exceptions',
'zope.schema', # schema validation
'zope.testing',
],
entry_points=entry_points,
include_package_data=True,
extras_require={
'test': TESTS_REQUIRE,
'docs': [
'Sphinx',
'furo',
],
'testgres': [
'testgres >= 1.10',
'psycopg2-binary; python_implementation != "PyPy"',
],
},
python_requires=">=3.10",
)