-
Notifications
You must be signed in to change notification settings - Fork 809
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows: symbolic link to the exe
created by uv can not work
#1766
Comments
Thanks for reporting. Hmm, that's going to be interesting. What I understand from the error is that our shim fails to locate the |
On unix we use the absolute path as interpreter, maybe we can embed it in the binary too. Otherwise we need to find a solution that works with symlinks, junctions and hardlinks (as far as these work with exes at all). |
Yes, I agree this should be the best solution. |
I considered searching for the shebang of the script and use that hehe. But it would require unzipping the script. I don't know if there's another way to embed it except if we manipulate the binary in place which sounds scary |
It looks like |
Information
The original issue is from astral-sh/rye#696.
Rye creates symbolic links to installed script under
~/.rye/shims
, but the script created byuv
can not work. The defaultpip-tools
created script works fine.Steps to reproduce
The text was updated successfully, but these errors were encountered: