Build: Uninstall pipenv, pip, and setuptools from AppImage

Once the dependencies are installed, Pipenv, pip, and setuptools are no
longer needed. They take up a combined 45MB of space.
This commit is contained in:
Mike Salvatore 2022-04-28 12:15:46 -04:00
parent 9b1857a3d9
commit 376559bb77
1 changed files with 7 additions and 0 deletions

View File

@ -79,6 +79,13 @@ install_monkey_island_python_dependencies() {
log_message "Installing island python requirements"
"$APPDIR"/AppRun -m pip install -r "${requirements_island}" --ignore-installed || handle_error
log_message "Uninstalling pipenv"
"$APPDIR"/AppRun -m pip uninstall -y pipenv || handle_error
log_message "Uninstalling pip"
"$APPDIR"/AppRun -m pip uninstall -y pip setuptools || handle_error
}
generate_requirements_from_pipenv_lock () {