More diagnostics

This commit is contained in:
vitaut 2015-10-15 07:08:26 -07:00
parent e854c7d47e
commit a5b296a484

View File

@ -27,6 +27,7 @@ def build_docs():
execfile(activate_this_file, dict(__file__=activate_this_file)) execfile(activate_this_file, dict(__file__=activate_this_file))
# Upgrade pip because installation of sphinx with pip 1.1 available on Travis # Upgrade pip because installation of sphinx with pip 1.1 available on Travis
# is broken (see #207) and it doesn't support the show command. # is broken (see #207) and it doesn't support the show command.
print('pip version: {} {}'.format(pip.__version__, LooseVersion(pip.__version__) < LooseVersion('1.5.4')))
if LooseVersion(pip.__version__) < LooseVersion('1.5.4'): if LooseVersion(pip.__version__) < LooseVersion('1.5.4'):
print("Updating pip") print("Updating pip")
check_call(['pip', 'install', '--upgrade', 'pip==1.5.4']) check_call(['pip', 'install', '--upgrade', 'pip==1.5.4'])