File tree 1 file changed +5
-6
lines changed
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -521,18 +521,17 @@ def _read_files_egginfo_installed(self):
521
521
"""
522
522
Read installed-files.txt and return lines in a similar
523
523
CSV-parsable format as RECORD: each file must be placed
524
- relative to the site-packages directory, and must also be
524
+ relative to the site-packages directory and must also be
525
525
quoted (since file names can contain literal commas).
526
526
527
527
This file is written when the package is installed by pip,
528
528
but it might not be written for other installation methods.
529
- Hence, even if we can assume that this file is accurate
530
- when it exists, we cannot assume that it always exists.
529
+ Assume the file is accurate if it exists.
531
530
"""
532
531
text = self .read_text ('installed-files.txt' )
533
- # We need to prepend the .egg-info/ subdir to the lines in this file.
534
- # But this subdir is only available in the PathDistribution's self._path
535
- # which is not easily accessible from this base class.. .
532
+ # Prepend the .egg-info/ subdir to the lines in this file.
533
+ # But this subdir is only available from PathDistribution's
534
+ # self._path .
536
535
subdir = getattr (self , '_path' , None )
537
536
if not text or not subdir :
538
537
return
You can’t perform that action at this time.
0 commit comments