Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
e52d8fb8
"include/vscode:/vscode.git/clone" did not exist on "de2f6ab262911a5d93fe25611f452c8a6670a79b"
Unverified
Commit
e52d8fb8
authored
Jul 29, 2024
by
Nikita Titov
Committed by
GitHub
Jul 29, 2024
Browse files
[ci] ask pip to always install local artifact but not download package from PyPI (#6574)
parent
3f7e6081
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
build-python.sh
build-python.sh
+7
-2
No files found.
build-python.sh
View file @
e52d8fb8
...
...
@@ -359,14 +359,19 @@ fi
if
test
"
${
INSTALL
}
"
=
true
;
then
echo
"--- installing lightgbm ---"
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
pip
install
\
${
PIP_INSTALL_ARGS
}
\
--
ign
ore-install
ed
\
--
f
or
c
e-
re
install
\
--no-cache-dir
\
--no-deps
\
--find-links
=
.
\
lightgbm
${
PACKAGE_NAME
}
cd
../
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment