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.

Published by olleolleolle

Olle is a programmer, enjoying sunny Malmö in Sweden.

Leave a comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.