mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 03:17:53 +00:00
Check if pip is updated
This commit is contained in:
parent
e61f4d2bf6
commit
e854c7d47e
@ -28,6 +28,7 @@ def build_docs():
|
||||
# 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.
|
||||
if LooseVersion(pip.__version__) < LooseVersion('1.5.4'):
|
||||
print("Updating pip")
|
||||
check_call(['pip', 'install', '--upgrade', 'pip==1.5.4'])
|
||||
# Install Sphinx and Breathe.
|
||||
pip_install('sphinx-doc/sphinx',
|
||||
|
Loading…
Reference in New Issue
Block a user