source: cows/trunk/cows/pylons/project_templates/cows_server/setup.py_tmpl @ 4917

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/cows/trunk/cows/pylons/project_templates/cows_server/setup.py_tmpl@4917
Revision 4917, 922 bytes checked in by spascoe, 11 years ago (diff)

Created a Paste project template based on Dom's example server. This
was constructed by following the tutorial at
 http://pylonsbook.com/alpha1/simplesite_part_3 "Making SimpleSite? into a
Paste Project Template"

Line 
1try:
2    from setuptools import setup, find_packages
3except ImportError:
4    from ez_setup import use_setuptools
5    use_setuptools()
6    from setuptools import setup, find_packages
7
8setup(
9    name='{{egg}}',
10    version="",
11    #description='',
12    #author='',
13    #author_email='',
14    #url='',
15    find_links=['http://ndg.nerc.ac.uk/dist'],
16    install_requires=["Pylons>=0.9.6.1", 'csml'],
17    packages=find_packages(exclude=['ez_setup']),
18    include_package_data=True,
19    test_suite='nose.collector',
20    package_data={'{{package}}': ['i18n/*/LC_MESSAGES/*.mo']},
21    #message_extractors = {'{{package}}': [
22    #        ('**.py', 'python', None),
23    #        ('templates/**.mako', 'mako', None),
24    #        ('public/**', 'ignore', None)]},
25    entry_points="""
26    [paste.app_factory]
27    main = {{package}}.config.middleware:make_app
28
29    [paste.app_install]
30    main = pylons.util:PylonsInstaller
31    """,
32)
Note: See TracBrowser for help on using the repository browser.