cpython/Lib/packaging
Éric Araujo 37ccd6f794 Fix packaging.database.Distribution.list_distinfo_files (#12785).
This method was supposed to return only the file under the dist-info
directory, but it actually returned all installed files.

The tests didn’t catch this because they were flawed; I updated them.
Thanks to Nadeem Vawda and Jeremy Kloth for testing.

As a bonus, the removal of os.path.relpath use should also fix the
Windows buildbots.
2011-09-15 18:18:51 +02:00
..
command The value is the dotted module name to the command class. 2011-09-13 08:26:25 -06:00
compiler
pypi Use bytes regex instead of decoding whole pages 2011-09-10 18:10:58 +02:00
tests Fix packaging.database.Distribution.list_distinfo_files (#12785). 2011-09-15 18:18:51 +02:00
__init__.py
_trove.py Update list of trove classifiers to match PyPI 2011-08-30 19:05:46 +02:00
compat.py
config.py Don’t let invalid line in setup.cfg pass silently 2011-09-10 18:22:04 +02:00
create.py Clean up packaging.util: add __all__, remove some unused functions. 2011-09-01 05:11:29 +02:00
database.py Fix packaging.database.Distribution.list_distinfo_files (#12785). 2011-09-15 18:18:51 +02:00
depgraph.py Minor packaging cleanup. 2011-07-29 02:37:21 +02:00
dist.py Factor out the distribution file-system safe name functions from install_distinfo to allow all metadata consumers access to them. 2011-09-12 11:12:42 -06:00
errors.py
fancy_getopt.py
install.py Minor packaging cleanup. 2011-07-29 02:37:21 +02:00
manifest.py
markers.py
metadata.py Factor out the distribution file-system safe name functions from install_distinfo to allow all metadata consumers access to them. 2011-09-12 11:12:42 -06:00
run.py Remove unneeded --all option of “pysetup list”. 2011-09-12 16:45:38 +02:00
util.py Clean up packaging.util: add __all__, remove some unused functions. 2011-09-01 05:11:29 +02:00
version.py