uv
uv copied to clipboard
/bin/sh is used as a const in for relocatable console_scripts in the shebang
I have a console script which invokes a code that expects environments variables containing a dot (.) in their names to be passed. Sadly unlike "/bin/bash", /bin/sh does not support environment variable names in that format. It would be really nice if you could respect the "SHELL" env var to override the shebang in the relocatable console_scripts. This is the relevant line of code: https://github.com/astral-sh/uv/blob/9e2e9f2d10e69e48ac0c58359db9a1c5208cff8b/crates/uv-install-wheel/src/wheel.rs#L131