←back to thread

741 points chirau | 2 comments | | HN request time: 0.475s | source
Show context
leonheld ◴[] No.44358181[source]
I adore the

  uv add <mydependencies> --script mycoolscript.py
And then shoving

  #!/usr/bin/env -S uv run
on top so I can run Python scripts easily. It's great!
replies(5): >>44358268 #>>44358400 #>>44358419 #>>44358467 #>>44361042 #
1. oblio ◴[] No.44361042[source]
What's "mydependencies"? A config file?
replies(1): >>44364305 #
2. leonheld ◴[] No.44364305[source]
My apologies: "mydependencies" are packages from PyPI (https://pypi.org/), as if you did "pip install ...".