On 6/5/05, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > At 04:40 PM 6/5/2005 +0100, Paul Moore wrote: > >Is there a way of asking EasyInstall "what packages are installed"? > > Not the command-line script. However "ls site-packages/*.egg" or "dir > site-packages\*.egg" depending on your platform will give you the answer. [...] > Ah, I see the confusion. Yes, there's a "registry" of packages installed > by EasyInstall. They're eggs, so they're in directories or files named for > the distribution, version, python version, and platform. So the > installation *itself* is the registry, and therefore can't be corrupted or > out of date.
I see. On the other hand, there's this .pth file containing the egg name, so you can't just add & remove egg files, you do need to go through the EasyInstall interface or things get mixed up. So there is some (relatively minor) level at which things are more "managed" than just file copies. And of course, egg files with non-standard names are "not in the registry" to some extent. So there's still a sense in which a registry is needed... Paul. _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
