Find egg info for installed packages with a namespace
Bug #934311 reported by
Thomas Lotze
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pkginfo |
Fix Released
|
Undecided
|
Tres Seaver |
Bug Description
Something like this:
pkginfo.
won't find egg info because it isn't looked for in enough places up the directory hierarchy.
The algorithm is to look for egg-info files or directories inside the package or its immediate parent directory, but if the package is nested in one or more namespaces, alongside the distribution is actually one further level up the directory hierarchy for each namespace.
To post a comment you must log in.
To reproduce::
$ virtualenv --no-site-packages /tmp/lp934311 warn('No PKG-INFO found for package: %s' % self.package_name)
$ cd /tmp/lp934311
$ bin/easy_install pkg_info zope.interface
$ bin/pkginfo zope.interface
No PKG-INFO found for package: zope.interface
warnings.