uv/docs/concepts
bluss 67769a4985
packaged app: use executable named for the project and main function (#7670)
## Summary

Create a function main as the default for a packaged app. Configure the
default executable as:

`example-packaged-app = "example_packaged_app:main"`

Which is often what you want - the executable has the same name as the
app.
The purpose is to more often hit what the user wants, so they don't have
to even rename the command to start developing.

## Test Plan

- existing tests are updated
2024-09-30 17:19:36 -05:00
..
cache.md Add documentation on cache versioning (#7693) 2024-09-25 22:13:02 +00:00
dependencies.md Allow multiple source entries for each package in tool.uv.sources (#7745) 2024-09-30 21:16:44 +00:00
index.md Update documentation sections (#5452) 2024-07-25 12:37:22 -05:00
projects.md packaged app: use executable named for the project and main function (#7670) 2024-09-30 17:19:36 -05:00
python-versions.md Avoid selecting prerelease Python installations without opt-in (#7300) 2024-09-11 15:49:33 -05:00
resolution.md Allow users to provide pre-defined metadata for resolution (#7442) 2024-09-18 03:18:05 +00:00
tools.md docs: add missing console highlights (#6900) 2024-08-31 19:04:19 -04:00
workspaces.md Update workspace documentation to remove legacy virtual projects (#6720) 2024-08-27 17:31:12 -04:00