misc#

Miscellaneous utility functions.

Functions#

conda_installed_files(prefix[, exclude_self_build])

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

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

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.

Attributes#

url_pat

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#
explicit(specs, prefix, verbose=False, force_extract=True, index_args=None, 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.