
On Sat, 27 Jun 2020 at 01:37, David Mathog <dmathog@gmail.com> wrote:
Thanks for that feedback. Looks like RECORD is the one to use.
The names of the directories ending in dist-info seem to be uniformly:
package-version.dist_info
Note that if you're doing something like this, you should probably read PEP 376 (https://www.python.org/dev/peps/pep-0376/) which defines the standard layout of installed packages.
but the directory names associated with eggs come in a lot of flavors:
anndata-0.6.19-py3.6.egg cutadapt-2.10.dev20+g93fb340-py3.6-linux-x86_64.egg scanpy-1.5.2.dev7+ge33a2f33-py3.6.egg h5py-2.9.0-py3.6-linux-x86_64.egg simplejson-3.17.0-py3.6.egg-info
The egg format is an older format that was never standardised, so details of that format are likely somewhere in the setuptools documentation. .egg-info directories are the older equivalent of dist-info directories, but egg directories are a very different format (they contain the full distribution plus metadata in one directory). You;d have to find the setuptools documentation of the egg format for that. (Note that the egg format is obsolete, so you may need to look at older documentation - I don't know if the current setuptools docs describe the format). I'm not aware what other formats tools like conda use, sorry. Paul