-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
42 lines (35 loc) · 1.42 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
# zodbtools | pythonic package setup
from setuptools import setup, find_packages
# read file content
def readfile(path):
with open(path, 'r') as f:
return f.read()
setup(
name = 'zodbtools',
version = '0.0.0.dev9',
description = 'ZODB-related utilities',
long_description = '%s\n----\n\n%s' % (
readfile('README.rst'), readfile('CHANGELOG.rst')),
url = 'https://lab.nexedi.com/nexedi/zodbtools',
license = 'GPLv3+ with wide exception for Open-Source; ZPL 2.1',
author = 'Nexedi + Zope Foundation + Community',
author_email= 'kirr@nexedi.com',
keywords = 'zodb utility tool',
packages = find_packages(),
install_requires = ['ZODB', 'zodbpickle', 'zodburi', 'zope.interface', 'pygolang >= 0.0.0.dev6', 'six', 'dateparser'],
extras_require = {
'test': ['pytest', 'freezegun', 'pytz', 'mock;python_version<="2.7"', 'random2', 'ZEO[test]'],
},
entry_points= {'console_scripts': ['zodb = zodbtools.zodb:main']},
# FIXME restore py3 support
classifiers = [_.strip() for _ in """\
Development Status :: 3 - Alpha
Intended Audience :: Developers
Operating System :: POSIX :: Linux
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Topic :: Database
Topic :: Utilities
Framework :: ZODB\
""".splitlines()]
)