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
b859f7b1
Unverified
Commit
b859f7b1
authored
Jun 10, 2023
by
James Lamb
Committed by
GitHub
Jun 10, 2023
Browse files
[python-package] ensure 'build-python.sh' always reinstalls (fixes #5906) (#5907)
parent
15e3aecc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
.ci/test_windows.ps1
.ci/test_windows.ps1
+2
-2
build-python.sh
build-python.sh
+1
-0
No files found.
.ci/test_windows.ps1
View file @
b859f7b1
...
...
@@ -101,9 +101,9 @@ elseif ($env:TASK -eq "bdist") {
}
elseif
((
$
env
:
APPVEYOR
-eq
"true"
)
-and
(
$
env
:
TASK
-eq
"python"
))
{
cd
$
env
:
BUILD_SOURCESDIRECTORY
if
(
$
env
:
COMPILER
-eq
"MINGW"
)
{
sh
$
env
:
BUILD_SOURCESDIRECTORY
/build-python.sh
install
--mingw
;
Check-Output
$?
sh
$
env
:
BUILD_SOURCESDIRECTORY
/build-python.sh
install
--user
--mingw
;
Check-Output
$?
}
else
{
sh
$
env
:
BUILD_SOURCESDIRECTORY
/build-python.sh
install
;
Check-Output
$?
sh
$
env
:
BUILD_SOURCESDIRECTORY
/build-python.sh
install
--user
;
Check-Output
$?
}
}
...
...
build-python.sh
View file @
b859f7b1
...
...
@@ -322,6 +322,7 @@ if test "${INSTALL}" = true; then
cd
../dist
pip
install
\
${
PIP_INSTALL_ARGS
}
\
--force-reinstall
\
--find-links
=
.
\
lightgbm
cd
../
...
...
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