Automatically installing libraries?

Bruno Desthuilliers onurb at xiludom.gro
Mon Sep 18 09:59:16 EDT 2006


Chaz Ginger wrote:
> Here is a problem I am trying to solve; I am sure there must be an easy
> way to do it and I just don't know how.
> 
> I have a rather large application that I am writing. To make it easy for
> the user to run I have them run a startup.py script. This script will
> try to load each of the third party libraries the application will need.
> If it is present, great. If it isn't, I would like to automatically
> install it. This is the heart of my problem: is there a Python
> equivalent to PERL's CPAN?

Not quite. But you should definitively have a look at setuptools before
proceeding to reinventing the SquareWheel(tm):

http://peak.telecommunity.com/DevCenter/setuptools


-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"



More information about the Python-list mailing list