diff --git a/doc/build.py b/doc/build.py index c94344b9..412d407b 100755 --- a/doc/build.py +++ b/doc/build.py @@ -23,7 +23,7 @@ def pip_install(package, commit=None, **kwargs): raise CalledProcessError(p.returncode, cmd) package = 'git+git://github.com/{0}.git@{1}'.format(package, commit) print('Installing {}'.format(package)) - check_call(['pip', 'install', '-q', package]) + check_call(['pip', 'install', '--upgrade', '--quiet', package]) def build_docs(): # Create virtualenv.