forked from p34709852/monkey
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:
parent
9b1857a3d9
commit
376559bb77
|
@ -79,6 +79,13 @@ install_monkey_island_python_dependencies() {
|
||||||
|
|
||||||
log_message "Installing island python requirements"
|
log_message "Installing island python requirements"
|
||||||
"$APPDIR"/AppRun -m pip install -r "${requirements_island}" --ignore-installed || handle_error
|
"$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 () {
|
generate_requirements_from_pipenv_lock () {
|
||||||
|
|
Loading…
Reference in New Issue