관리-도구
편집 파일: __init__.cpython-38.pyc
U *�e? � @ s^ d dl mZ d dlmZ d dlmZ ddlmZ ddd�ZG dd � d e�Z d d� Z d dgZdS ) � )�annotations)� PythonInfo)� PythonSpec� )�discover_pythons�CPython)ZContinuumAnalytics� PythonCorec @ s e Zd ZdZdS )�Pep514PythonInfoz+A Python information acquired from PEP-514.N)�__name__� __module__�__qualname__�__doc__� r r �S/opt/hc_python/lib/python3.8/site-packages/virtualenv/discovery/windows/__init__.pyr s r c c s� t t� �}|jdd� dd� |D ]x\}}}}}} t�||�} | �� dk}td | ||d ||�}|sj|�| �r tj |||dd�} | d k r | j| dd�r | V q d S ) Nc S s0 t dd� | dd� D ��| d dkr(dndf�S )Nc s s | ]}|d krdn|V qd S )N���r )�.0�jr r r � <genexpr> s z9propose_interpreters.<locals>.<lambda>.<locals>.<genexpr>r � r r )�tuple)�ir r r �<lambda> � z&propose_interpreters.<locals>.<lambda>T)�key�reverse�cpythonF)�envZraise_on_error)Zimpl_must_match) �listr �sort�_IMPLEMENTATION_BY_ORG�get�lowerr Z satisfiesr Zfrom_exe)�spec� cache_dirr �existing�name�major�minor�arch�exe�_�implementationZskip_pre_filterZ registry_spec�interpreterr r r �propose_interpreters s �r- N)� __future__r Zvirtualenv.discovery.py_infor Zvirtualenv.discovery.py_specr Zpep514r r r r- �__all__r r r r �<module> s ��