Develop: look for PKG-INFO files recursively

Bug #919147 reported by Wolfgang Schnerring on 2012-01-20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Tres Seaver

Bug Description

At the moment, pkginfo.Develop('path') looks for a folder '*.egg-info' in the given path.

However, a lot of source distributions (Zope's come to mind) are structured like this:

Intuitively, I'd want to point Develop at the directory that contains the, but then it would have to look for the egg-info folder in subdirectories, too.

Tres Seaver (tseaver) wrote :

I would be willing to merge a branch which added a tested feature for your
use case.

For instance, if all the "normal" candidates fail, you could look for a
'' in the original path: if present, you could create a
tempdir, and then run 'python egg_info --egg-base=/path/to/tempdir'
in a subprocess: the 'tempdir' would then contain the '*.egg-info'

Changed in pkginfo:
status: New → Incomplete
Tres Seaver (tseaver) wrote :

I just pushed a change which implements this feature:

Changed in pkginfo:
assignee: nobody → Tres Seaver (tseaver)
status: Incomplete → Fix Committed
Tres Seaver (tseaver) wrote :
Changed in pkginfo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers