Repository navigation
Conversation
Using `$_OLD_VIRTUAL_PATH` will overwrite any changes to $PATH inbetween activating and deactivating the virtualenv. It also does not behave well with `exec $SHELL` (reloading your shell). `remove_from_path` is taken from pyenv/rbenv's pyenv-which/rbenv-which shim (https://github.com/sstephenson/rbenv/blob/e851250/libexec/rbenv-which#L18-L27).
3ed2cdf to
6b44d8d
Compare
d33e617 to
1682ed6
Compare
|
@blueyed I like the idea of this, however concerned that this might not be portable shell code? We don't have the luxury of demanding bash. |
|
Hello! As part of an effort to ease the contribution process and adopt a more standard workflow pip has switched to doing development on the If you do nothing, this Pull Request will be automatically closed by @BrownTruck since it cannot be merged. If this pull request is still valid, please rebase it against If you choose to rebase/merge and resubmit this Pull Request, here is an example message that you can copy and paste: |
|
@BrownTruck / @dstufft @Ivoz |
|
This Pull Request was closed because it cannot be automatically reparented to the Please feel free to re-open it or re-submit it if it is still valid and you have rebased it onto |
Using
$_OLD_VIRTUAL_PATHwill overwrite any changes to $PATH inbetweenactivating and deactivating the virtualenv. It also does not behave
well with
exec $SHELL(reloading your shell).remove_from_pathis taken from pyenv/rbenv's pyenv-which/rbenv-whichshim (https://github.com/sstephenson/rbenv/blob/e851250/libexec/rbenv-which#L18-L27).