diff options
| author | Michael Merickel <michael@merickel.org> | 2016-12-25 20:05:12 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-25 20:05:12 -0600 |
| commit | 8be808150a6df96b5815aa3885c0f62540d82e27 (patch) | |
| tree | 33821f59b97d4fecce31d6b291ef8368a111c5cf /docs/quick_tour/package/setup.py | |
| parent | 6c3f4f8d0598cb62e37aa278e9c2c3e4194f8831 (diff) | |
| parent | a0ad6ffc14ef8dfde70e487fb057433ff942b001 (diff) | |
| download | pyramid-8be808150a6df96b5815aa3885c0f62540d82e27.tar.gz pyramid-8be808150a6df96b5815aa3885c0f62540d82e27.tar.bz2 pyramid-8be808150a6df96b5815aa3885c0f62540d82e27.zip | |
Merge pull request #2888 from stevepiercy/docs-cookiecutter-changes-only
docs cookiecutter changes only - Quick Tour
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', + ], + }, +) |
