Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's much easier until you run into a package that doesn't have a .deb for it, like, well, CGI?

That is very much a self-inflicted wound, though. If you insist on not using the standard packaging solution for the language, you have to own the complications of that.



If you do insist on using pip, you will often find that it works very poorly or not at all if you are using an old version of either Python or some Python module. This is another aspect of the social backward compatibility problems in the current Python community.


https://packages.debian.org/sid/python3-legacy-cgi

Python has no standard packaging. They even deprecated and removed distutils (another terrible idea that caused a lot of busywork). The only way that python supports packages is via 3rd party external solutions.


Wheels are the standard Python packaging.


Source?


PEP 427


Describing a format and saying it's the standard are not one and the same.


Yeah, the distutils clusterfuck is another excellent reason someone might "insist on not using the standard packaging solution for the language": it's specifically and only the packages that did use the standard packaging solution for the language, distutils, that got broken when distutils was removed from the standard library.

I mean, I understand the desire to remove distutils. It sucked. It was the least Pythonic package in the whole Python standard library. But removing it was even worse, because it means you can't use old versions of most Python libraries with recent versions of Python.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: