зеркало из https://github.com/microsoft/LightGBM.git
[ci] ask pip to always install local artifact but not download package from PyPI (#6574)
This commit is contained in:
Родитель
3f7e608127
Коммит
e52d8fb880
|
@ -359,14 +359,19 @@ fi
|
||||||
if test "${INSTALL}" = true; then
|
if test "${INSTALL}" = true; then
|
||||||
echo "--- installing lightgbm ---"
|
echo "--- installing lightgbm ---"
|
||||||
cd ../dist
|
cd ../dist
|
||||||
|
if test "${BUILD_WHEEL}" = true; then
|
||||||
|
PACKAGE_NAME="lightgbm*.whl"
|
||||||
|
else
|
||||||
|
PACKAGE_NAME="lightgbm*.tar.gz"
|
||||||
|
fi
|
||||||
# ref for use of '--find-links': https://stackoverflow.com/a/52481267/3986677
|
# ref for use of '--find-links': https://stackoverflow.com/a/52481267/3986677
|
||||||
pip install \
|
pip install \
|
||||||
${PIP_INSTALL_ARGS} \
|
${PIP_INSTALL_ARGS} \
|
||||||
--ignore-installed \
|
--force-reinstall \
|
||||||
--no-cache-dir \
|
--no-cache-dir \
|
||||||
--no-deps \
|
--no-deps \
|
||||||
--find-links=. \
|
--find-links=. \
|
||||||
lightgbm
|
${PACKAGE_NAME}
|
||||||
cd ../
|
cd ../
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче