This repository has been archived by the owner on May 13, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.py
65 lines (61 loc) · 1.73 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
"""Setup
"""
import os
from setuptools import setup, find_packages
def read(*rnames):
text = open(os.path.join(os.path.dirname(__file__), *rnames)).read()
return unicode(text, 'utf-8').encode('ascii', 'xmlcharrefreplace')
setup(
name='mongopersist',
version='0.9.0.dev12',
author="Stephan Richter",
author_email="[email protected]",
url='https://github.com/zopefoundation/mongopersist',
description="Mongo Persistence Backend",
long_description=(
read('src', 'mongopersist', 'README.txt')
+ '\n\n' +
read('CHANGES.txt')
),
license="ZPL 2.1",
keywords="mongo persistent ",
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Framework :: ZODB',
'License :: OSI Approved :: Zope Public License',
'Natural Language :: English',
'Operating System :: OS Independent'],
packages=find_packages('src'),
package_dir={'': 'src'},
extras_require = dict(
test=(
'zope.app.testing',
'zope.testing',
'ZODB3',
),
zope=(
'rwproperty',
'zope.container',
),
),
install_requires=[
'transaction >=1.1.0',
'repoze.lru',
'pymongo',
'setuptools',
'zope.dottedname',
'zope.interface',
'zope.schema',
'zope.exceptions >=3.7.1', # required for extract_stack
],
include_package_data=True,
zip_safe=False,
entry_points='''
[console_scripts]
profile = mongopersist.performance:main
''',
)