diff options
| author | Tres Seaver <tseaver@palladion.com> | 2009-01-06 22:22:18 +0000 |
|---|---|---|
| committer | Tres Seaver <tseaver@palladion.com> | 2009-01-06 22:22:18 +0000 |
| commit | e61f3396cd622b2ddbaa568903d2bb07dc0f0bda (patch) | |
| tree | 17037444ce22a9c10c06587987bc106e3df1324e /repoze/bfg/paster_templates/zodb/setup.py_tmpl | |
| parent | 549f4d4b1096996201c2154a144f039432cc46b6 (diff) | |
| download | pyramid-e61f3396cd622b2ddbaa568903d2bb07dc0f0bda.tar.gz pyramid-e61f3396cd622b2ddbaa568903d2bb07dc0f0bda.tar.bz2 pyramid-e61f3396cd622b2ddbaa568903d2bb07dc0f0bda.zip | |
Renamed the existing BFG paster template to ``bfg_starter``.
Added another template showing default ZODB setup using ``repoze.zodbconn``.
Diffstat (limited to 'repoze/bfg/paster_templates/zodb/setup.py_tmpl')
| -rw-r--r-- | repoze/bfg/paster_templates/zodb/setup.py_tmpl | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/repoze/bfg/paster_templates/zodb/setup.py_tmpl b/repoze/bfg/paster_templates/zodb/setup.py_tmpl new file mode 100644 index 000000000..b4308c301 --- /dev/null +++ b/repoze/bfg/paster_templates/zodb/setup.py_tmpl @@ -0,0 +1,46 @@ +import os + +from ez_setup import use_setuptools +use_setuptools() + +from setuptools import setup, find_packages + +here = os.path.abspath(os.path.dirname(__file__)) +README = open(os.path.join(here, 'README.txt')).read() +CHANGES = open(os.path.join(here, 'CHANGES.txt')).read() + +setup(name='{{project}}', + version='0.1', + description='{{project}}', + long_description=README + '\n\n' + CHANGES, + classifiers=[ + "Development Status :: 3 - Alpha", + "Intended Audience :: Developers", + "Programming Language :: Python", + "Topic :: Internet :: WWW/HTTP", + "Topic :: Internet :: WWW/HTTP :: Dynamic Content", + "Topic :: Internet :: WWW/HTTP :: WSGI", + "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", + ], + author='', + author_email='', + url='', + keywords='web wsgi bfg zope', + packages=find_packages(), + include_package_data=True, + zip_safe=False, + install_requires=[ + 'repoze.bfg', + 'repoze.zodbconn', + 'ZODB3', + ], + tests_require=[ + 'repoze.bfg', + ], + test_suite="{{package}}", + entry_points = """\ + [paste.app_factory] + app = {{package}}.run:app + """ + ) + |
