summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-03-16 23:58:32 -0400
committerChris McDonough <chrism@plope.com>2012-03-16 23:58:32 -0400
commita3744b3dbf6b527a785944adb1f921157dd1c040 (patch)
tree234b57ba7da33684f6d49cfa1c60629ab0916ab5
parent911b400bb31f2e5ccb622fe9422c9e62991ceb79 (diff)
downloadpyramid-a3744b3dbf6b527a785944adb1f921157dd1c040.tar.gz
pyramid-a3744b3dbf6b527a785944adb1f921157dd1c040.tar.bz2
pyramid-a3744b3dbf6b527a785944adb1f921157dd1c040.zip
add a dev alias for develop-and-install-testing-dependencies and depend on nose and coverage in setup.py
-rw-r--r--setup.cfg3
-rw-r--r--setup.py7
2 files changed, 9 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
index e28494286..8aac0afd1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -8,3 +8,6 @@ nocapture=1
cover-package=pyramid
cover-erase=1
+[aliases]
+dev = develop easy_install pyramid[testing]
+
diff --git a/setup.py b/setup.py
index 93f426321..5282ee64f 100644
--- a/setup.py
+++ b/setup.py
@@ -48,7 +48,9 @@ install_requires=[
'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 @@ setup(name='pyramid',
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 = """\