loci/scripts/pip_install.sh
LiuYang e2d5de285a add pip additional args
for example, in order to speed up, use the mirror of pypi:
--build-arg PIP_ARGS="-i https://pypi.tuna.tsinghua.edu.cn/simple"

Change-Id: I7f975c04c4dfd5b18d37a3f4b152a053374a79aa
2018-03-29 11:10:01 +08:00

8 lines
182 B
Bash
Executable File

#!/bin/bash
set -ex
packages=$@
pip install --no-cache-dir --only-binary :all: --no-compile -c /tmp/wheels/upper-constraints.txt --find-links /tmp/wheels/ ${PIP_ARGS} ${packages}