Commit 3e32a4f8 by arl Committed by GitHub

fix: properly get and install the dependencies for an editable build (#7579)

parent 0e72a55c
...@@ -125,13 +125,14 @@ class Chef: ...@@ -125,13 +125,14 @@ class Chef:
error: Exception | None = None error: Exception | None = None
try: try:
with redirect_stdout(stdout): with redirect_stdout(stdout):
dist_format = "wheel" if not editable else "editable"
env.install( env.install(
builder.build_system_requires builder.build_system_requires
| builder.get_requires_for_build("wheel") | builder.get_requires_for_build(dist_format)
) )
path = Path( path = Path(
builder.build( builder.build(
"wheel" if not editable else "editable", dist_format,
destination.as_posix(), destination.as_posix(),
) )
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment