From 08bcf61fb210dc7023e1a4461b9150140b94fc1b Mon Sep 17 00:00:00 2001 From: vitaut Date: Wed, 14 Oct 2015 06:27:41 -0700 Subject: [PATCH] Add --upgrade option to pip --- doc/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.