link
#
Package installation implemented as a series of link/unlink transactions.
Classes#
Functions#
|
|
|
|
|
|
|
Call the post-link (or pre-unlink) script, returning True on success, |
|
- determine_link_type(extracted_package_dir, target_prefix)#
- make_unlink_actions(transaction_context, target_prefix, prefix_record)#
- match_specs_to_dists(packages_info_to_link, specs)#
- class PrefixSetup#
Bases:
NamedTuple
- unlink_precs: tuple[conda.models.records.PackageRecord, Ellipsis]#
- link_precs: tuple[conda.models.records.PackageRecord, Ellipsis]#
- class ActionGroup#
Bases:
NamedTuple
- pkg_data: conda.models.package_info.PackageInfo | None#
- actions: Iterable[conda.core.path_actions._Action]#
- class PrefixActionGroup#
Bases:
NamedTuple
- unlink_action_groups: Iterable[ActionGroup]#
- unregister_action_groups: Iterable[ActionGroup]#
- link_action_groups: Iterable[ActionGroup]#
- register_action_groups: Iterable[ActionGroup]#
- compile_action_groups: Iterable[ActionGroup]#
- entry_point_action_groups: Iterable[ActionGroup]#
- prefix_record_groups: Iterable[ActionGroup]#
- class ChangeReport#
Bases:
NamedTuple
- specs_to_remove: Iterable[conda.resolve.MatchSpec]#
- specs_to_add: Iterable[conda.resolve.MatchSpec]#
- removed_precs: Iterable[conda.models.records.PackageRecord]#
- new_precs: Iterable[conda.models.records.PackageRecord]#
- updated_precs: Iterable[conda.models.records.PackageRecord]#
- downgraded_precs: Iterable[conda.models.records.PackageRecord]#
- superseded_precs: Iterable[conda.models.records.PackageRecord]#
- fetch_precs: Iterable[conda.models.records.PackageRecord]#
- class UnlinkLinkTransaction(*setups)#
- property nothing_to_do#
- download_and_extract()#
- prepare()#
- verify()#
- _verify_pre_link_message(all_link_groups)#
- execute()#
- _get_pfe()#
- classmethod _prepare(transaction_context, target_prefix, unlink_precs, link_precs, remove_specs, update_specs, neutered_specs)#
- static _verify_individual_level(prefix_action_group)#
- static _verify_prefix_level(target_prefix_AND_prefix_action_group_tuple)#
- static _verify_transaction_level(prefix_setups)#
- _verify(prefix_setups, prefix_action_groups)#
- _execute(all_action_groups)#
- static _execute_actions(axngroup)#
- static _execute_post_link_actions(axngroup)#
- static _reverse_actions(axngroup, reverse_from_idx=-1)#
- static _get_python_version(target_prefix, pcrecs_to_unlink, packages_info_to_link)#
- static _make_link_actions(transaction_context, package_info, target_prefix, requested_link_type, requested_spec)#
- static _make_entry_point_actions(transaction_context, package_info, target_prefix, requested_link_type, requested_spec, link_action_groups)#
- static _make_compile_actions(transaction_context, package_info, target_prefix, requested_link_type, requested_spec, link_action_groups)#
- _make_legacy_action_groups()#
- print_transaction_summary()#
- _change_report_str(change_report)#
- static _calculate_change_report(prefix, unlink_precs, link_precs, download_urls, specs_to_remove, specs_to_add)#
- run_script(prefix: str, prec, action: str = 'post-link', env_prefix: str = None, activate: bool = False) bool #
Call the post-link (or pre-unlink) script, returning True on success, False on failure.
- messages(prefix)#