Compare commits

...

2 Commits

Author SHA1 Message Date
Andrew Senetar 6612545110
Add note about pyobjc to README, add extra option 2021-06-22 21:36:14 -05:00
Andrew Senetar d52b4f206c
Fix CHANGES.rst issue 2021-06-21 22:22:48 -05:00
3 changed files with 9 additions and 9 deletions

View File

@ -1,18 +1,18 @@
Changes Changes
======= =======
Version 1.7.1 -- 2021/06/21 Version 1.7.1 -- 2021/06/21
---------------------------- ---------------------------
* Release stable version with changes from last 3 releases * Release stable version with changes from last 3 releases
* Fix handling of UNC names (#57) * Fix handling of UNC names (#57)
Version 1.7.0a1 -- 2021/05/14 Version 1.7.0a1 -- 2021/05/14
---------------------------- -----------------------------
* Changed conditional for when to try to use pyobjc version (#51) * Changed conditional for when to try to use pyobjc version (#51)
Version 1.7.0a0 -- 2021/04/20 Version 1.7.0a0 -- 2021/04/20
---------------------------- -----------------------------
* Add console_script entry point (#50) * Add console_script entry point (#50)
* Increased python CI versions (#52, #54) * Increased python CI versions (#52, #54)

View File

@ -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 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 *all platforms*. On OS X, it uses native ``FSMoveObjectToTrashSync`` Cocoa calls or can use pyobjc
uses native ``IFileOperation`` call if on Vista or newer and pywin32 is installed or falls back with NSFileManager. On Windows, it uses native ``IFileOperation`` call if on Vista or newer and
to ``SHFileOperation`` calls. On other platforms, if `PyGObject`_ and `GIO`_ are available, it pywin32 is installed or falls back to ``SHFileOperation`` calls. On other platforms, if `PyGObject`_
will use this. Otherwise, it will fallback to its own implementation of the `trash specifications and `GIO`_ are available, it will use this. Otherwise, it will fallback to its own implementation of
from freedesktop.org`_. the `trash specifications from freedesktop.org`_.
``ctypes`` is used to access native libraries, so no compilation is necessary. ``ctypes`` is used to access native libraries, so no compilation is necessary.

View File

@ -35,7 +35,7 @@ setup(
description="Send file to trash natively under Mac OS X, Windows and Linux.", description="Send file to trash natively under Mac OS X, Windows and Linux.",
long_description=LONG_DESCRIPTION, long_description=LONG_DESCRIPTION,
classifiers=CLASSIFIERS, classifiers=CLASSIFIERS,
extras_require={"win32": ["pywin32"]}, extras_require={"win32": ["pywin32"], "objc": ["pyobjc-framework-Cocoa"]},
project_urls={"Bug Reports": "https://github.com/arsenetar/send2trash/issues"}, project_urls={"Bug Reports": "https://github.com/arsenetar/send2trash/issues"},
entry_points={"console_scripts": ["send2trash=send2trash.__main__:main"]}, entry_points={"console_scripts": ["send2trash=send2trash.__main__:main"]},
) )