From a4b9f22efd6953646d4794322f2a53a345617832 Mon Sep 17 00:00:00 2001 From: Tom Aldcroft Date: Thu, 21 Sep 2017 08:31:36 -0400 Subject: [PATCH] Add LICENSE and license comments --- LICENSE.rst | 29 +++++++++++++++++++++++++++++ Ska/File.py | 1 + Ska/__init__.py | 1 + docs/conf.py | 1 + setup.py | 1 + 5 files changed, 33 insertions(+) create mode 100644 LICENSE.rst 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/File.py b/Ska/File.py index 8b611b4..92f7db8 100644 --- a/Ska/File.py +++ b/Ska/File.py @@ -1,3 +1,4 @@ +# Licensed under a 3-clause BSD style license - see LICENSE.rst """Ska file utilities""" import os import tempfile 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/docs/conf.py b/docs/conf.py index e18c121..12132a7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -11,6 +11,7 @@ # # All configuration values have a default; values that are commented out # serve to show the default. +# Licensed under a 3-clause BSD style license - see LICENSE.rst import sys import os diff --git a/setup.py b/setup.py index 68e58e6..8b49994 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.File import __version__