Add MIT licence

Declared with the PEP 639 license / license-files fields, so the text ships in
the wheel and the image rather than only the repository. Records the terms of
the two things this repository deliberately does not contain: Boxsim, which is
Visaton freeware and is never redistributed, and kicad-visaton-lib, which is
CC-BY-SA-4.0 and is copied into any image built by tools/build-image.sh.

Verified: pip install exposes License-Expression MIT and packages the text as
dist-info/licenses/LICENSE, both on the host and in the image.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
magdevandClaude Fable 5 committed 2026-09-29 12:35:09 +02:00
1 parent d173328443
commit 85a75b321d
5 files changed
+33 -4

No files matched your search

+2
View File
@@ -8,3 +8,5 @@ brute
.claude/
__pycache__/
*.ini
build/
dist/
+1 -1
View File
@@ -17,7 +17,7 @@ LABEL org.opencontainers.image.title="boxsim" \
WORKDIR /opt/boxsim
COPY pyproject.toml README.md ./
COPY pyproject.toml README.md LICENSE ./
COPY boxsim ./boxsim
# Staged by tools/build-image.sh: the upgraded Visaton symbol library and the
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2026 Marco Grätsch
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+6 -1
View File
@@ -158,4 +158,9 @@ Tests needing KiCad or the Boxsim distribution skip themselves when those are ab
## Licence
MIT.
MIT, see [LICENSE](LICENSE).
Two things this repository deliberately does not contain, and their terms if you assemble them yourself:
- `Boxsim.exe` and the Boxsim distribution are Visaton freeware. Only the development-only oracle touches the binary, and no part of it is redistributed here or in the image.
- [kicad-visaton-lib](https://src.bundespruefstelle.ch/magdev/kicad-visaton-lib) is CC-BY-SA-4.0. `tools/build-image.sh` copies it into the image it builds, so an image you publish carries that licence alongside this one.
+3 -2
View File
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=68"]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
@@ -8,7 +8,8 @@ version = "0.1.0"
description = "Read Boxsim loudspeaker projects and generate KiCad projects from their crossovers"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
license = "MIT"
license-files = ["LICENSE"]
authors = [{ name = "Marco Grätsch", email = "magdev3.0@gmail.com" }]
keywords = ["boxsim", "visaton", "kicad", "loudspeaker", "crossover"]
dependencies = []