[CentralOH] easy_install find_links

Mark Erbaugh mark at microenh.com
Tue Jun 14 02:55:22 CEST 2011

I'm still working on the procedures for setting up a repeatable development environment.

I'm trying to combine the instructions in Chapter 4 of "Foundations of Agile Python Development" by Jeff Younker with virtualenv, which he doesn't discuss.

I've created a setup.py file that properly downloads and installs needed library files (in my case, reportlab 2.5 and webpy 0.3), but I'm running into a problem getting setup to look for local copies of these files.

I've downloaded the appropriate files to a directory named thirdparty at the same level as setup.py and setup.cfg.  I've added find_links=thirdparty to the [easy_install] section of setup.cfg, but when I run python setup.py develop, it still looks to pypi and reads the installers from the web. At least that's what I think is going on - in the output I see:

> Reading http://pypi.python.org/simple/web.py/
> Reading http://webpy.org/

But if I install the packages manually with easy_install --find_links thirdparty 'reportlab==2.5' it happily installs from my local directory.

FWIW, I'm also installing a library that only exists locally and for that one, I see no evidence of looking for it online (in fact, if it weren't available locally the search would fail) and it does get successfully installed.

Any ideas?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/mailman/private/centraloh/attachments/20110613/69d31d12/attachment.html>

More information about the CentralOH mailing list