From 4c2bc4667375e06f4feefadd9b66d5e5cd90afcc Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Wed, 6 Feb 2013 21:36:59 +0100 Subject: [PATCH] added nose to checkdependencies script --- scripts/check_dependencies.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/check_dependencies.py b/scripts/check_dependencies.py index be15414b4..4b56acb63 100755 --- a/scripts/check_dependencies.py +++ b/scripts/check_dependencies.py @@ -40,6 +40,12 @@ import os import sys from distutils.version import LooseVersion +# If we import uno before nose this will greate a warning. Just try to import nose first to supress the warning. +try: + import nose +except ImportError: + pass + is_win = sys.platform.startswith('win') VERS = { @@ -85,6 +91,7 @@ OPTIONAL_MODULES = [ ('MySQLdb', ' (MySQL support)'), ('psycopg2', ' (PostgreSQL support)'), ('pytest', ' (testing framework)'), + ('nose', ' (testing framework)'), ] w = sys.stdout.write