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:
Bernát Gábor 2020-12-14 20:13:50 +00:00 committed by GitHub
parent e0e5bdbf8d
commit bd4d3b9d09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -474,7 +474,8 @@ following criteria:
work as a mechanism for running the flit command-line tool::
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
meets the above criteria. In particular, it MUST NOT assume that it