Skip to content

Commit

Permalink
[python-package] ensure 'build-python.sh' always reinstalls (fixes mi…
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb authored Jun 10, 2023
1 parent 15e3aec commit b859f7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/test_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 $?
}
}

Expand Down
1 change: 1 addition & 0 deletions build-python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ if test "${INSTALL}" = true; then
cd ../dist
pip install \
${PIP_INSTALL_ARGS} \
--force-reinstall \
--find-links=. \
lightgbm
cd ../
Expand Down

0 comments on commit b859f7b

Please sign in to comment.