diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-05-31 22:47:14 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-05-31 22:47:14 +0000 |
| commit | b2e9bfae66a30b292bd76a287d16505a9b3ecce0 (patch) | |
| tree | 7e91ae9d02e71d6860b6220d748da7053d6cd5d8 /docs/tutorials/bfgwiki2/src/models/setup.py | |
| parent | f6067e641be451819af94db2ee085292372a7cb2 (diff) | |
| download | pyramid-b2e9bfae66a30b292bd76a287d16505a9b3ecce0.tar.gz pyramid-b2e9bfae66a30b292bd76a287d16505a9b3ecce0.tar.bz2 pyramid-b2e9bfae66a30b292bd76a287d16505a9b3ecce0.zip | |
Make a copy of the tutorial for Routes+SQLAlchemy.
Diffstat (limited to 'docs/tutorials/bfgwiki2/src/models/setup.py')
| -rw-r--r-- | docs/tutorials/bfgwiki2/src/models/setup.py | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/docs/tutorials/bfgwiki2/src/models/setup.py b/docs/tutorials/bfgwiki2/src/models/setup.py new file mode 100644 index 000000000..b289ca8b0 --- /dev/null +++ b/docs/tutorials/bfgwiki2/src/models/setup.py @@ -0,0 +1,48 @@ +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() + +requires = [ + 'repoze.bfg', + 'docutils', + 'ZODB3', + 'repoze.zodbconn', + 'repoze.tm', + ] + +setup(name='tutorial', + version='0.1', + description='tutorial', + 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=requires, + tests_require=requires, + test_suite="tutorial", + entry_points = """\ + [paste.app_factory] + app = tutorial.run:app + """ + ) + |
