diff options
| author | Steve Piercy <web@stevepiercy.com> | 2016-04-10 02:27:06 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2016-04-10 02:27:06 -0700 |
| commit | f22be11b2781750ae9ab4885c4e94ca33c048bb5 (patch) | |
| tree | 78ee3a0cd41b3d72d451a13f7777d673e95d90c3 /docs/tutorials/wiki/src/tests/setup.py | |
| parent | 3bcf6edfbc1158c1e4185c62db6914ae0e0c7665 (diff) | |
| parent | 63dcf93491fc9f5a7361d82240111446af0ca7ee (diff) | |
| download | pyramid-f22be11b2781750ae9ab4885c4e94ca33c048bb5.tar.gz pyramid-f22be11b2781750ae9ab4885c4e94ca33c048bb5.tar.bz2 pyramid-f22be11b2781750ae9ab4885c4e94ca33c048bb5.zip | |
Merge pull request #2462 from stevepiercy/docs/easy-install-to-pip.2104
- update wiki tests step and its src files
Diffstat (limited to 'docs/tutorials/wiki/src/tests/setup.py')
| -rw-r--r-- | docs/tutorials/wiki/src/tests/setup.py | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/docs/tutorials/wiki/src/tests/setup.py b/docs/tutorials/wiki/src/tests/setup.py index b67b702cf..b8ae1fa3f 100644 --- a/docs/tutorials/wiki/src/tests/setup.py +++ b/docs/tutorials/wiki/src/tests/setup.py @@ -18,7 +18,12 @@ requires = [ 'ZODB3', 'waitress', 'docutils', - 'WebTest', # add this + ] + +testing_extras = [ + 'WebTest >= 1.3.1', # py3 compat + 'pytest', # includes virtualenv + 'pytest-cov', ] setup(name='tutorial', @@ -26,11 +31,11 @@ setup(name='tutorial', 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='', @@ -38,9 +43,10 @@ setup(name='tutorial', packages=find_packages(), include_package_data=True, zip_safe=False, + extras_require={ + 'testing': testing_extras, + }, install_requires=requires, - tests_require=requires, - test_suite="tutorial", entry_points="""\ [paste.app_factory] main = tutorial:main |
