Problem
pyproject.toml defines a norefund console script that analyses a file and prints a report. PyInstaller freezes desktop/app.py instead, so the downloadable build ignores every argument and just opens a window. The CLI exists only for people who install from source.
Where
pyproject.toml:61 -> norefund = "norefund.main:main"
packaging/norefund.spec:75 -> Analysis([SRC / "desktop" / "app.py"])
Decision needed
Either:
- Point the spec at
main.py so the shipped binary supports both modes (GUI by default, CLI with arguments)
- Document the CLI as source-install only and remove it from the public packaging assumption
Right now it is ambiguous, which is the actual problem.
Problem
pyproject.tomldefines anorefundconsole script that analyses a file and prints a report. PyInstaller freezesdesktop/app.pyinstead, so the downloadable build ignores every argument and just opens a window. The CLI exists only for people who install from source.Where
pyproject.toml:61->norefund = "norefund.main:main"packaging/norefund.spec:75->Analysis([SRC / "desktop" / "app.py"])Decision needed
Either:
main.pyso the shipped binary supports both modes (GUI by default, CLI with arguments)Right now it is ambiguous, which is the actual problem.