Skip to content

whl2conda install

Usage

usage: whl2conda install (-p <env-path> | -n <env-name>) <package-file>... [options]
       whl2conda install --conda-bld <package-file> [options]

Install conda package files

This can be used to install one or more conda package files (generated by whl2conda build) either into a conda environment (for testing) or into your local conda build directory.

positional arguments

  <package-file>
            Conda package file to be installed
            Must have extension .conda or .tar.bz2

options

  -h, --help
            show this help message and exit

Target (choose one)

  -p <env-path>, --prefix <env-path>
            Path to target conda environment
  -n <env-name>, --name <env-name>
            Name of target conda enviroment
  --conda-bld
            Install into local conda-bld

Environment options

  These options can be used with -n/-p when install into
  a conda environment. They are otherwise ignored.

  --create  Create environment if it does not exist.
  --only-deps
            Only install package dependencies, not the package itself.
  --no-deps
            Only packages themselves without any dependencies.
  --mamba   Use mamba instead of conda for install actions
  --extra ...
            All the remaining arguments after this flat will be passed
            to `conda install` or `conda create`. This can be used to add
            additional dependencies for testing.

Common options

  --dry-run
            Display operations but don't actually install
  --yes     Answer yes to prompts.