From 203973d66c9468bdff852d66e86da55c21e0767c Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Wed, 7 Apr 2010 08:52:24 +0200 Subject: [PATCH] Licensed under BSD. --- LICENSE | 10 ++++++++++ modules/send2trash_osx.c | 7 +++++++ modules/send2trash_win.c | 7 +++++++ send2trash/__init__.py | 6 ++++++ send2trash/plat_osx.py | 6 ++++++ send2trash/plat_other.py | 6 ++++++ send2trash/plat_win.py | 6 ++++++ 7 files changed, 48 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..7b42a7d --- /dev/null +++ b/LICENSE @@ -0,0 +1,10 @@ +Copyright (c) 2010, Hardcoded Software Inc., http://www.hardcoded.net +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + * Neither the name of Hardcoded Software Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/modules/send2trash_osx.c b/modules/send2trash_osx.c index e222ea6..28d2aa4 100644 --- a/modules/send2trash_osx.c +++ b/modules/send2trash_osx.c @@ -1,3 +1,10 @@ +/* Copyright 2010 Hardcoded Software (http://www.hardcoded.net) + +This software is licensed under the "BSD" License as described in the "LICENSE" file, +which should be included with this package. The terms are also available at +http://www.hardcoded.net/licenses/bsd_license +*/ + #define PY_SSIZE_T_CLEAN #include "Python.h" #include diff --git a/modules/send2trash_win.c b/modules/send2trash_win.c index 54f389f..e3ca11a 100644 --- a/modules/send2trash_win.c +++ b/modules/send2trash_win.c @@ -1,3 +1,10 @@ +/* Copyright 2010 Hardcoded Software (http://www.hardcoded.net) + +This software is licensed under the "BSD" License as described in the "LICENSE" file, +which should be included with this package. The terms are also available at +http://www.hardcoded.net/licenses/bsd_license +*/ + #define PY_SSIZE_T_CLEAN #include "Python.h" diff --git a/send2trash/__init__.py b/send2trash/__init__.py index e0dbe9a..9457f4a 100644 --- a/send2trash/__init__.py +++ b/send2trash/__init__.py @@ -1,3 +1,9 @@ +# Copyright 2010 Hardcoded Software (http://www.hardcoded.net) + +# This software is licensed under the "BSD" License as described in the "LICENSE" file, +# which should be included with this package. The terms are also available at +# http://www.hardcoded.net/licenses/bsd_license + import sys if sys.platform == 'darwin': diff --git a/send2trash/plat_osx.py b/send2trash/plat_osx.py index 26ab907..3b99f4f 100644 --- a/send2trash/plat_osx.py +++ b/send2trash/plat_osx.py @@ -1,3 +1,9 @@ +# Copyright 2010 Hardcoded Software (http://www.hardcoded.net) + +# This software is licensed under the "BSD" License as described in the "LICENSE" file, +# which should be included with this package. The terms are also available at +# http://www.hardcoded.net/licenses/bsd_license + import _send2trash_osx def send2trash(path): diff --git a/send2trash/plat_other.py b/send2trash/plat_other.py index 6a72d4b..1643e17 100644 --- a/send2trash/plat_other.py +++ b/send2trash/plat_other.py @@ -2,6 +2,12 @@ from __future__ import unicode_literals import sys import os import os.path as op +# Copyright 2010 Hardcoded Software (http://www.hardcoded.net) + +# This software is licensed under the "BSD" License as described in the "LICENSE" file, +# which should be included with this package. The terms are also available at +# http://www.hardcoded.net/licenses/bsd_license + import logging CANDIDATES = [ diff --git a/send2trash/plat_win.py b/send2trash/plat_win.py index e2c5ca0..3aada5f 100644 --- a/send2trash/plat_win.py +++ b/send2trash/plat_win.py @@ -1,3 +1,9 @@ +# Copyright 2010 Hardcoded Software (http://www.hardcoded.net) + +# This software is licensed under the "BSD" License as described in the "LICENSE" file, +# which should be included with this package. The terms are also available at +# http://www.hardcoded.net/licenses/bsd_license + import os.path as op import _send2trash_win