On Fri, Jun 26, 2020 at 2:51 PM John Thorvald Wodder II
<[email protected]> wrote:
> Of the 32,517 non-matching projects, 7,117 were Odoo projects with project
> names of the form "odoo{version}_addon_{foo}" containing namespace modules of
> the form "odoo/addons/{foo}", and 3,175 were Django projects with project
> names of the form "django_{foo}" containing packages named just "{foo}". No
> other major patterns seem to stand out.
In CentOS 8 the RPM
python3-rhnlib-2.8.6-8.module_el8.1.0+211+ad6c0bc7.noarch
has loaded into the directory
/usr/lib/python3.6/site-packages
two entries
rhn # a directory
rhnlib-2.8.6-py3.6.egg-info #a file
The latter contains just this text:
Metadata-Version: 1.0
Name: rhnlib
Version: 2.8.6
Summary: Python libraries for the Spacewalk project
Home-page: http://rhn.redhat.com
Author: Mihai Ibanescu
Author-email: [email protected]
License: GPL
Description: rhnlib is a collection of python modules used by the
Spacewalk (http://spacewalk.redhat.com) software.
Platform: UNKNOWN
Nor is there a link in the other direction:
grep -iR rhnlib /usr/lib/python3.6/site-packages/rhn
#nothing
So while "rhn" bears a similarity to "rhnlib" it is neither the
package name nor is it listed in the egg-info.
This was of course installed by dnf (AKA yum) and not by egg.
Is it possible for any python installer (as opposed to dnf, which runs
outside of it) to install an unreferenced directory like this?
Presumably not with a dist-info, but with an egg-info that does not in
any way reference the active part of the installation? In a small
collection (172 packages) here these were the only two "file" egg-info
entries found, with their associated directories:
busco
BUSCO-4.0.6-py3.6.egg-info
ngs
ngs-1.0-py3.6.egg-info
In neither case does the egg-info file reference the corresponding
directory, but at least the directory in both has the expected package
name (other than case). In the examples you cited at the top, were
any of those "different name" cases from packages with a "file"
egg-info?
Thanks,
David Mathog
--
Distutils-SIG mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/DRBMPYMLRGGF2WED7AKWSQS7B7EARIVB/