-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
77 lines (69 loc) · 2.22 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
import os
from setuptools import find_packages
from setuptools import setup
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
long_description = (
read('README.rst') + '\n' +
read(os.path.join('src', 'grokcore', 'startup', 'README.rst')) + '\n' +
read('CHANGES.rst'))
tests_require = [
'zope.app.appsetup',
'zope.component',
'zope.interface',
'zope.security',
'zope.securitypolicy',
'zope.testing',
'zope.testrunner',
]
debug_requires = [
'IPython >= 8',
]
setup(
name='grokcore.startup',
version='4.2.dev0',
author='Grok Team',
author_email='[email protected]',
url='https://github.com/zopefoundation/grokcore.startup',
description='Paster support for Grok projects.',
long_description=long_description,
license='ZPL',
keywords='zope zope3 grok grokproject WSGI Paste paster',
classifiers=[
'Environment :: Web Environment',
'Framework :: Zope :: 3',
'Intended Audience :: Developers',
'License :: OSI Approved :: Zope Public License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: Implementation',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
packages=find_packages('src'),
package_dir={'': 'src'},
namespace_packages=['grokcore'],
include_package_data=True,
zip_safe=False,
python_requires='>=3.9',
install_requires=[
'setuptools',
'zope.app.debug',
'zope.app.wsgi',
'zope.component',
'zope.dottedname',
'zope.publisher',
],
extras_require=dict(test=tests_require, debug=debug_requires),
entry_points={
'paste.app_factory': [
'main = grokcore.startup:application_factory',
'debug = grokcore.startup:debug_application_factory',
]
},
)