News for hackers. Stuff that matters.
Re:PEP 427 – The Wheel Binary Package Format 1.0 by StavrosK on Saturday February 16, 2013 @02:02PM (#5232544)
Can someone explain the situation with eggs and all the installation utilities? After years of programming in python, I still don't understand why everyone makes such a huge deal of installation, which is basically copying things somewhere in the PYTHONPATH.
Re:PEP 427 – The Wheel Binary Package Format 1.0 by lloeki on Saturday February 16, 2013 @02:20PM (#5232624)
First, this does not require code to execute (which setuptools require).

Second, the problem is to know what to copy, or rather what to get. even when it's pure python it can be a problem (e.g py2 vs py3) and it's even more of one with e.g C extensions, where you have a choice of building it from source (thus requiring gcc and all build dependencies such as headers) or getting a pre-built binary tied to a given platform.

Ruby gems support that since quite some time, and it's a bliss to install e.g the libv8 gem in a few seconds vs a lengthy build.

[0]: https://rubygems.org/gems/libv8/versions

Re:PEP 427 – The Wheel Binary Package Format 1.0 by StavrosK on Saturday February 16, 2013 @02:44PM (#5232706)
Oh, so it's more of an improvement rather than "eggs are horribly broken". I think I'm confused with the "easy_install vs pip" thing, where I also don't see much of a difference.

Easy binary retrieval sounds fantastic, though.

Re:PEP 427 – The Wheel Binary Package Format 1.0 by qznc on Saturday February 16, 2013 @03:27PM (#5232877)
A somewhat summarizing article about Python-packaging: http://lucumr.pocoo.org/2012/6/22/hate-hate-hate-everywhere/
Re:PEP 427 – The Wheel Binary Package Format 1.0 by StavrosK on Saturday February 16, 2013 @03:32PM (#5232897)
That clarifies things, thanks. I had read it before, but I needed a refresher.
Re:PEP 427 – The Wheel Binary Package Format 1.0 by slurgfest on Saturday February 16, 2013 @03:00PM (#5232759)
If you can get by just using pip then there is no need to worry about eggs