/usr/share/paster_templates/pylons/minimal_project/setup.py_tmpl is in python-pylons 1.0.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='{{project}}',
version='{{version}}',
description={{repr(description)}},
author={{repr(author)}},
author_email={{repr(author_email)}},
url={{repr(url)}},
install_requires=[
"Pylons>=1.0.1rc1",
{{if sqlalchemy}}
"SQLAlchemy>=0.5",
{{endif}}
{{if template_engine == 'genshi'}}
"Genshi>=0.4",
{{elif template_engine == 'jinja2'}}
"Jinja2",
{{endif}}
],
setup_requires=["PasteScript>=1.6.3"],
packages=find_packages(exclude=['ez_setup']),
include_package_data=True,
test_suite='nose.collector',
package_data={'{{package}}': ['i18n/*/LC_MESSAGES/*.mo']},
#message_extractors={'{{package}}': [
# ('**.py', 'python', None),
# {{babel_templates_extractor}}('public/**', 'ignore', None)]},
zip_safe={{zip_safe}},
paster_plugins={{egg_plugins}},
entry_points="""
[paste.app_factory]
main = {{package}}.wsgiapp:make_app
[paste.app_install]
main = pylons.util:PylonsInstaller
""",
)
|