mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 21:16:56 +00:00
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)
|
raise CalledProcessError(p.returncode, cmd)
|
||||||
package = 'git+git://github.com/{0}.git@{1}'.format(package, commit)
|
package = 'git+git://github.com/{0}.git@{1}'.format(package, commit)
|
||||||
print('Installing {}'.format(package))
|
print('Installing {}'.format(package))
|
||||||
check_call(['pip', 'install', '-q', package])
|
check_call(['pip', 'install', '--upgrade', '--quiet', package])
|
||||||
|
|
||||||
def build_docs():
|
def build_docs():
|
||||||
# Create virtualenv.
|
# Create virtualenv.
|
||||||
|
Loading…
Reference in New Issue
Block a user