added nose to checkdependencies script

This commit is contained in:
Andreas Preikschat 2013-02-06 21:36:59 +01:00
parent fe74e66400
commit 4c2bc46673

View File

@ -40,6 +40,12 @@ import os
import sys import sys
from distutils.version import LooseVersion 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') is_win = sys.platform.startswith('win')
VERS = { VERS = {
@ -85,6 +91,7 @@ OPTIONAL_MODULES = [
('MySQLdb', ' (MySQL support)'), ('MySQLdb', ' (MySQL support)'),
('psycopg2', ' (PostgreSQL support)'), ('psycopg2', ' (PostgreSQL support)'),
('pytest', ' (testing framework)'), ('pytest', ' (testing framework)'),
('nose', ' (testing framework)'),
] ]
w = sys.stdout.write w = sys.stdout.write