Commit c2fbc91
committed
fix: rewrite venv shebangs to portable paths in tarball build
uv pip install stamps absolute build-time paths in console_scripts
shebangs (e.g. /tmp/flash-worker-build/.../python), making binaries
like uvicorn unfindable at runtime in the extracted tarball. Rewrite
any shebang referencing the build dir to #!/usr/bin/env python3 after
dependency installation.1 parent 9bfece5 commit c2fbc91
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
95 | 103 | | |
96 | 104 | | |
97 | 105 | | |
| |||
0 commit comments