Skip to content

Add a BSD 3-Clause license - #199

Merged
roytsmart merged 1 commit into
mainfrom
feature/license-bsd-3-clause
Aug 18, 2026
Merged

Add a BSD 3-Clause license#199
roytsmart merged 1 commit into
mainfrom
feature/license-bsd-3-clause

Conversation

@roytsmart

Copy link
Copy Markdown
Collaborator

This repository has no license, which means the default of all rights reserved
applies: nobody has permission to use, modify, or redistribute it, even though
it is published on PyPI and imported by esis. This is the same change merged
as sun-data/regridding#54, sun-data/named-arrays#203, sun-data/colorsynth#11,
and sun-data/ndfilters#28.

This adds the BSD 3-Clause license, matching numpy and astropy, which
optika sits on top of. It also satisfies NASA SPD-41a, which asks that
software developed with Science Mission Directorate funding be released under a
permissive license, and its third clause forbids using the copyright holders'
names to endorse derived products.

Changes

  • LICENSE, the standard BSD 3-Clause text, with the copyright line
    Copyright (c) 2023-2026, Roy T. Smart, Jacob D. Parker, and Charles C. Kankelborg.
    Roy and Jacob are the committers; Charles is included at Roy's direction as
    the advisor on this work. 2023 is when the repository was created.
  • pyproject.toml declares license = "BSD-3-Clause" and
    license-files = ["LICENSE"], the PEP 639 form.

Verified by building a wheel from this branch: the metadata is
Metadata-Version: 2.4 with License-Expression: BSD-3-Clause and
License-File: LICENSE, and the license is packaged at
dist-info/licenses/LICENSE, so PyPI will display it on the next release.
There is no License :: classifier to conflict with the expression, and
ruff check . passes.

Worth knowing before merging

The copyright line names the people rather than Montana State University. MSU's
faculty handbook gives authors ownership of copyrightable works other than
commissioned courseware, which is the basis for that, but the university has
not been asked, and if it ever asserts ownership the line is an ordinary commit
to correct. Releasing permissively is the part that does not undo: copies
distributed under these terms stay licensed under them.

🤖 Generated with Claude Code

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 `numpy` and `astropy`, which this
package sits on top of. 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 <noreply@anthropic.com>
@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.58%. Comparing base (05f161c) to head (2c414e6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #199   +/-   ##
=======================================
  Coverage   99.58%   99.58%           
=======================================
  Files         118      118           
  Lines        6933     6933           
=======================================
  Hits         6904     6904           
  Misses         29       29           
Flag Coverage Δ
unittests 99.58% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@roytsmart
roytsmart merged commit 9ff5a48 into main Aug 18, 2026
12 checks passed
@roytsmart
roytsmart deleted the feature/license-bsd-3-clause branch August 18, 2026 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant