mirror of
https://github.com/NCBM/plyngent.git
synced 2026-11-07 07:17:54 +08:00
deps: add send2trash
Deletes are about to become recoverable, and send2trash is what every desktop already understands: the freedesktop trash specification on Linux (its own implementation unless PyGObject/GIO is there), the Finder trash on macOS and the Recycle Bin on Windows. It is pure Python over ctypes — no compilation, no runtime dependencies — so it can sit on the default install instead of behind an extra. A required dependency rather than an optional one on purpose: a missing extra would silently turn "recoverable" into "gone", and a safety net that disappears without a word is worse than no safety net.
This commit is contained in:
+2
-1
@@ -16,7 +16,8 @@ dependencies = [
|
||||
"click>=8.4.2",
|
||||
"awaitlet>=0.0.1",
|
||||
"pywinpty>=2.0.0; sys_platform == \"win32\"",
|
||||
"rich>=13"
|
||||
"rich>=13",
|
||||
"send2trash>=2.1.0"
|
||||
]
|
||||
requires-python = ">=3.14,<4"
|
||||
readme = "README.md"
|
||||
|
||||
Reference in New Issue
Block a user