-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·68 lines (62 loc) · 1.85 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
import codecs
from setuptools import setup
from setuptools import find_namespace_packages
entry_points = {
'console_scripts': [
],
}
TESTS_REQUIRE = [
'nti.testing',
'pyhamcrest',
'zope.testrunner',
'coverage',
]
def _read(fname):
with codecs.open(fname, encoding='utf-8') as f:
return f.read()
setup(
name='nti.wref',
version=_read('version.txt').strip(),
author='Jason Madden',
author_email='jason@nextthought.com',
description="NTI Weak References",
long_description=(_read('README.rst') + '\n\n' + _read("CHANGES.rst")),
url="https://github.com/OpenNTI/nti.wref",
license='Apache',
keywords='Weak References',
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 :: Only',
'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,
tests_require=TESTS_REQUIRE,
install_requires=[
'persistent',
'zope.component',
'zope.interface',
],
extras_require={
'test': TESTS_REQUIRE,
'docs': [
'sphinx',
'sphinx_rtd_theme',
'repoze.sphinx.autointerface',
],
},
entry_points=entry_points,
test_suite="nti.wref.tests",
python_requires=">=3.10",
)