관리-도구
편집 파일: depends.cpython-36.pyc
3 K�Re� � @ s� d dl Z d dlZd dlZd dlmZ d dlmZmZmZmZ ddl m Z dddd gZG d d� d�Zddd�Z ddd�Zdd d �Zdd� Ze� dS )� N)� StrictVersion)� PKG_DIRECTORY�PY_COMPILED� PY_SOURCE� PY_FROZEN� )�Bytecode�Require�find_module�get_module_constant�extract_constantc @ sH e Zd ZdZddd�Zdd� Zdd � Zddd�Zdd d�Zddd�Z dS )r z7A prerequisite to building or installing a distribution� Nc C sF |d kr|d k rt }|d k r0||�}|d kr0d}| jjt� � | `d S )N�__version__)r �__dict__�update�locals�self)r �name�requested_version�moduleZhomepage� attribute�format� r ��/builddir/build/BUILDROOT/alt-python36-setuptools-38.5.2-7.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/setuptools/depends.py�__init__ s zRequire.__init__c C s | j dk rd| j| j f S | jS )z0Return full package/distribution name, w/versionNz%s-%s)r r )r r r r � full_name s zRequire.full_namec C s* | j dkp(| jdkp(t|�dko(|| jkS )z%Is 'version' sufficiently up-to-date?N�unknown)r r �strr )r �versionr r r � version_ok&