misc#

Miscellaneous utility functions.

Functions#

conda_installed_files(prefix[, exclude_self_build])

Return the set of files which have been installed (using conda) into

_match_specs_from_explicit(...)

explicit(specs, prefix[, verbose, force_extract, index])

rel_path(prefix, path[, windows_forward_slashes])

walk_prefix(prefix[, ignore_predefined_files, ...])

Return the set of all files in a given prefix directory.

untracked(prefix[, exclude_self_build])

Return (the set) of all untracked files for a given prefix.

touch_nonadmin(prefix)

Creates $PREFIX/.nonadmin if sys.prefix/.nonadmin exists (on Windows).

clone_env(prefix1, prefix2[, verbose, quiet, index_args])

Clone existing prefix1 into new prefix2.

_get_best_prec_match(precs)

Attributes#

conda_installed_files(prefix, exclude_self_build=False)#

Return the set of files which have been installed (using conda) into a given prefix.

url_pat#
_match_specs_from_explicit(specs: collections.abc.Iterable[str]) collections.abc.Iterable[conda.models.match_spec.MatchSpec]#
explicit(specs, prefix, verbose=False, force_extract=True, index=None)#
rel_path(prefix, path, windows_forward_slashes=True)#
walk_prefix(prefix, ignore_predefined_files=True, windows_forward_slashes=True)#

Return the set of all files in a given prefix directory.

untracked(prefix, exclude_self_build=False)#

Return (the set) of all untracked files for a given prefix.

touch_nonadmin(prefix)#

Creates $PREFIX/.nonadmin if sys.prefix/.nonadmin exists (on Windows).

clone_env(prefix1, prefix2, verbose=True, quiet=False, index_args=None)#

Clone existing prefix1 into new prefix2.

_get_best_prec_match(precs)#