On Tue, May 19, 2015 at 2:34 PM, Chris Barker <[email protected]> wrote:
> On Tue, May 19, 2015 at 10:18 AM, Leonardo Rochael Almeida < > [email protected]> wrote: > >> What if instead of focusing on pip being able to install more than just >> python packages, we made sure that a virtualenv was as strict subset of, >> say, a conda environment? This way, going from virtualenv to, say, conda >> would not be a toss-out, but an upgrade. >> > > cool idea -- though it's kind of backwards - i.e. conda installs stuff > outside of the python environment. So I'm not sure if you could shoehorn > this all together in that way. At least with a significant re-engineering > of conda, in which case, you've kind of built a new plug-in or add-on to > pip that does more. > I've tried to do something like this with my (admittedly opinionated) dotfiles: https://westurner.org/dotfiles/venv # WORKON_HOME ~= CONDA_ENVS_PATH workon <virtualenvname> workon_conda <condaenvname> # wec <tab> lscondaenvs virtualenv: deactivate() condaenv: source deactivate ... https://github.com/westurner/dotfiles/blob/develop/etc/bash/08-bashrc.conda.sh#L95 It's still pretty verbose and rough around the edges.
_______________________________________________ Distutils-SIG maillist - [email protected] https://mail.python.org/mailman/listinfo/distutils-sig
