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>
43 lines
1.1 KiB
TOML
43 lines
1.1 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=77"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "boxsim"
|
|
version = "0.1.0"
|
|
description = "Read Boxsim loudspeaker projects and generate KiCad projects from their crossovers"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
license = "MIT"
|
|
license-files = ["LICENSE"]
|
|
authors = [{ name = "Marco Grätsch", email = "magdev3.0@gmail.com" }]
|
|
keywords = ["boxsim", "visaton", "kicad", "loudspeaker", "crossover"]
|
|
dependencies = []
|
|
|
|
[project.optional-dependencies]
|
|
# Development only: the reference decoder emulates Boxsim.exe to differentially
|
|
# test the pure Python codec. Not needed to use the tool.
|
|
oracle = ["unicorn>=2.0", "pefile>=2023.2.7"]
|
|
dev = ["pytest>=8", "ruff>=0.6"]
|
|
|
|
[project.scripts]
|
|
boxsim = "boxsim.cli:main"
|
|
|
|
[tool.setuptools]
|
|
packages = ["boxsim"]
|
|
|
|
[tool.setuptools.package-data]
|
|
boxsim = ["data/*"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
addopts = "-q"
|
|
|
|
[tool.ruff]
|
|
line-length = 96
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "I", "UP", "B", "C4", "SIM"]
|
|
ignore = ["E501"]
|