200
Is Python's tooling incredibly difficult, or am I just stupid?
(sh.itjust.works)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
I hate this. Because now I have a list of your dependencies, but also the dependencies of the dependencies, and I now have regular dependencies and dev-dependencies mixed up. If I'm new to Python I would have NO idea which libraries would be the important ones because it's a jumbled mess.
I've come to love
uv
(coming frompoetry
, coming frompip
with arequirements/base.txt
andrequirements/dev.txt
- gotta keep regular dependencies and dev-dependencies separate).uv sync
uv run <application>
That's it. I don't even need to install a compatible Python version, as
uv
takes care of that for me. It'll automatically create a local.venv/
, and it's blazingly fast.I've never really spent much time with uv, I'll give it a try. It seems like it takes a few steps out of the process and some guesswork too.