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.

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to