summaryrefslogtreecommitdiff
path: root/setuptools/command
diff options
context:
space:
mode:
authorAnderson Bravalheri <andersonbravalheri@gmail.com>2022-08-15 17:39:35 +0100
committerAnderson Bravalheri <andersonbravalheri@gmail.com>2022-08-15 17:39:35 +0100
commit4371f3b79c3a65d453459e25de38cf03b98ff91d (patch)
tree43ee653094cec31a90a24b0a65877d5238f39525 /setuptools/command
parentcd34c95d220f75cd71e305889773200da70f757d (diff)
downloadpython-setuptools-git-4371f3b79c3a65d453459e25de38cf03b98ff91d.tar.gz
Fix backward compatibility with distutils
Diffstat (limited to 'setuptools/command')
-rw-r--r--setuptools/command/editable_wheel.py2
1 files changed, 2 insertions, 0 deletions
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] = []