From 982b32f4fe866c1088ede2bc02ad8e75163e168f Mon Sep 17 00:00:00 2001 From: Roy Smart Date: Wed, 19 Aug 2026 09:58:13 -0600 Subject: [PATCH] Add a BSD 3-Clause license The repository had no license, so the default of all rights reserved applied: nobody had permission to use, modify, or redistribute it, even though it is published on PyPI and imported by `esis`. Use the BSD 3-Clause license, matching the rest of the organization. It also satisfies NASA SPD-41a, which asks that software developed with Science Mission Directorate funding be released under a permissive license. Declare it in the package metadata using the PEP 639 fields, so that the built distributions carry `License-Expression: BSD-3-Clause` and ship the `LICENSE` file. Co-Authored-By: Claude Opus 5 --- LICENSE | 28 ++++++++++++++++++++++++++++ pyproject.toml | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..20e368a --- /dev/null +++ b/LICENSE @@ -0,0 +1,28 @@ +BSD 3-Clause License + +Copyright (c) 2024-2026, Roy T. Smart and Jacob D. Parker + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. 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. + +3. 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 OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/pyproject.toml b/pyproject.toml index de5890f..56b55a8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,6 +10,8 @@ authors = [ description = "A Python library for characterizing and using the CCD cameras developed by Marshall Space Flight Center." readme = "README.md" requires-python = ">=3.11" +license = "BSD-3-Clause" +license-files = ["LICENSE"] classifiers = [ "Programming Language :: Python :: 3", ]