# HG changeset patch # User Rapha?l Gom?s # Date 1739374611 -3600 # Node ID 0977c6e612fe0867c466c8fb1a6a498f03935ca9 # Parent 6ce3fc909a68924feebc27d00ce05c81785d111e setup: fix `make local PURE=--rust` Turns out we don't ever build "inplace" now that a direct `setup.py` invocation is forbidden. In the context of a `pip install -e .`, we get it in `editable_mode`. diff -r 6ce3fc909a68 -r 0977c6e612fe setup.py --- a/setup.py Wed Feb 12 16:15:47 2025 +0100 +++ b/setup.py Wed Feb 12 16:36:51 2025 +0100 @@ -417,7 +417,7 @@ ) for rustext in ruststandalones: - rustext.build('' if self.inplace else self.build_lib) + rustext.build('' if self.editable_mode else self.build_lib) return build_ext.build_extensions(self)