-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
81 lines (75 loc) · 2.16 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
76
77
78
79
80
81
###############################################################################
#
# Copyright 2013 by Shoobx, Inc.
#
###############################################################################
import os
import sys
from setuptools import setup, find_packages
PY3 = sys.version_info.major >= 3
INSTALL_REQUIRES = [
'setuptools',
'zope.schema',
'zope.component',
'zope.lifecycleevent',
'iso8601',
]
if not PY3:
INSTALL_REQUIRES += [
'configparser'
]
def read_file(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name="z3c.insist",
version='1.5.8.dev0',
author="Shoobx, Inc.",
author_email="[email protected]",
description="Persistence to ini Files",
long_description=
read_file('README.rst') +
'\n\n' +
read_file('CHANGES.rst'),
keywords="configuration dump serialization",
url='http://pypi.python.org/pypi/z3c.insist',
license='ZPL 2.1',
classifiers=[
'License :: OSI Approved :: Zope Public License',
'Development Status :: 2 - Pre-Alpha',
'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',
'Natural Language :: English',
'Operating System :: OS Independent',
],
packages=find_packages('src'),
package_dir={'': 'src'},
namespace_packages=['z3c', ],
include_package_data=True,
zip_safe=False,
extras_require=dict(
test=[
'zope.testing',
'coverage',
'python-subunit',
'junitxml',
'mock',
'pytz',
],
enforce=[
'watchdog>=3.0.0, <4.0.0',
],
),
install_requires=INSTALL_REQUIRES,
entry_points={
'console_scripts': [
'perftest = z3c.insist.perftest:main',
'enftest = z3c.insist.enftest:main',
],
}
)