diff options
| author | Steve Piercy <web@stevepiercy.com> | 2016-04-10 00:43:18 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2016-04-10 00:43:18 -0700 |
| commit | b9fe3acdeb60a1797f3dfc6eb1e5189cbbee024d (patch) | |
| tree | 3aed25e507794a614dabcfe78565d87ae87f9fda /docs/tutorials/wiki/src/views/setup.py | |
| parent | 43edd55f205edaad1d7e9d5b5d7ff349b196b0cc (diff) | |
| parent | b8f5796f64100909ebe597a9534eb0ca30ed039b (diff) | |
| download | pyramid-b9fe3acdeb60a1797f3dfc6eb1e5189cbbee024d.tar.gz pyramid-b9fe3acdeb60a1797f3dfc6eb1e5189cbbee024d.tar.bz2 pyramid-b9fe3acdeb60a1797f3dfc6eb1e5189cbbee024d.zip | |
Merge pull request #2459 from stevepiercy/docs/easy-install-to-pip.2104
- update definingviews and its src files
Diffstat (limited to 'docs/tutorials/wiki/src/views/setup.py')
| -rw-r--r-- | docs/tutorials/wiki/src/views/setup.py | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/docs/tutorials/wiki/src/views/setup.py b/docs/tutorials/wiki/src/views/setup.py index e2e96379d..b8ae1fa3f 100644 --- a/docs/tutorials/wiki/src/views/setup.py +++ b/docs/tutorials/wiki/src/views/setup.py @@ -20,16 +20,22 @@ requires = [ 'docutils', ] +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='', @@ -37,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 |
