-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
69 lines (63 loc) · 2.18 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
import os
from setuptools import setup
from setuptools import find_packages
here = os.path.abspath(os.path.dirname(__file__))
try:
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
except OSError:
README = ''
try:
with open(os.path.join(here, 'CHANGES.rst')) as f:
CHANGES = f.read()
except OSError:
CHANGES = ''
requires = ['ZODB', 'ZConfig', 'ZEO']
tests_require = requires + ['mock']
testing_extras = tests_require + ['nose', 'coverage']
docs_extras = tests_require + [
'Sphinx >= 1.8.1',
'repoze.sphinx.autointerface',
'pylons-sphinx-themes >= 1.0.10',
]
setup(name='zodburi',
version='2.6.1dev0',
description=('Construct ZODB storage instances from URIs.'),
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"License :: Repoze Public License",
],
keywords='zodb zodbconn',
author="Chris Rossi",
author_email="[email protected]",
url="https://pylonsproject.org/",
license="BSD-derived (http://www.repoze.org/LICENSE.txt)",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
tests_require = tests_require,
install_requires = requires,
test_suite="zodburi",
entry_points="""\
[zodburi.resolvers]
zeo = zodburi.resolvers:client_storage_resolver
file = zodburi.resolvers:file_storage_resolver
zconfig = zodburi.resolvers:zconfig_resolver
memory = zodburi.resolvers:mapping_storage_resolver
demo = zodburi.resolvers:demo_storage_resolver
""",
extras_require = {
'testing': testing_extras,
'docs': docs_extras,
},
)