pkginfo fails when asking about itself
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pkginfo |
Fix Released
|
Undecided
|
Tres Seaver |
Bug Description
When running `pkginfo`pkginfo`, I get an error:
No PKG-INFO found for package: pkginfo
Expected behaviour
=======
According to `pkginfo --help`, pkginfo is able to work with installed packages:
```
o an installed package: in this case, 'path' should be the importable name
of the package.
```
I would expect it to do so, esp. whit itself.
How to reproduce
=======
$ pip3 install --user -U pip>=20.0
$ pip3 install --user pkginfo==1.5.0.1
$ pip3 show -f pkginfo
Name: pkginfo
Version: 1.5.0.1
…
Files:
../..
pkginfo-
pkginfo-
pkginfo-
pkginfo-
pkginfo-
pkginfo-
pkginfo-
pkginfo/
…
$ pkginfo pkginfo
$ pkginfo pkginfo
~/.local/
warnings.warn('No PKG-INFO found for package: %s' % self.package_name)
Changed in pkginfo: | |
status: | Confirmed → Fix Committed |
Changed in pkginfo: | |
status: | Fix Committed → Fix Released |
Current setuptools installs the package metadata in a 'foo-x. y.z-dist- info' subudirectory of 'site-packages'.