mirror of
https://github.com/astral-sh/uv
synced 2026-01-21 13:30:11 -05:00
From PEP 517:
> All command-line scripts provided by the build-required packages must
be present in the build environment’s PATH. For example, if a project
declares a build-requirement on flit, then the following must work as a
mechanism for running the flit command-line tool:
>
> ```python
> import subprocess
> import shutil
> subprocess.check_call([shutil.which("flit"), ...])
> ```
Fixes #9991
---------
Co-authored-by: Charles Tapley Hoyt <cthoyt@gmail.com>