diff --git a/README.rst b/README.rst index aefbfa1..ac4b0e8 100644 --- a/README.rst +++ b/README.rst @@ -3,11 +3,11 @@ Send2Trash -- Send files to trash on all platforms ================================================== Send2Trash is a small package that sends files to the Trash (or Recycle Bin) *natively* and on -*all platforms*. On OS X, it uses native ``FSMoveObjectToTrashSync`` Cocoa calls. On Windows, it -uses native ``IFileOperation`` call if on Vista or newer and pywin32 is installed or falls back -to ``SHFileOperation`` calls. On other platforms, if `PyGObject`_ and `GIO`_ are available, it -will use this. Otherwise, it will fallback to its own implementation of the `trash specifications -from freedesktop.org`_. +*all platforms*. On OS X, it uses native ``FSMoveObjectToTrashSync`` Cocoa calls or can use pyobjc +with NSFileManager. On Windows, it uses native ``IFileOperation`` call if on Vista or newer and +pywin32 is installed or falls back to ``SHFileOperation`` calls. On other platforms, if `PyGObject`_ +and `GIO`_ are available, it will use this. Otherwise, it will fallback to its own implementation of +the `trash specifications from freedesktop.org`_. ``ctypes`` is used to access native libraries, so no compilation is necessary. diff --git a/setup.py b/setup.py index 838c008..13a84e8 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ setup( description="Send file to trash natively under Mac OS X, Windows and Linux.", long_description=LONG_DESCRIPTION, classifiers=CLASSIFIERS, - extras_require={"win32": ["pywin32"]}, + extras_require={"win32": ["pywin32"], "objc": ["pyobjc-framework-Cocoa"]}, project_urls={"Bug Reports": "https://github.com/arsenetar/send2trash/issues"}, entry_points={"console_scripts": ["send2trash=send2trash.__main__:main"]}, )