관리-도구
편집 파일: depends.cpython-36.opt-1.pyc
3 9��f� � @ 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 �/usr/lib/python3.6/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&