From a3744b3dbf6b527a785944adb1f921157dd1c040 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 16 Mar 2012 23:58:32 -0400 Subject: add a dev alias for develop-and-install-testing-dependencies and depend on nose and coverage in setup.py --- setup.cfg | 3 +++ setup.py | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) 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 = """\ -- cgit v1.2.3