/ensureconda

Primary LanguagePythonMIT LicenseMIT

ensureconda

GitHub Workflow Status Licence: MIT PyPI code-style Black

Installation

ensureconda is distributed on PyPI as a universal wheel and is available on Linux, macOS and Windows and supports Python 3.6+ and PyPy.

$ pip install ensureconda

Usage

Ensureconda is a cli tool that will

  1. Find a preexisting conda/mamba executable
  2. Install one if nothing was found and installation is allowed.
  3. Return the path of the executable found/installed on stdout
ensureconda --help
Usage: ensureconda [OPTIONS]

  Ensures that a conda/mamba is installed.

Options:
  --mamba / --no-mamba            Search for mamba
  --micromamba / --no-micromamba  Search for mamba/micromamba, Install if not
                                  present

  --conda / --no-conda            Search for conda
  --conda-exe / --no-conda-exe    Search for conda.exe / conda-standalone,
                                  install if not present

  --no-install

License

ensureconda is distributed under the terms of the MIT License.