-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
60 lines (54 loc) · 1.97 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
import os
from setuptools import find_packages
from setuptools import setup
install_requires = ['transaction']
docs_extras = install_requires + ['Sphinx']
here = os.path.abspath(os.path.dirname(__file__))
def _read_file(filename):
try:
with open(os.path.join(here, filename)) as f:
return f.read()
except IOError: # Travis???
return ''
README = _read_file('README.rst')
CHANGES = _read_file('CHANGES.rst')
setup(name='repoze.tm2',
version='2.2.0',
description='Per-request transactions via WSGI middleware',
long_description=README + "\n\n" + CHANGES,
classifiers=[
"Development Status :: 5 - Production/Stable",
"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",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware",
],
keywords='web application server wsgi zope repoze',
author="Agendaless Consulting",
author_email="[email protected]",
url="http://www.repoze.org",
license="BSD-derived (http://www.repoze.org/LICENSE.txt)",
packages=find_packages(),
include_package_data=True,
namespace_packages=['repoze'],
zip_safe=False,
install_requires=install_requires,
tests_require=install_requires,
test_suite = "repoze.tm.tests",
entry_points="""
[paste.filter_app_factory]
tm = repoze.tm:make_tm
""",
extras_require = {
'docs': docs_extras,
}
)