Skip to content

Commit

Permalink
Simplify run_command in editable_wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed May 3, 2023
1 parent 4822477 commit e3ed905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setuptools/command/editable_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def _get_dist_info_name(self, tmp_dir):

def _ensure_dist_info(self):
if not Path(self.dist_info_dir, "METADATA").exists():
self.distribution.run_command("dist_info")
self.run_command("dist_info")

def _install_namespaces(self, installation_dir, pth_prefix):
# XXX: Only required to support the deprecated namespace practice
Expand Down

0 comments on commit e3ed905

Please sign in to comment.