Skip to content

Commit

Permalink
don't protect system packages from pip install
Browse files Browse the repository at this point in the history
  • Loading branch information
openoms committed Feb 25, 2024
1 parent c23babb commit 79b70e6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build_joininbox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,15 @@ fi

# make sure /usr/bin/pip exists (and calls pip3)
update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1

# 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

# setuptools needed for Nyx
pip install setuptools

Expand Down

0 comments on commit 79b70e6

Please sign in to comment.