summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2016-04-09 17:32:11 -0700
committerSteve Piercy <web@stevepiercy.com>2016-04-09 17:32:11 -0700
commitaa107f92343fdafa2ee625742b636e15ac30d01e (patch)
treeed64fd15497a2a0fcece8f906a98047f2b3d0cad
parentedcf8cc25db89ff849ed36dc53858bacf75f9fec (diff)
downloadpyramid-aa107f92343fdafa2ee625742b636e15ac30d01e.tar.gz
pyramid-aa107f92343fdafa2ee625742b636e15ac30d01e.tar.bz2
pyramid-aa107f92343fdafa2ee625742b636e15ac30d01e.zip
- use pytest, pip
-rw-r--r--pyramid/scaffolds/zodb/setup.py_tmpl21
1 files changed, 14 insertions, 7 deletions
diff --git a/pyramid/scaffolds/zodb/setup.py_tmpl b/pyramid/scaffolds/zodb/setup.py_tmpl
index 3a6032429..2f6824064 100644
--- a/pyramid/scaffolds/zodb/setup.py_tmpl
+++ b/pyramid/scaffolds/zodb/setup.py_tmpl
@@ -19,16 +19,22 @@ requires = [
'waitress',
]
+testing_extras = [
+ 'WebTest >= 1.3.1', # py3 compat
+ 'pytest', # includes virtualenv
+ 'pytest-cov',
+ ]
+
setup(name='{{project}}',
version='0.0',
description='{{project}}',
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='',
@@ -36,9 +42,10 @@ setup(name='{{project}}',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
+ extras_require={
+ 'testing': testing_extras,
+ },
install_requires=requires,
- tests_require=requires,
- test_suite="{{package}}",
entry_points="""\
[paste.app_factory]
main = {{package}}:main