[Zope-dev] docs.zope.org automation

Brian Sutherland brian at vanguardistas.net
Mon Aug 2 15:38:31 EDT 2010


On Mon, Aug 02, 2010 at 06:34:21PM +0200, Jens Vagelpohl wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 8/2/10 18:26 , Martijn Faassen wrote:
> > http://packages.python.org/distribute/pkg_resources.html
> > 
> > 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-distributions
> 
> ...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.

Do you have access to an source distribution (tarball or zip) for the
package involved?

In the source distribution the PKG-INFO file is always at the top level.

> jens
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.8 (Darwin)
> 
> iEYEARECAAYFAkxW840ACgkQRAx5nvEhZLK0MgCfWNsSL47dimbU9TlIZNSRq07h
> HLIAoIYYLdYUsA5PhYrtqhu9EaVk8Nip
> =GbbC
> -----END PGP SIGNATURE-----
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev at zope.org
> https://mail.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists - 
>  https://mail.zope.org/mailman/listinfo/zope-announce
>  https://mail.zope.org/mailman/listinfo/zope )

-- 
Brian Sutherland


More information about the Zope-Dev mailing list