Fix 'buildout.cfg' modification code
[zope-bootstrap.git] / skel-zope3 / setup.py
1 from setuptools import setup, find_packages
2
3 setup(name='appmain',
4
5       # Fill in project info below
6       version='0.1',
7       description="",
8       long_description="",
9       keywords='',
10       author='',
11       author_email='',
12       url='',
13       license='',
14       # Get more from http://www.python.org/pypi?%3Aaction=list_classifiers
15       classifiers=['Programming Language :: Python',
16                    'Environment :: Web Environment',
17                    'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
18                    'Framework :: Zope3',
19                    ],
20
21       packages=find_packages('src'),
22       package_dir = {'': 'src'},
23       include_package_data=True,
24       zip_safe=False,
25       install_requires=['setuptools',
26                         'ZODB3',
27                         'ZConfig',
28                         'zdaemon',
29                         'zope.publisher',
30                         'zope.traversing',
31                         'zope.app.wsgi>=3.4.0',
32                         'zope.app.appsetup',
33                         'zope.app.zcmlfiles',
34                         # The following packages aren't needed from the
35                         # beginning, but end up being used in most apps
36                         'zope.annotation',
37                         'zope.copypastemove',
38                         'zope.formlib',
39                         'zope.i18n',
40                         'zope.app.authentication',
41                         'zope.app.session',
42                         'zope.app.intid',
43                         'zope.app.keyreference',
44                         'zope.app.catalog',
45                         # The following packages are needed for functional
46                         # tests only
47                         'zope.testing',
48                         'zope.app.testing',
49                         'zope.app.securitypolicy',
50                         ],
51       entry_points = """
52       [console_scripts]
53       appmain-debug = appmain.startup:interactive_debug_prompt
54       appmain-ctl = appmain.startup:zdaemon_controller
55       [paste.app_factory]
56       main = appmain.startup:application_factory
57       """
58       )