fix pip-install alias

This commit is contained in:
Mike Heier 2024-11-11 08:30:40 -05:00
parent 4e31a1c0c0
commit c658e3d052
2 changed files with 7 additions and 0 deletions

View File

@ -4,6 +4,9 @@ source /usr/share/mynode/mynode_config.sh
source /usr/share/mynode/mynode_functions.sh
source /usr/share/mynode/mynode_app_versions.sh
# Alias pip to break system???
alias pip-install=pip install --break-system-packages
set -x
set -e

View File

@ -19,6 +19,10 @@ fi
# Install deps
virtualenv -p python3 .venv
# Alias pip to break system???
alias pip-install=pip install --break-system-packages
.venv/bin/pip-install -r requirements.txt
.venv/bin/pip-install whitenoise
.venv/bin/pip-install supervisor