dist#
(遗留) Channel 的低级实现。
类#
函数#
|
|
|
|
|
- class DistDetails#
基类:
NamedTuple
- class DistType(name, bases, attr)#
基类:
conda.auxlib.entity.EntityType- __call__(*args, **kwargs)#
将自身作为函数调用。
- strip_extension(original_dist)#
- split_extension(original_dist)#
- class Dist(channel, dist_name=None, name=None, version=None, build_string=None, build_number=None, base_url=None, platform=None, fmt='.tar.bz2')#
基类:
conda.auxlib.entity.Entity- property full_name#
- property build#
- property subdir#
- property pair#
- property quad#
- property is_feature_package#
- property is_channel#
- property fn#
- _cache_#
- _lazy_validate = True#
- channel#
- dist_name#
- name#
- fmt#
- version#
- build_string#
- build_number#
- base_url#
- platform#
- to_package_ref()#
- __str__()#
返回 str(self)。
- to_filename(extension=None)#
- to_matchspec()#
- to_match_spec()#
- classmethod from_string(string, channel_override=NULL)#
- static parse_dist_name(string)#
- classmethod from_url(url)#
- to_url()#
- __key__()#
- __lt__(other)#
返回 self<value。
- __gt__(other)#
返回 self>value。
- __le__(other)#
返回 self<=value。
- __ge__(other)#
返回 self>=value。
- __hash__()#
返回 hash(self)。
- __eq__(other)#
返回 self==value。
- __ne__(other)#
返回 self!=value。
- split(sep=None, maxsplit=-1)#
- rsplit(sep=None, maxsplit=-1)#
- startswith(match)#
- __contains__(item)#
- dist_str_to_quad(dist_str)#