[Distutils] Finding only activated eggs in Environment()
ianb at colorstudy.com
Tue Nov 22 17:27:33 CET 2005
Phillip J. Eby wrote:
> At 05:27 PM 11/21/2005 -0800, Rob Cakebread wrote:
>>I'm using pkg_resources.Environment() to get a list of all
>>Besides making a list of activated eggs with
>>and comparing it with pkg_resources.Environment, is there
>>a way to check if an individual egg is activated?
> if someDist in working_set:
> # a distribution w/same location/version/pyversion/etc.
> # is in there
Relatedly, how do I get all the distributions, not just the active ones?
I added a command to Paste Script for display information about entry
points, but it only gets the active distributions.
Ian Bicking / ianb at colorstudy.com / http://blog.ianbicking.org
More information about the Distutils-SIG