Add --upgrade option to pip
This commit is contained in:
parent
bdbac0b78f
commit
08bcf61fb2
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user