Mercurial > public > mercurial-scm > hg-stable
changeset 52894:0977c6e612fe
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`.
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Wed, 12 Feb 2025 16:36:51 +0100 |
parents | 6ce3fc909a68 |
children | 384ecbc8f8ca |
files | setup.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)