Skip to content
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

Add support for --relocatable #3587

Open
yeswalrus opened this issue May 14, 2024 · 1 comment
Open

Add support for --relocatable #3587

yeswalrus opened this issue May 14, 2024 · 1 comment
Labels
compatibility Compatibility with a specification or another tool

Comments

@yeswalrus
Copy link

--relocatable was an experimental feature in older versions of the virtualenv script. We have a few use cases where it would be helpful to be able to package up a venv and copy it to a different machine, and really the only part of the activate script that we have to change is the VIRTUAL_ENV environment variable.
Would it be possible to revive this old flag & useful feature, and just have it replace the activate script's VIRTUAL_ENV='<absolute path>' with VIRTUAL_ENV='$(realpath $(dirname $0)/..)' or something like that?

@nikaro
Copy link

nikaro commented Aug 31, 2024

Likely fixed by #5515

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility Compatibility with a specification or another tool
Projects
None yet
Development

No branches or pull requests

3 participants