uv/crates/uv-python/src
Geoffrey Thomas 25e7209a33
Patch pkg-config files to be relocatable (#11291)
Previously, we patched pkg-config .pc files to have the absolute path to
the directory where we unpack a python-build-standalone release. As
discussed in #11028, we can use ${pcfiledir} in a .pc file to indicate
paths relative to the location of the file itself.

This change was implemented in astral-sh/python-build-standalone#507, so
for newer python-build-standalone releases, we don't need to do any
patching. Optimize this case by only modifying the .pc file if an actual
change is needed (which might be helpful down the line with hard links
or something). For older releases, change uv's patch to match what
python-build-standalone now does.
2025-02-07 17:03:55 -06:00
..
sysconfig Patch pkg-config files to be relocatable (#11291) 2025-02-07 17:03:55 -06:00
cpuinfo.rs Fix hard and soft float libc detection for managed Python distributions on ARM (#8498) 2024-10-29 23:46:21 +00:00
discovery.rs Allow discovering virtual environments from the first interpreter found on the `PATH` (#11218) 2025-02-04 15:41:37 -06:00
downloads.inc Sync latest Python releases (#11318) 2025-02-07 09:42:20 -06:00
downloads.inc.mustache Allow download of Python distribution variants with newer CPU instruction sets (#9781) 2024-12-10 14:26:45 -06:00
downloads.rs Update `uv python install --reinstall` to reinstall all previous versions (#11072) 2025-01-30 10:08:06 -06:00
environment.rs Avoid resolving symbolic links when querying Python interpreters (#11083) 2025-01-30 10:10:33 -06:00
implementation.rs Prefer Python executable names that match the request over default names (#9066) 2024-11-13 10:00:23 -06:00
installation.rs Allow fallback to Python download on non-critical discovery errors (#10908) 2025-01-23 22:37:02 +00:00
interpreter.rs uv-python tests: Use #!/bin/sh instead of #!/bin/bash (#11292) 2025-02-07 09:42:33 -06:00
lib.rs uv-python tests: Use #!/bin/sh instead of #!/bin/bash (#11292) 2025-02-07 09:42:33 -06:00
libc.rs Consistently write log messages with capitalized first word (#11111) 2025-01-30 18:56:46 +00:00
macos_dylib.rs Install and remove managed Python to and from the Windows Registry (PEP 514) (#10634) 2025-01-23 14:13:41 +00:00
managed.rs Install and remove managed Python to and from the Windows Registry (PEP 514) (#10634) 2025-01-23 14:13:41 +00:00
microsoft_store.rs Install and remove managed Python to and from the Windows Registry (PEP 514) (#10634) 2025-01-23 14:13:41 +00:00
platform.rs Install and remove managed Python to and from the Windows Registry (PEP 514) (#10634) 2025-01-23 14:13:41 +00:00
pointer_size.rs Change "toolchain" to "python" (#4735) 2024-07-03 07:44:29 -05:00
prefix.rs Add `uv-` prefix to all internal crates (#7853) 2024-10-01 20:15:32 -04:00
python_version.rs Introduce a `--fork-strategy` preference mode (#9868) 2024-12-13 16:05:07 -05:00
target.rs Add `uv-` prefix to all internal crates (#7853) 2024-10-01 20:15:32 -04:00
version_files.rs Discover and respect `.python-version` files in parent directories (#6370) 2024-11-07 14:29:54 -06:00
virtualenv.rs Set base executable when returning virtual environment (#11209) 2025-02-04 22:32:47 +00:00
windows_registry.rs Install and remove managed Python to and from the Windows Registry (PEP 514) (#10634) 2025-01-23 14:13:41 +00:00