1
0
mirror of https://github.com/arsenetar/send2trash.git synced 2026-01-25 16:11:39 +00:00

5 Commits
1.0.0 ... 1.0.1

Author SHA1 Message Date
Virgil Dupras
e78d1d1bd9 Merged heads. 2010-04-19 11:25:02 +02:00
Virgil Dupras
de898fdcaa v1.0.1: Fixed memory leak. 2010-04-19 11:24:06 +02:00
Virgil Dupras
a3e41602cf Added long_description to setup. 2010-04-08 16:28:23 +02:00
Virgil Dupras
8b00632dd6 Set zip_safe to False, as it causes problems when creating executables for Windows of apps using it. 2010-04-07 16:25:01 +01:00
Virgil Dupras
fa68152b35 Added tag 1.0.0 for changeset 48c2103380f5 2010-04-07 13:16:55 +02:00
4 changed files with 10 additions and 1 deletions

1
.hgtags Normal file
View File

@@ -0,0 +1 @@
48c2103380f5e7deca49364f44fb31ded9942bb7 1.0.0

View File

@@ -1,3 +1,8 @@
Version 1.0.1 -- 2010/04/19
---
* Fixed memory leak in OS X module.
Version 1.0.0 -- 2010/04/07
---

View File

@@ -21,6 +21,7 @@ static PyObject* send2trash_osx_send(PyObject *self, PyObject *args)
FSPathMakeRefWithOptions(utf8_chars, kFSPathMakeRefDoNotFollowLeafSymlink, &fp, NULL);
op_result = FSMoveObjectToTrashSync(&fp, NULL, kFSFileOperationDefaultOptions);
PyMem_Free(utf8_chars);
if (op_result != noErr) {
PyErr_SetString(PyExc_OSError, GetMacOSStatusCommentString(op_result));
return NULL;

View File

@@ -21,7 +21,7 @@ if sys.platform == 'win32':
setup(
name='Send2Trash',
version='1.0.0',
version='1.0.1',
author='Hardcoded Software',
author_email='hsoft@hardcoded.net',
packages=['send2trash'],
@@ -30,4 +30,6 @@ setup(
url='http://hg.hardcoded.net/send2trash/',
license='LICENSE',
description='Send file to trash natively under Mac OS X, Windows and Linux.',
long_description=open('README').read(),
zip_safe=False,
)