algo icon indicating copy to clipboard operation
algo copied to clipboard

Support Anaconda Virtual Environments

Open ideologysec opened this issue 6 years ago • 0 comments

Is your feature request related to a problem? Please describe. I use Conda for managing all of my python packages and virtual environments; I'm a little frustrated that the algo script only checks for pip virtualenvs, and refuses to run unless I patch out the check. I can run it manually, but it would be cool to have algo support conda as well.

Describe the solution you'd like Support conda virtualenvironments in addition to pip virtualenvs. Adding the documentation on how to work with algo in conda would be great; that's as easy as conda create -n algo python=3.7 ansible=2.8.3 netaddr' and 'conda activate algo

Describe alternatives you've considered: Currently I am simply removing the virtualenv check from the "algo" binary; it's a good check to have, but doesn't work for me at the moment. I've considered moving back to pip virtualenvs but the flexibility and compartmentalization of conda are incredibly attractive (especially since I use it for managing Ruby as well).

Update: the task "TASK [Install the requirements]" would need to be updated as well; unfortunately I don't know if this can easily be solved by patching out a check, as conda does not have compatible package requirements: conda-fail

ideologysec avatar Dec 09 '19 23:12 ideologysec