Add PythonDepManager plugin (#563)

This commit is contained in:
NotMyMainUser
2025-05-28 13:21:09 +02:00
committed by GitHub
parent 773bf87c3a
commit c37b15bb0d
6 changed files with 719 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import log
import shutil
from deps import get_base_folder
def flush_dependencies() -> None:
"""Delete all dependencies in the base folder"""
# get working directory
plugin_folder = get_base_folder()
log.info(f"Flushing dependencies from {plugin_folder}")
shutil.rmtree(plugin_folder)
if __name__ == "__main__":
flush_dependencies()