-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jens Vagelpohl wrote:
On 8/2/10 18:26 , Martijn Faassen wrote:
You can probably create a Distribution object somehow (handwave) from a path (whether that's the path of the package or the path the package is in, not sure).
The issue, just like with pkginfo.Develop, is that I can't find any function or method that finds package information in subfolders. If you look at...
http://packages.python.org/distribute/pkg_resources.html#getting-or-creating...
...there's this function find_distributions which supposedly offers subfolder searching, but it just doesn't work. At least it doesn't do what I would expect when I read the documentation. It finds nothing.
The 'pkginfo' utility knows how to extract package metadata from stuff installed on the path: http://packages.python.org/pkginfo/distributions.html#introspecting-installe... as well as from checkouts: http://packages.python.org/pkginfo/distributions.html#introspecting-developm... Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkxXRIgACgkQ+gerLs4ltQ4n+QCdFy+tKu+Gjsi0qqNd+fwdEa5K pIkAn1uef9EUaOCib+xKI5UWcJPytKLD =4+bj -----END PGP SIGNATURE-----