Build: Uninstall pipenv from AppImage after dependencies are installed

This commit is contained in:
Mike Salvatore 2022-06-09 11:27:41 -04:00
parent cd1d7b28a8
commit 73d20a6a6a
1 changed files with 3 additions and 0 deletions

View File

@ -83,6 +83,9 @@ install_monkey_island_python_dependencies() {
pushd "$BUILD_DIR/monkey_island" || handle_error pushd "$BUILD_DIR/monkey_island" || handle_error
"$APPDIR"/AppRun -m pipenv --python "$APPDIR/AppRun" sync --system || handle_error "$APPDIR"/AppRun -m pipenv --python "$APPDIR/AppRun" sync --system || handle_error
popd || handle_error popd || handle_error
log_message "Uninstalling pipenv (build dependency only)"
"$APPDIR"/AppRun -m pip uninstall pipenv virtualenv || handle_error
} }