Python egg-serving

Once, I showed how to serve RubyGems, the distributable Ruby modules.

Serving “eggs”, the Python equivalent, is also very simple, it turns out.

In my case, the lean simplicity of “let’s have the company-used eggs closer to home” was very simple: a user-side configuration file ~/.pydistutils.cfg:

[easy_install]
# use download links on these pages before consulting PyPI
find_links = http://ollehost.dk/py

Then I plonk all my Python eggs in that folder. (Will have to go back and see what format they are supposed to be in.)

$ easy_install olle
Searching for olle
Reading http://ollehost.dk/py
Reading http://pypi.python.org/simple/olle/
Couldn't find index page for 'olle' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
No local packages or download links found for olle
error: Could not find suitable distribution for Requirement.parse('olle')

Yeah, and I am back in Sweden, too.

About olleolleolle

Olle is a programmer for hire, enjoying sunny Malmö in Sweden.
This entry was posted in General. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>