[Distutils] Installed Packages..

P.J. Eby pje at telecommunity.com
Fri May 1 17:15:08 CEST 2009


At 08:50 AM 5/1/2009 -0400, David Lyon wrote:
>It seems you are right...
>But ... when I check more closely .. I see that the above code doesn't
>really display all the installed packages in the site-lib directory.
>There are some directories in there that don't get included in the
>results. I would love to know why.
>So I am realising that the above code doesn't give the right answers.
>I thought if programmers used distutils and so forth everything would
>work "properly".

The packages have to be installed using either setuptools, or Python 
2.5+ distutils, in order for them to be listable via pkg_resources.



More information about the Distutils-SIG mailing list