0
|
1 try:
|
|
2 from setuptools import setup, find_packages
|
|
3 except ImportError:
|
|
4 from ez_setup import use_setuptools
|
|
5 use_setuptools()
|
|
6 from setuptools import setup, find_packages
|
|
7
|
|
8 setup(
|
|
9 name = 'pylons_app',
|
|
10 version = '1.0',
|
|
11 description = '',
|
|
12 author = 'marcin kuzminski',
|
|
13 author_email = 'marcin@python-blog.com',
|
|
14 url = '',
|
|
15 install_requires = [
|
|
16 "Pylons>=0.9.7,<=0.9.7.99",
|
|
17 "SQLAlchemy>=0.5,<=0.5.99",
|
|
18 "Mako>=0.2.2,<=0.2.99",
|
|
19 ],
|
|
20 setup_requires = ["PasteScript>=1.6.3"],
|
|
21 packages = find_packages(exclude = ['ez_setup']),
|
|
22 include_package_data = True,
|
|
23 test_suite = 'nose.collector',
|
|
24 package_data = {'pylons_app': ['i18n/*/LC_MESSAGES/*.mo']},
|
|
25 message_extractors = {'pylons_app': [
|
|
26 ('**.py', 'python', None),
|
|
27 ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}),
|
|
28 ('public/**', 'ignore', None)]},
|
|
29 zip_safe = False,
|
|
30 paster_plugins = ['PasteScript', 'Pylons'],
|
|
31 entry_points = """
|
|
32 [paste.app_factory]
|
|
33 main = pylons_app.config.middleware:make_app
|
|
34
|
|
35 [paste.app_install]
|
|
36 main = pylons.util:PylonsInstaller
|
|
37 """,
|
|
38 )
|