uv/crates/install-wheel-rs/src
Charlie Marsh 9566ac9b85
Write relative paths for scripts in data directory (#2348)
## Summary

In #2000, I shipped a regression whereby we stopped writing relative
paths for scripts within `data` directories. The net effect here is that
we aren't _uninstalling_ binaries in all cases. (This does _not_ apply
to entrypoints, only scripts in `data` directories.)

Closes https://github.com/astral-sh/uv/issues/2330.

## Test Plan

Most Python packages ship entrypoints, not binaries, so I don't know how
to test this cheaply. But I did test it locally by verifying that `uv`
is now removed from the `bin` directory after an uninstall.
2024-03-10 23:02:02 +00:00
..
lib.rs Add `Seek` fallback for zip files (#2320) 2024-03-10 11:39:28 -04:00
linker.rs Use simpler pip-like `Scheme` for install paths (#2173) 2024-03-04 15:50:13 -05:00
metadata.rs Add `Seek` fallback for zip files (#2320) 2024-03-10 11:39:28 -04:00
record.rs Remove some unused code from `install-wheel-rs` (#2001) 2024-02-27 04:27:25 +00:00
script.rs Future-proof pip entrypoints special case (#1982) 2024-03-01 10:05:50 +01:00
uninstall.rs Close `RECORD` after reading entries during uninstall (#2259) 2024-03-07 04:35:22 +00:00
wheel.rs Write relative paths for scripts in data directory (#2348) 2024-03-10 23:02:02 +00:00