dmarx / not-a-package-manager

utilities to facilitate working with codebases that don't ascribe to normal package management paradigms, e.g. ML research code that can be cloned but not installed.
MIT License
12 stars 0 forks source link

need some sort of "uninstall" functionality #6

Closed dmarx closed 2 years ago

dmarx commented 2 years ago

adding a mappings file and/or subfolders for pseudo-envs would probably help a bunch

dmarx commented 2 years ago

since we're only modifying python path in the session, the path variable is safe. this means that an uninstall only entails:

  1. deleting the codebase of the git repo
  2. updating the config
  3. if the environment is empty (and we've received an appropriate optional argument), delete the environment as a final cleanup step