Unverified Commit 6c76b6b7 authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[python-package] avoid overwriting dependencies via 'build-python.sh install' (#6526)


Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
parent 6662d557
......@@ -364,13 +364,12 @@ fi
if test "${INSTALL}" = true; then
echo "--- installing lightgbm ---"
cd ../dist
# remove existing installation
# (useful when building the dev version multiple times, where the version number doesn't change)
pip uninstall --yes lightgbm
# ref for use of '--find-links': https://stackoverflow.com/a/52481267/3986677
pip install \
${PIP_INSTALL_ARGS} \
--ignore-installed \
--no-cache-dir \
--no-deps \
--find-links=. \
lightgbm
cd ../
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment