From f2cd90fde889a8c5250af1a3e0aeae0900f078ed Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Wed, 17 Jul 2024 15:14:41 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B9=20Feed=20the=20hobgoblins=20(delin?= =?UTF-8?q?t).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #4473. --- setuptools/command/editable_wheel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setuptools/command/editable_wheel.py b/setuptools/command/editable_wheel.py index f6f0657e8c2..13c450cb494 100644 --- a/setuptools/command/editable_wheel.py +++ b/setuptools/command/editable_wheel.py @@ -299,7 +299,7 @@ def _run_build_subcommands(self) -> None: build = self.get_finalized_command("build") for name in build.get_sub_commands(): cmd = self.get_finalized_command(name) - if name == "build_py" and type(cmd) != build_py_cls: + if name == "build_py" and type(cmd) is not build_py_cls: self._safely_run(name) else: self.run_command(name)