/
setup.py
89 lines (81 loc) · 2.35 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
82
83
84
85
86
87
88
89
import os
from setuptools import setup, find_packages
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
long_description = (
read('README.txt')
+ '\n' +
read('CHANGES.txt')
)
install_requires = [
'grokcore.component >= 2.5',
'grokcore.security',
'martian >= 0.13',
'setuptools',
'six',
'zope.browserpage',
'zope.browserresource >= 3.9.0',
'zope.component',
'zope.contentprovider',
'zope.interface',
'zope.pagetemplate',
'zope.ptresource >= 3.9.0',
'zope.publisher',
'zope.security',
'zope.traversing',
]
tests_require = [
'zope.app.appsetup',
'zope.app.publication',
'zope.app.wsgi[test]',
'zope.configuration',
'zope.container',
'zope.login',
'zope.password',
'zope.principalregistry',
'zope.securitypolicy',
'zope.site',
'zope.testbrowser',
'zope.testing',
]
publication_require = [
'zope.app.publication'
]
setup(
name='grokcore.view',
version='3.0.4.dev0',
author='Grok Team',
author_email='grok-dev@zope.org',
url='http://grok.zope.org',
download_url='http://pypi.python.org/pypi/grok/',
description='Grok-like configuration for Zope browser pages',
long_description=long_description,
license='ZPL',
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: Zope Public License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Framework :: Zope3',
],
packages=find_packages('src'),
package_dir={'': 'src'},
namespace_packages=['grokcore'],
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
tests_require=tests_require,
extras_require={
'test': tests_require,
'security_publication': publication_require
},
)