diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-05-27 23:01:11 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-05-27 23:01:11 +0000 |
| commit | 83dc23642c766caf10fed0c98984e60a6b08fc14 (patch) | |
| tree | 455e681dd39651c070fd447b551b17ae535910b4 /docs/tutorials/bfgwiki/src/models/setup.py | |
| parent | cca321bd168286583535f54673ae9b81e028c6f1 (diff) | |
| download | pyramid-83dc23642c766caf10fed0c98984e60a6b08fc14.tar.gz pyramid-83dc23642c766caf10fed0c98984e60a6b08fc14.tar.bz2 pyramid-83dc23642c766caf10fed0c98984e60a6b08fc14.zip | |
Add bfgwiki tutorial.
Diffstat (limited to 'docs/tutorials/bfgwiki/src/models/setup.py')
| -rw-r--r-- | docs/tutorials/bfgwiki/src/models/setup.py | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/docs/tutorials/bfgwiki/src/models/setup.py b/docs/tutorials/bfgwiki/src/models/setup.py new file mode 100644 index 000000000..b289ca8b0 --- /dev/null +++ b/docs/tutorials/bfgwiki/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 + """ + ) + |
