diff --git a/CHANGES.rst b/CHANGES.rst index ce714bd..6218628 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,12 @@ Changes ======= +Version 1.3.0 -- 2013/07/19 +--------------------------- + +* Added support for Gnome's GIO. +* Merged Python 3 and Python 2 vesion in a single codebase. + Version 1.2.0 -- 2011/03/16 --------------------------- diff --git a/README.rst b/README.rst index f7d7fd7..06ba3a2 100644 --- a/README.rst +++ b/README.rst @@ -4,8 +4,9 @@ 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 (and ugly) ``SHFileOperation`` win32 calls. On other platforms, it follows the trash -specifications from freedesktop.org. +uses native (and ugly) ``SHFileOperation`` win32 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. @@ -29,3 +30,7 @@ Usage >>> send2trash('some_file') When there's a problem ``OSError`` is raised. + +.. _PyGObject: https://wiki.gnome.org/PyGObject +.. _GIO: https://developer.gnome.org/gio/ +.. _trash specifications from freedesktop.org: http://freedesktop.org/wiki/Specifications/trash-spec/ diff --git a/setup.py b/setup.py index c0950f0..01db83b 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ LONG_DESCRIPTION = open('README.rst', 'rt').read() + '\n\n' + open('CHANGES.rst' setup( name='Send2Trash', - version='1.2.0', + version='1.3.0', author='Hardcoded Software', author_email='hsoft@hardcoded.net', packages=['send2trash'], @@ -29,5 +29,4 @@ setup( description='Send file to trash natively under Mac OS X, Windows and Linux.', long_description=LONG_DESCRIPTION, classifiers=CLASSIFIERS, - zip_safe=False, ) \ No newline at end of file