Fix AIRadar packaging: add missing README and declare real dependencies - #1
Fix AIRadar packaging: add missing README and declare real dependencies#1egeboy35 wants to merge 1 commit into
Conversation
'flit install --symlink' (root README Quick Start step 3) fails on a fresh clone with: "Config error: Description file README.md does not exist". Add the referenced README with an AIRadarLib module overview and install notes, declare the dependencies AIRadarLib actually imports (scipy, matplotlib, torch, einops, scikit-learn), expose the TensorFlow/Sionna helpers as an optional [sionna] extra, and give AIRadarLib a package docstring. Verified: 'python -m flit build' now builds both sdist and wheel. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
One consequence of this PR I should have spelled out, since it changes what your own documented setup step does. Adding
So an alternative shape would be core dependencies I deliberately did not do that in this PR, because it changes the install contract rather than just fixing the broken one, and I would rather you decide which you prefer. Happy to push either version — or to leave it exactly as it is if a single install command matters more to you than install size. Separately, 🤖 Generated with Claude Code |
Hi! While setting the project up from the root README's Quick Start, step 3 (
flit install --symlinkinAIRadar/) failed on a fresh clone:AIRadar/pyproject.tomlreferencesreadme = "README.md", but the file was not present. The package also declared onlynumpyas a dependency, while theAIRadarLibmodules importscipy,matplotlib,torch,einops, andsklearn— so even a successful install would produce import errors at use time.Changes
AIRadar/README.md: a short overview of theAIRadarLibmodules plus install instructions.pyproject.toml: declare the dependenciesAIRadarLibactually imports, and expose the TensorFlow/Sionna-based helpers as an optional[sionna]extra (they are only used behind lazy imports).AIRadarLib/__init__.pya package docstring.Verification
In a clean venv (Python 3.14):
python -m flit build→Config error: Description file README.md does not existpython -m flit build→Built sdist: dist/airadarlib-0.1.0.tar.gz+Built wheel: dist/airadarlib-0.1.0-py3-none-any.whlpip install -e .(PEP 660) succeeds andimport AIRadarLibworks.Happy to adjust the README wording or the dependency split if you prefer a different structure.
🤖 Generated with Claude Code