Doing a quick search of SO, I didn't find anything, but feel free to just redirect me. Basically, I'm new to Python and just trying to understand how it's packages work. Presumably "eggs" are some sort of packaging mechanism, but if someone could give me a quick overview of what role they play and maybe some information on why they're useful and how to create them.
+15
A:
same concept as a .jar file in Java, it is a .zip file with some metadata files renamed .egg, for distributing code as bundles.
fuzzy lollipop
2010-01-12 18:06:42
A:
Analogous to Debian .deb
archives: code bundle with meta-data to help with the management of the archive e.g. installation, script extraction etc.
jldupont
2010-01-12 18:08:22
+4
A:
Google hit #3: http://www.ibm.com/developerworks/library/l-cppeak3.html
Google hit #5: http://stackoverflow.com/questions/2026395/how-to-create-python-egg-file
S.Lott
2010-01-12 18:08:45
I suppose this is what I get for using Bing. Search "what is a python egg" and neither of those are on the first page.
Bialecki
2010-01-12 18:29:31
Thanks, this is what I was looking for: http://www.ibm.com/developerworks/library/l-cppeak3.html#N10232.
Bialecki
2010-01-12 18:31:00
It helps to avoid "noise" words like "what", "is", and "a".
S.Lott
2010-01-12 19:17:34
what's bing ?..
Stefano Borini
2010-01-13 03:56:52
Bing == Because It's Not Google. Microsoft's new search engine. Different page-ranking. Less clutter.
S.Lott
2010-01-13 11:04:16
@S.Lott: ...more junk :)
George Edison
2010-05-08 19:49:53
@S.Lott Less Capable as well apparently
fuzzy lollipop
2010-09-30 20:08:41
+1
A:
As someone who loathes .egg files, I use this to install Python packages that use setuptools:
python setup.py install --single-version-externally-managed --root=/
this will install the package in non-egg form.
If a package just uses distutils, then:
python setup.py install
will suffice.
jps
2010-01-13 03:06:06