We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e0e508 commit 9ad7d34Copy full SHA for 9ad7d34
setuptools/command/egg_info.py
@@ -620,13 +620,14 @@ def add_license_files(self):
620
license_files = self.distribution.metadata.license_files or []
621
for lf in license_files:
622
log.info("adding license file '%s'", lf)
623
- pass
624
self.filelist.extend(license_files)
625
626
def _add_referenced_files(self):
627
"""Add files referenced by the config (e.g. `file:` directive) to filelist"""
628
referenced = getattr(self.distribution, '_referenced_files', [])
629
# ^-- fallback if dist comes from distutils or is a custom class
+ for rf in referenced:
630
+ log.debug("adding file referenced by config '%s'", rf)
631
self.filelist.extend(referenced)
632
633
def prune_file_list(self):
0 commit comments