mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-25 19:21:57 +02:00
build: remove externally-managed flag for python (#4400)
This commit is contained in:
@@ -391,14 +391,6 @@ else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# don't protect system packages from pip install
|
||||
# tracking issue: https://github.com/raspiblitz/raspiblitz/issues/4170
|
||||
for PYTHONDIR in /usr/lib/python3.*; do
|
||||
if [ -f "$PYTHONDIR/EXTERNALLY-MANAGED" ]; then
|
||||
rm "$PYTHONDIR/EXTERNALLY-MANAGED"
|
||||
fi
|
||||
done
|
||||
|
||||
# make sure /usr/bin/pip exists (and calls pip3 in Debian Buster)
|
||||
update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1
|
||||
# 1. libs (for global python scripts)
|
||||
|
Reference in New Issue
Block a user