exports#

Backported exports for conda-build.

Classes#

Functions#

iteritems(d, **kw)

rm_rf(path[, max_retries, trash])

hash_file(_)

verify(_)

display_actions(actions, index[, show_channel_urls, ...])

get_index([channel_urls, prepend, platform, ...])

fetch_index(channel_urls[, use_cache, index])

package_cache()

symlink_conda(prefix, root_dir[, shell])

_symlink_conda_hlp(prefix, root_dir, where, symlink_fn)

win_conda_bat_redirect(src, dst, shell)

Special function for Windows XP where the CreateSymbolicLink

linked_data(prefix[, ignore_channels])

Return a dictionary of the linked packages in prefix.

linked(prefix[, ignore_channels])

Return the Dists of linked packages in prefix.

is_linked(prefix, dist)

Return the install metadata for a linked package in a prefix, or None

download(url, dst_path[, session, md5sum, urlstxt, ...])

Attributes#

non_x86_linux_machines#
get_default_urls#
arch_name#
binstar_upload#
bits#
default_prefix#
default_python#
envs_dirs#
pkgs_dirs#
platform#
root_dir#
root_writable#
subdir#
conda_build#
get_rc_urls#
get_local_urls#
load_condarc#
PaddingError#
LinkError#
CondaOSError#
CondaFileNotFoundError#
PY3 = True#
string_types#
text_type#
iteritems(d, **kw)#
class Completer#
get_items()#
__contains__(item)#
__iter__()#
class InstalledPackages#
rm_rf(path, max_retries=5, trash=True)#
KEYS#
KEYS_DIR#
hash_file(_)#
verify(_)#
display_actions(actions, index, show_channel_urls=None, specs_to_remove=(), specs_to_add=())#
get_index(channel_urls=(), prepend=True, platform=None, use_local=False, use_cache=False, unknown=None, prefix=None)#
fetch_index(channel_urls, use_cache=False, index=None)#
package_cache()#
win_conda_bat_redirect(src, dst, shell)#

Special function for Windows XP where the CreateSymbolicLink function is not available.

Simply creates a .bat file at dst which calls src together with all command line arguments.

Works of course only with callable files, e.g. .bat or .exe files.

linked_data(prefix, ignore_channels=False)#

Return a dictionary of the linked packages in prefix.

linked(prefix, ignore_channels=False)#

Return the Dists of linked packages in prefix.

is_linked(prefix, dist)#

Return the install metadata for a linked package in a prefix, or None if the package is not linked in the prefix.

download(url, dst_path, session=None, md5sum=None, urlstxt=False, retries=3, sha256=None, size=None)#