uv/python/uv
konsti ff860296c5
Use shutil.which for the build backend (#10028)
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>
2024-12-20 10:15:24 +01:00
..
__init__.py Add hint on build backend import with preview disabled (#9691) 2024-12-06 14:08:00 -06:00
__main__.py Discover and prefer the parent interpreter when invoked with python -m uv (#3736) 2024-05-22 11:34:24 -05:00
_build_backend.py Use shutil.which for the build backend (#10028) 2024-12-20 10:15:24 +01:00
_find_uv.py Add build backend scaffolding (#7662) 2024-09-24 19:23:17 +02:00
py.typed Expose find_uv_bin and declare typing support (#1728) 2024-02-20 09:21:58 -06:00