Skip to content

Commit

Permalink
Update setuptools/command/bdist_wheel.py
Browse files Browse the repository at this point in the history
Co-authored-by: Anderson Bravalheri <andersonbravalheri+github@gmail.com>
  • Loading branch information
pelson and abravalheri authored Sep 26, 2024
1 parent 2f3b273 commit cf299fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setuptools/command/bdist_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,7 @@ def run(self):
distinfo_dir = os.path.join(self.bdist_dir, distinfo_dirname)
if self.dist_info_dir:
# Use the given dist-info directly.
log.debug(f"reusing {self.dist_info_dir}")
shutil.copytree(self.dist_info_dir, distinfo_dir)
# Egg info is still generated, so remove it now to avoid it getting
# copied into the wheel.
Expand Down

0 comments on commit cf299fc

Please sign in to comment.