-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
--relocatable doesn't work with PyPy #204
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
Comments
+100. I've been working to debug this myself, but haven't had much luck yet. |
I suppose this is occuring because venv uses |
Yea, venv should use the 'python' name and let the symlink it creates take care of it. Or, it needs to persist the select python executable name, and use that name in the substitution. Anyway, I didn't feel like messing in virtualenv's nest, so my solution was to change each full path occurrence of "pypy" in the ENV/bin directory to "python". This allowed it to proceed with relocatableness, but it choose "python2.7" this time round for the substitution? So I just made a second symlink in bin python2.7 -> pypy, and then everything was happy, as in the relocatablized stuff ran using pypy correctly. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Just add a comment if you want to keep it open. Thank you for your contributions. |
To reproduce, create a new PyPy virtualenv
and try to make it relocatable:
The problem is that the shebang uses
pypy
notpython
:The text was updated successfully, but these errors were encountered: