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 Apr 24, 2023
1 parent 9768013 commit 6e59b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setuptools/command/editable_wheel.py
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 6e59b04

Please sign in to comment.