Conda Tools (rever.conda)¶
-
rever.conda.conda_init()¶ Initializes conda, if needed. This may safely be called many times.
-
rever.conda.env_exists(envname)¶ Returns True if a conda environment already exists and False otherwise
-
rever.conda.run_in_conda_env(packages, envname='rever-env')¶ Context manager to run in a conda environment
Examples
>>> with run_in_conda_env(['python=3']): ... ./setup.py test