e2d5de285a
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
8 lines
182 B
Bash
Executable File
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}
|