LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

conda-package

low-level conda package utility (experimental)

TLDR

Find which conda package a file belongs to
$ conda package --which [path/to/file]
copy
List all untracked files in the current environment
$ conda package --untracked
copy
Remove all untracked files from the current environment
$ conda package --reset
copy
Create a package with a specific name and version
$ conda package --pkg-name [mypackage] --pkg-version [1.0]
copy
Create a package in a named environment
$ conda package --pkg-name [mypackage] -n [env_name]
copy

SYNOPSIS

conda package [options]

DESCRIPTION

conda package is an experimental low-level utility for creating conda packages and inspecting package contents within environments. It can identify which package a file belongs to, list or remove untracked files, and create simple packages from the current environment state.

PARAMETERS

-w, --which PATH

Given a file path, identify which conda package the file came from.
-u, --untracked
Display all untracked files and exit.
-r, --reset
Remove all untracked files and exit.
--pkg-name PKGNAME_
Designate package name of the package being created.
--pkg-version PKGVERSION_
Designate package version of the package being created.
--pkg-build PKGBUILD_
Designate package build number of the package being created.
-n, --name name
Name of environment.
-p, --prefix path
Full path to environment location (prefix).

CONFIGURATION

~/.condarc

User-level conda configuration for channels, package settings, and solver options.
/opt/conda/.condarc
System-wide conda configuration.

CAVEATS

This command is marked as experimental and may change or be removed. For standard package building, use conda-build instead. For environment sharing, consider using conda env export to create environment.yml files.

SEE ALSO

conda(1), conda-env(1)

Copied to clipboard
Kai