conda-package
low-level conda package utility (experimental)
TLDR
Find which conda package a file belongs to
$ conda package --which [path/to/file]
List all untracked files in the current environment$ conda package --untracked
Remove all untracked files from the current environment$ conda package --reset
Create a package with a specific name and version$ conda package --pkg-name [mypackage] --pkg-version [1.0]
Create a package in a named environment$ conda package --pkg-name [mypackage] -n [env_name]
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.
