Include trampolines in sdist on Windows (#9172)

Naive fix for

```
         Compiling uv-trampoline-builder v0.0.1 (C:\Users\...\AppData\Local\uv\cache\sdists-v6\pypi\uv\0.5.2\9xswF03fJ5dr3vH_iowkm\src\crates\uv-trampoline-builder)
      error: couldn't read `crates\uv-trampoline-builder\src\../../uv-trampoline/trampolines/uv-trampoline-x86_64-gui.exe`: The system cannot find the path specified. (os error 3)
        --> crates\uv-trampoline-builder\src\lib.rs:21:5
         |
      21 |     include_bytes!("../../uv-trampoline/trampolines/uv-trampoline-x86_64-gui.exe");
         |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
```

Closes: https://github.com/astral-sh/uv/issues/9138.
This commit is contained in:
Zanie Blue 2024-11-17 19:47:25 -06:00 committed by GitHub
parent 12266f8f81
commit 7e36bc1f54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ include = [
# this one isn't discovered by maturin because it's behind a feature flag # this one isn't discovered by maturin because it's behind a feature flag
{ path = "crates/uv-performance-memory-allocator/**/*", format = ["sdist", "wheel"] }, { path = "crates/uv-performance-memory-allocator/**/*", format = ["sdist", "wheel"] },
{ path = "crates/uv-performance-flate2-backend/**/*", format = ["sdist", "wheel"] }, { path = "crates/uv-performance-flate2-backend/**/*", format = ["sdist", "wheel"] },
{ path = "crates/uv-trampoline/trampolines/*", format = "sdist" },
{ path = "LICENSE-APACHE", format = "sdist" }, { path = "LICENSE-APACHE", format = "sdist" },
{ path = "LICENSE-MIT", format = "sdist" }, { path = "LICENSE-MIT", format = "sdist" },
] ]