Hacker News new | past | comments | ask | show | jobs | submit login
Python manylinux (github.com/pypa)
59 points by awinter-py on May 4, 2016 | hide | past | favorite | 9 comments



A mention of what a "wheel" is would be nice somewhere. I associate it with the "wheel bit", which appears to be entirely unrelated.


A wheel is a zip file that can be interpreted as a python library; it contains the file layout as it should be installed in on the destination machine.

Wheels can include binary executables; until recently, there was no standard way to target linux, so win32 & osx installations for certain python libraries were way faster. The manylinux project makes it possible to distribute binaries for most linux distros by linking against common versions of shared libraries.

With luck this will replace distro-specific packages (i.e. apt-get, yum, apk) for python libraries with large compiled binaries. That's good for users ('pip install' works for more cases) and for package maintainers (less customization to support).


awinter-py has the correct answer.

And in keeping with the cheese shop gag, a wheel is "A container for cheese." http://wheel.readthedocs.io/en/latest/


What came first, egg or the wheel? The egg.


Wheels are Python packages, not unlike Ruby gems. They can optionally include shared libraries which extend Python with native code. This appears to be an attempt to standardize how such libraries are compiled for Linux.


Looks like arch users will need to install at least one package from the AUR(ncurses5). But apart from that, I'm pretty excited for this, it should make stuff like installing pyqt5 in a virtualenv really simple.


Does this mean no more need for a c compiler (and associated libraries) when using pip?


Yes.


Does anyone else think that github project pages are horrendous?




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: