-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
57 lines (50 loc) · 1.45 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
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
version = '1.0-crom'
install_requires = [
'crom',
'setuptools',
'transaction',
'zope.interface',
'zope.cachedescriptors',
'zope.location',
'ZODB',
'BTrees',
'persistent',
]
tests_require = [
'pytest',
'WebTest',
]
setup(name='cromlech.zodb',
version=version,
description="Cromlech Web Framework utility methods and components " +
"for application using the ZODB",
long_description=open("README.txt").read() + "\n" +
open(os.path.join("src", 'cromlech', 'zodb',
"tests", "test_base.txt")
).read() + "\n" +
open(os.path.join("docs", "HISTORY.txt")).read(),
classifiers=[
"Programming Language :: Python",
],
keywords='',
author='',
author_email='',
url='',
license='ZPL',
packages=find_packages('src', exclude=['ez_setup']),
package_dir={'': 'src'},
namespace_packages=['cromlech',],
include_package_data=True,
zip_safe=False,
tests_require = tests_require,
install_requires = install_requires,
extras_require = {'test': tests_require},
entry_points="""
# -*- Entry points: -*-
[paste.filter_app_factory]
zodb = cromlech.zodb.middleware:zodb_filter_middleware
""",
)