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

activate_this.py: only prepend to $PATH if required #493

Closed
blueyed opened this issue Oct 31, 2013 · 1 comment
Closed

activate_this.py: only prepend to $PATH if required #493

blueyed opened this issue Oct 31, 2013 · 1 comment

Comments

@blueyed
Copy link

blueyed commented Oct 31, 2013

activate_this.py prepends the virtualenv's "bin" directory to $PATH unconditionally, i.e. also if it's there already.

blueyed added a commit to blueyed/virtualenv that referenced this issue Oct 31, 2013
If the bin dir is already in $PATH, do not prepend it again.
This might happen after `workon` had been used and the virtualenv gets
activated in e.g. Vim again via the Python API.

Ref: pypa#14
Fixes pypa#493
@stale
Copy link

stale bot commented Jan 15, 2019

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.

@stale stale bot added the wontfix label Jan 15, 2019
@stale stale bot closed this as completed Jan 22, 2019
@pypa pypa locked and limited conversation to collaborators Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant