-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Description
Currently, when a ZPM module is uninstalled, any external Python packages installed via the requirements.txt are left behind in the python. This results in "orphaned" packages.
I propose adding a -with-python flag to the uninstall command to allow for a comprehensive cleanup of the environment.
Proposed Command
zpm "uninstall <module-name> -r -with-python"
Proposed Implementation Logic
To ensure that using -with-python does not break other modules, and ensure "Safe-Uninstall"
Why this modifier?
- Explicit Intent: Using
-with-pythonensures the user is aware that changes are being made to the underlying Python environment, not just the ObjectScript classes. - Symmetry: It provides a clean way to "undo" everything the install command initially performed.
- Maintenance: Greatly simplifies instance maintenance for developers using Embedded Python.
evshvarov
Metadata
Metadata
Assignees
Labels
No labels