Skip to content

Commit

Permalink
- update setup.py to use pytest and pytest-cov
Browse files Browse the repository at this point in the history
- remove unnecessary tests stuff
- see Pylons#2474
  • Loading branch information
stevepiercy committed Apr 13, 2016
1 parent 3021c2e commit 23f5149
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@
'sphinxcontrib-programoutput',
]

testing_extras = tests_require + [
'nose',
'coverage',
'virtualenv', # for scaffolding tests
tests_require = [
'WebTest >= 1.3.1', # py3 compat
'pytest', # includes virtualenv
'pytest-cov',
]

setup(name='pyramid',
Expand Down Expand Up @@ -101,11 +101,9 @@
zip_safe=False,
install_requires=install_requires,
extras_require={
'testing': testing_extras,
'testing': tests_require,
'docs': docs_extras,
},
tests_require=tests_require,
test_suite="pyramid.tests",
entry_points="""\
[pyramid.scaffold]
starter=pyramid.scaffolds:StarterProjectTemplate
Expand Down

0 comments on commit 23f5149

Please sign in to comment.