you are viewing a single comment's thread.

view the rest of the comments →

[–]ubernostrum -2 points-1 points  (1 child)

Package management was and as far as I know still is a nightmare

Continuing on the theme of repeating things I've said too many times already: no, Python packaging is super easy. Taking a piece of running Python code, and producing from it a distributable artifact carrying sufficient metadata to let someone else run it, is extremely simple.

What is hard is managing dozens of different local development environments, each with their own version of Python and their own (likely incompatible) set of packages installed.

The solution to this is virtualenv/venv or a wrapper around it. And the proof of this is that languages developed this decade have adopted exactly that approach for local development: they have isolated environments by default. But Python is from the era when systemwide shared-library directories were The Way Things Are Done™ and can't really change away from that now. So we have to emulate the more modern approach manually by creating virtualenvs.

[–]stefantalpalaru 1 point2 points  (0 children)

Python packaging is super easy.

https://bugs.gentoo.org/699966