summaryrefslogtreecommitdiff
path: root/docs/quick_tour/package/setup.py
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2016-01-18 14:53:05 -0800
committerSteve Piercy <web@stevepiercy.com>2016-01-18 14:53:05 -0800
commit5cf8c3677454303bf4e1acecf4c16809edde2a75 (patch)
tree1a2d94d9e808f032cb08fec6b2c78f1be299b051 /docs/quick_tour/package/setup.py
parent1a75e54d8619eb54760276307f28b6d91ae157b5 (diff)
downloadpyramid-5cf8c3677454303bf4e1acecf4c16809edde2a75.tar.gz
pyramid-5cf8c3677454303bf4e1acecf4c16809edde2a75.tar.bz2
pyramid-5cf8c3677454303bf4e1acecf4c16809edde2a75.zip
overhaul quick_tour from Quick project startup with scaffolds to Sessions with updated pyramid_jinja2 scaffold
Diffstat (limited to 'docs/quick_tour/package/setup.py')
-rw-r--r--docs/quick_tour/package/setup.py27
1 files changed, 15 insertions, 12 deletions
diff --git a/docs/quick_tour/package/setup.py b/docs/quick_tour/package/setup.py
index f118ed5fb..61ed3c406 100644
--- a/docs/quick_tour/package/setup.py
+++ b/docs/quick_tour/package/setup.py
@@ -3,12 +3,17 @@ import os
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()
+with open(os.path.join(here, 'README.txt')) as f:
+ README = f.read()
+with open(os.path.join(here, 'CHANGES.txt')) as f:
+ CHANGES = f.read()
-# Start Requires
-requires = ['pyramid>=1.0.2', 'pyramid_jinja2', 'pyramid_debugtoolbar']
-# End Requires
+requires = [
+ 'pyramid',
+ 'pyramid_jinja2',
+ 'pyramid_debugtoolbar',
+ 'waitress',
+]
setup(name='hello_world',
version='0.0',
@@ -16,7 +21,7 @@ setup(name='hello_world',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
- "Framework :: Pylons",
+ "Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
@@ -28,14 +33,12 @@ setup(name='hello_world',
include_package_data=True,
zip_safe=False,
install_requires=requires,
- tests_require=requires,
+ tests_require={
+ 'testing': ['nose', 'coverage'],
+ },
test_suite="hello_world",
entry_points="""\
[paste.app_factory]
main = hello_world:main
""",
- paster_plugins=['pyramid'],
- extras_require={
- 'testing': ['nose', ],
- }
-) \ No newline at end of file
+ )