view setup.py @ 10:525ed90e4577

major app speedup moved the wsgi creation to app globals, in order to make it run only once. little config changes.
author Marcin Kuzminski
date Sat, 20 Feb 2010 14:30:13 +0100
parents 564e40829f80
children 20dc7a5eb748
line wrap: on
line source

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 = 'pylons_app',
    version = '1.0',
    description = '',
    author = 'marcin kuzminski',
    author_email = 'marcin@python-blog.com',
    url = '',
    install_requires = [
        "Pylons>=0.9.7,<=0.9.7.99",
        "SQLAlchemy>=0.5,<=0.5.99",
        "Mako>=0.2.2,<=0.2.99",
    ],
    setup_requires = ["PasteScript>=1.6.3"],
    packages = find_packages(exclude = ['ez_setup']),
    include_package_data = True,
    test_suite = 'nose.collector',
    package_data = {'pylons_app': ['i18n/*/LC_MESSAGES/*.mo']},
    message_extractors = {'pylons_app': [
            ('**.py', 'python', None),
            ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}),
            ('public/**', 'ignore', None)]},
    zip_safe = False,
    paster_plugins = ['PasteScript', 'Pylons'],
    entry_points = """
    [paste.app_factory]
    main = pylons_app.config.middleware:make_app

    [paste.app_install]
    main = pylons.util:PylonsInstaller
    """,
)