-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
81 lines (74 loc) · 2.12 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
# -*- coding: utf-8 -*-
"""Setup for ps.zope.i18nfield package."""
from setuptools import (
find_packages,
setup,
)
import sys
version = '0.9.dev0'
description = 'A zope.schema field for inline translations.'
long_description = ('\n'.join([
open('README.rst').read(),
'Contributors',
'------------\n',
open('CONTRIBUTORS.rst').read(),
open('CHANGES.rst').read(),
]))
install_requires = [
'setuptools',
# -*- Extra requirements: -*-
'ZODB3',
'zope.globalrequest',
'zope.i18n',
'zope.interface',
'zope.schema',
]
test_requires = [
'z3c.form [test]',
'z3c.indexer',
'zope.browserpage',
'zope.publisher',
'zope.testing',
'zope.traversing',
]
if sys.version_info[:3] < (2, 7, 0):
test_requires.append('unittest2')
setup(
name='ps.zope.i18nfield',
version=version,
description=description,
long_description=long_description,
# Get more strings from
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Zope3",
"Intended Audience :: Other Audience",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Zope",
],
keywords='zope zope3 schema i18n z3c.form',
author='Propertyshelf, Inc.',
author_email='[email protected]',
url='https://github.com/propertyshelf/ps.zope.i18nfield',
download_url='http://pypi.python.org/pypi/ps.zope.i18nfield',
license='GPL',
packages=find_packages('src', exclude=['ez_setup']),
package_dir={'': 'src'},
namespace_packages=['ps', 'ps.zope'],
include_package_data=True,
zip_safe=False,
extras_require=dict(
test=test_requires,
),
install_requires=install_requires,
entry_points="""
# -*- Entry points: -*-
""",
)