Skip to content

Commit dc38b1e

Browse files
committed
Improve debug printing for Meson editable installs
1 parent 7742429 commit dc38b1e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

spin/cmds/pip.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ def install(pip_args, verbose, editable):
3636
pip_args += ["--no-build-isolation"]
3737
if editable:
3838
pip_args += ["--editable"]
39+
if verbose:
40+
# In case meson is used to install the editable hook, tell it to
41+
# print verbose output each time an import triggers a build.
42+
# This does not seem to affect setuptools builds.
43+
pip_args = ["--config-settings=editable-verbose=true"] + pip_args
3944

4045
pip_args = (["-v"] if verbose else []) + pip_args
4146

0 commit comments

Comments
 (0)