From 4371f3b79c3a65d453459e25de38cf03b98ff91d Mon Sep 17 00:00:00 2001 From: Anderson Bravalheri Date: Mon, 15 Aug 2022 17:39:35 +0100 Subject: Fix backward compatibility with distutils --- setuptools/command/editable_wheel.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'setuptools/command') diff --git a/setuptools/command/editable_wheel.py b/setuptools/command/editable_wheel.py index 560efebd..ea214841 100644 --- a/setuptools/command/editable_wheel.py +++ b/setuptools/command/editable_wheel.py @@ -237,6 +237,8 @@ class editable_wheel(Command): cmd = dist.get_command_obj(cmd_name) if hasattr(cmd, "editable_mode"): cmd.editable_mode = True + elif hasattr(cmd, "inplace"): + cmd.inplace = True # backward compatibility with distutils def _collect_build_outputs(self) -> Tuple[List[str], Dict[str, str]]: files: List[str] = [] -- cgit v1.2.1