forked from zopefoundation/zodbupdate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
75 lines (69 loc) · 2.49 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
70
71
72
73
74
75
##############################################################################
#
# Copyright (c) 2009 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
from setuptools import setup, find_packages
def read(x):
with open(x) as f:
return f.read()
tests_require = [
'persistent',
'zope.interface',
'relstorage',
]
setup(name='zodbupdate',
author='Zope Developers',
author_email='zodb-dev@zope.org',
url='https://github.com/zopefoundation/zodbupdate/',
license='ZPL 2.1',
description='Update ZODB class references for moved or renamed classes.',
classifiers=[
"Development Status :: 6 - Mature",
"Framework :: Zope :: 2",
"Framework :: Zope :: 3",
"Framework :: Zope :: 4",
"License :: OSI Approved :: Zope Public License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
],
long_description=(
read('README.rst')
+ '\n' +
read('CHANGES.rst')),
version='1.6.dev0',
keywords='zodb update upgrade migrate data pickle',
package_dir={'': 'src'},
packages=find_packages('src'),
include_package_data=True,
install_requires=[
'ZODB',
'setuptools',
'six',
'transaction',
'zodbpickle',
],
extras_require={'test': tests_require},
zip_safe=False,
entry_points={
"console_scripts": ['zodbupdate = zodbupdate.main:main']
},
test_suite="zodbupdate.tests.test_suite",
)