|
|
|
|
|
by VagabundoP
596 days ago
|
|
All that can be specified in a pyproject.toml. As some posters mentioned uv takes care of a lot of that and you can even pin it to a version of python. If it’s just a one off script you can get all the dep information in the script header and uv can take care of all the venv/deps for you if you transfer the script to another machine by reading the headers in a comment section at the start of the script. All this is based on PEPs to standardise packaging. It’s slow but moving in the right direction. |
|