added nose to checkdependencies script

This commit is contained in:
Andreas Preikschat 2013-02-06 21:36:59 +01:00
parent fe74e66400
commit 4c2bc46673
1 changed files with 7 additions and 0 deletions

View File

@ -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