[Pythonmac-SIG] Creating an 'inventory' of PYTHONPATH modules?

Tom Bridgman cygnusx1 at mac.com
Wed Apr 19 02:23:32 CEST 2006


This not be the right list for this but maybe someone can point me in 
the right direction.  Apologies in advance.

In my day job, I work in an environment with many (>10) Mac OS X & 
Linux boxes and python is getting a fair amount of usage.  
Unfortunately, a number of us have custom installations (home directory 
site-packages, modules in /usr/lib and /usr/local/lib trees, etc.) 
since root access is tightly controlled.

There's now talk of 'standardizing' our installations but the idea of 
tracking down all the modules/versions etc. in use across multiple 
machines is daunting.  The goal is to NFS mount these installations in 
a shared directory (probably separated by platform).   Performing 
custom installations on each system via package manager or similar 
mechanism is just not practical in our environment.

Has anyone written a (presumably python) package that could collect a 
listing of all the modules accessible through PYTHONPATH, possibly 
including version information and dependencies?

Google searches revealed some ASPN recipes that are similar to what I 
seek but not quite there.

Ideas?

Thanks,
Tom
--
W.T. Bridgman, Ph.D.
Physics & Astronomy



More information about the Pythonmac-SIG mailing list