PEP-517: On Windows the subprocess calls don't start resolving from the PATH (#1730)
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
This commit is contained in:
parent
e0e5bdbf8d
commit
bd4d3b9d09
|
@ -474,7 +474,8 @@ following criteria:
|
||||||
work as a mechanism for running the flit command-line tool::
|
work as a mechanism for running the flit command-line tool::
|
||||||
|
|
||||||
import subprocess
|
import subprocess
|
||||||
subprocess.check_call(["flit", ...])
|
import shutil
|
||||||
|
subprocess.check_call([shutil.which("flit"), ...])
|
||||||
|
|
||||||
A build backend MUST be prepared to function in any environment which
|
A build backend MUST be prepared to function in any environment which
|
||||||
meets the above criteria. In particular, it MUST NOT assume that it
|
meets the above criteria. In particular, it MUST NOT assume that it
|
||||||
|
|
Loading…
Reference in New Issue