diff --git a/LICENSE.rst b/LICENSE.rst new file mode 100644 index 0000000..475ec73 --- /dev/null +++ b/LICENSE.rst @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2017, Smithsonian Astrophysical Observatory +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 the copyright holder 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. diff --git a/Ska/__init__.py b/Ska/__init__.py index bb61062..46d8fff 100644 --- a/Ska/__init__.py +++ b/Ska/__init__.py @@ -1,2 +1,3 @@ +# Licensed under a 3-clause BSD style license - see LICENSE.rst import pkgutil __path__ = pkgutil.extend_path(__path__, __name__) diff --git a/Ska/ftp/__init__.py b/Ska/ftp/__init__.py index 0718d39..9158326 100644 --- a/Ska/ftp/__init__.py +++ b/Ska/ftp/__init__.py @@ -1,3 +1,4 @@ +# Licensed under a 3-clause BSD style license - see LICENSE.rst from .ftp import * __version__ = '3.5' diff --git a/Ska/ftp/ftp.py b/Ska/ftp/ftp.py index 91c8c87..ba9e844 100644 --- a/Ska/ftp/ftp.py +++ b/Ska/ftp/ftp.py @@ -1,3 +1,4 @@ +# Licensed under a 3-clause BSD style license - see LICENSE.rst """ Light wrapper around Python ftplib to make it easier to use. Just adds a few convenience methods to ftplib.FTP class: ls(), ls_full(), put(), get(), and cd(). diff --git a/Ska/ftp/tests/test_basic.py b/Ska/ftp/tests/test_basic.py index a8eb074..8ea0daf 100644 --- a/Ska/ftp/tests/test_basic.py +++ b/Ska/ftp/tests/test_basic.py @@ -1,3 +1,4 @@ +# Licensed under a 3-clause BSD style license - see LICENSE.rst import uuid import os import sys diff --git a/Ska/ftp/tests/test_tar.py b/Ska/ftp/tests/test_tar.py index af3b194..dc99e89 100644 --- a/Ska/ftp/tests/test_tar.py +++ b/Ska/ftp/tests/test_tar.py @@ -1,3 +1,4 @@ +# Licensed under a 3-clause BSD style license - see LICENSE.rst import os import Ska.ftp import tarfile diff --git a/setup.py b/setup.py index b6b0f7f..f1d3b03 100755 --- a/setup.py +++ b/setup.py @@ -1,3 +1,4 @@ +# Licensed under a 3-clause BSD style license - see LICENSE.rst from setuptools import setup from Ska.ftp import __version__