diff options
| author | Steve Piercy <web@stevepiercy.com> | 2016-12-25 02:17:19 -0800 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2016-12-25 02:17:19 -0800 |
| commit | 54d9ddcd335d45662ca2ec2839574085318e8704 (patch) | |
| tree | c037abd5eb3d2f4c849b975c641e8575c01bd650 /docs/quick_tour/package/setup.py | |
| parent | 2cd1eab15a3777cbc81c2d365f21a98c29c9ed86 (diff) | |
| download | pyramid-54d9ddcd335d45662ca2ec2839574085318e8704.tar.gz pyramid-54d9ddcd335d45662ca2ec2839574085318e8704.tar.bz2 pyramid-54d9ddcd335d45662ca2ec2839574085318e8704.zip | |
quick_tour - Configuration with ``.ini`` files section cookiecutter updates
- src files
- update numbered list for new listen configuration for waitress
- fix reference to app, not server
- reorder numbered list to align with configuration order
Diffstat (limited to 'docs/quick_tour/package/setup.py')
| -rw-r--r-- | docs/quick_tour/package/setup.py | 61 |
1 files changed, 34 insertions, 27 deletions
diff --git a/docs/quick_tour/package/setup.py b/docs/quick_tour/package/setup.py index 61ed3c406..e32aecacd 100644 --- a/docs/quick_tour/package/setup.py +++ b/docs/quick_tour/package/setup.py @@ -15,30 +15,37 @@ requires = [ 'waitress', ] -setup(name='hello_world', - version='0.0', - description='hello_world', - long_description=README + '\n\n' + CHANGES, - classifiers=[ - "Programming Language :: Python", - "Framework :: Pyramid", - "Topic :: Internet :: WWW/HTTP", - "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", - ], - author='', - author_email='', - url='', - keywords='web pyramid pylons', - packages=find_packages(), - include_package_data=True, - zip_safe=False, - install_requires=requires, - tests_require={ - 'testing': ['nose', 'coverage'], - }, - test_suite="hello_world", - entry_points="""\ - [paste.app_factory] - main = hello_world:main - """, - ) +tests_require = [ + 'WebTest >= 1.3.1', # py3 compat + 'pytest', + 'pytest-cov', +] + +setup( + name='hello_world', + version='0.0', + description='hello_world', + long_description=README + '\n\n' + CHANGES, + classifiers=[ + 'Programming Language :: Python', + 'Framework :: Pyramid', + 'Topic :: Internet :: WWW/HTTP', + 'Topic :: Internet :: WWW/HTTP :: WSGI :: Application', + ], + author='', + author_email='', + url='', + keywords='web pyramid pylons', + packages=find_packages(), + include_package_data=True, + zip_safe=False, + extras_require={ + 'testing': tests_require, + }, + install_requires=requires, + entry_points={ + 'paste.app_factory': [ + 'main = hello_world:main', + ], + }, +) |
