4 ms·
The thing where "uv init" now adds this to pyproject.toml is a bit surprising: [project.scripts] demo-latest = "demo_latest:main" What's the rationale for
by simonw 3mo ago
The thing where "uv init" now adds this to pyproject.toml is a bit surprising:
[project.scripts]
demo-latest = "demo_latest:main"
What's the rationale for that? My expectation is that few projects would need it.
(I have a GitHub repo that captures differences between uv versions, here's today's upgrade: https://github.com/simonw/uv-init-demos/commit/9111a2bb85741f034eee2fd63efe13ef98b37a14#diff-e036881d034aedd813010ffa96464995ae5b0339213d6f4ab492f97442c5bdd4 https://github.com/simonw/uv-init-demos/commit/9111a2bb85741...)