diff options
| author | Steve Piercy <web@stevepiercy.com> | 2016-04-09 03:00:57 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2016-04-09 03:00:57 -0700 |
| commit | 56f68bcb557588e7d3b1a020e8a5a13344a8734c (patch) | |
| tree | 456a0f69ce85526fc85eddc9fec43517a0777a00 /docs/tutorials/wiki2/src/models/setup.py | |
| parent | 26367e6bc727c3e67dcf3cbe4d81395ace0c91da (diff) | |
| parent | 0be2e96b61606e2a702d3e4fedc612383b20eafd (diff) | |
| download | pyramid-56f68bcb557588e7d3b1a020e8a5a13344a8734c.tar.gz pyramid-56f68bcb557588e7d3b1a020e8a5a13344a8734c.tar.bz2 pyramid-56f68bcb557588e7d3b1a020e8a5a13344a8734c.zip | |
Merge pull request #2444 from stevepiercy/docs/easy-install-to-pip.2104
Docs/easy install to pip.2104
Diffstat (limited to 'docs/tutorials/wiki2/src/models/setup.py')
| -rw-r--r-- | docs/tutorials/wiki2/src/models/setup.py | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/docs/tutorials/wiki2/src/models/setup.py b/docs/tutorials/wiki2/src/models/setup.py index bdc9ceed7..9b73edb01 100644 --- a/docs/tutorials/wiki2/src/models/setup.py +++ b/docs/tutorials/wiki2/src/models/setup.py @@ -20,20 +20,22 @@ requires = [ 'waitress', ] -tests_require = [ - 'WebTest', -] +testing_extras = [ + 'WebTest >= 1.3.1', # py3 compat + 'pytest', # includes virtualenv + 'pytest-cov', + ] setup(name='tutorial', version='0.0', description='tutorial', long_description=README + '\n\n' + CHANGES, classifiers=[ - "Programming Language :: Python", - "Framework :: Pyramid", - "Topic :: Internet :: WWW/HTTP", - "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", - ], + "Programming Language :: Python", + "Framework :: Pyramid", + "Topic :: Internet :: WWW/HTTP", + "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", + ], author='', author_email='', url='', @@ -41,8 +43,9 @@ setup(name='tutorial', packages=find_packages(), include_package_data=True, zip_safe=False, - test_suite='tutorial', - tests_require=tests_require, + extras_require={ + 'testing': testing_extras, + }, install_requires=requires, entry_points="""\ [paste.app_factory] |
