exports#

为 conda-build 反向移植的导出。

#

函数#

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, ...])

package_cache()

symlink_conda(prefix, root_dir[, shell])

_symlink_conda_hlp(prefix, root_dir, where, symlink_fn)

win_conda_bat_redirect(src, dst, shell)

Windows XP 的特殊函数,其中 CreateSymbolicLink

linked_data(prefix[, ignore_channels])

返回前缀中链接包的字典。

linked(prefix[, ignore_channels])

返回前缀中链接包的 Dists。

is_linked(prefix, dist)

返回前缀中链接包的安装元数据,如果未链接则返回 None

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

属性#

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)#
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)#
package_cache()#
win_conda_bat_redirect(src, dst, shell)#

Windows XP 的特殊函数,其中 CreateSymbolicLink 函数不可用。

简单地在 dst 创建一个 .bat 文件,该文件调用 src 以及所有命令行参数。

当然只适用于可调用文件,例如 .bat.exe 文件。

linked_data(prefix, ignore_channels=False)#

返回前缀中链接包的字典。

linked(prefix, ignore_channels=False)#

返回前缀中链接包的 Dists。

is_linked(prefix, dist)#

返回前缀中链接包的安装元数据,如果包未在前缀中链接,则返回 None。

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