Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add a dev alias for develop-and-install-testing-dependencies and depe…

…nd on nose and coverage in setup.py
  • Loading branch information...
commit a3744b3dbf6b527a785944adb1f921157dd1c040 1 parent 911b400
@mcdonc mcdonc authored
Showing with 9 additions and 1 deletion.
  1. +3 −0  setup.cfg
  2. +6 −1 setup.py
View
3  setup.cfg
@@ -8,3 +8,6 @@ nocapture=1
cover-package=pyramid
cover-erase=1
+[aliases]
+dev = develop easy_install pyramid[testing]
+
View
7 setup.py
@@ -48,7 +48,9 @@
'PasteDeploy >= 1.5.0', # py3 compat
]
-tests_require = install_requires + [
+tests_require = [
+ 'nose',
+ 'coverage',
'WebTest >= 1.3.1', # py3 compat
'virtualenv',
]
@@ -89,6 +91,9 @@
include_package_data=True,
zip_safe=False,
install_requires = install_requires,
+ extras_require = {
+ 'testing':tests_require,
+ },
tests_require = tests_require,
test_suite="pyramid.tests",
entry_points = """\
Please sign in to comment.
Something went wrong with that request. Please try again.