Y
Hacker News
new
|
ask
|
show
|
jobs
by
catlifeonmars
229 days ago
uv basically makes that a default. You don’t need to be bothered. Just uv add your dependencies and they are in your pyproject.toml.
1 comments
optionalsquid
229 days ago
Or use `uv add --script`. Then dependencies gets recorded in the script itself, which is great for single-file scripts. But obviously, that won't help if the author can't be bothered to take those steps
link