Develop: look for PKG-INFO files recursively
Bug #919147 reported by
Wolfgang Schnerring
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pkginfo |
Fix Released
|
Undecided
|
Tres Seaver |
Bug Description
At the moment, pkginfo.
However, a lot of source distributions (Zope's come to mind) are structured like this:
zope.foo/
setup.py
src/
zope/
zope.
Intuitively, I'd want to point Develop at the directory that contains the setup.py, but then it would have to look for the egg-info folder in subdirectories, too.
To post a comment you must log in.
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 /path/to/ tempdir'
'setup.py' in the original path: if present, you could create a
tempdir, and then run 'python setup.py egg_info --egg-base=
in a subprocess: the 'tempdir' would then contain the '*.egg-info'
directory.