Skip to content

Commit

Permalink
Hide system pip when installing python (#5583)
Browse files Browse the repository at this point in the history
  • Loading branch information
singiamtel authored Aug 19, 2024
1 parent 594903c commit b50c7ab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ rsync -av --exclude '**/.git' $SOURCEDIR/ $BUILDDIR/
# According to cmsdist, this is required to pick up our own version
export LIBFFI_ROOT
# If the python installer finds another pip, it won't install the new one
export PATH=$(echo $PATH | awk -v RS=':' -v ORS=':' '!/python/ {print}' | sed 's/:$//')
unset PYTHONUSERBASE
# The only way to pass externals to Python
LDFLAGS=
CPPFLAGS=
Expand Down

0 comments on commit b50c7ab

Please sign in to comment.