Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
build/bin/sage-pip-install: For PEP 517 packages, do not try to unins…
Browse files Browse the repository at this point in the history
…tall first
  • Loading branch information
Matthias Koeppe committed Mar 10, 2021
1 parent a046780 commit efe7523
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/bin/sage-pip-uninstall
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ PYTHON=python3
# The PIP variable is only used to determine the name of the lock file.
PIP=pip3

# For PEP 517 packages, do not try to uninstall
if [ ! -f setup.py ]; then
exit 0
fi

# Find out the name of the package that we are installing
name="$($PYTHON setup.py --name)"

Expand Down

0 comments on commit efe7523

Please sign in to comment.