관리-도구
편집 파일: dist.cpython-36.opt-2.pyc
3 ��2a� � @ s� d dl Z d dlZd dlZd dlmZ yd dlZW n ek rH dZY nX d dlT d dlm Z m Z d dlmZm Z mZ d dlmZ d dlmZ ejd�ZG d d � d �ZG dd� d�Zd d� ZdS )� N)�message_from_file)�*)�FancyGetopt�translate_longopt)� check_environ� strtobool� rfc822_escape)�log)�DEBUGz^[a-zA-Z]([a-zA-Z0-9_]*)$c @ sl e Zd Zd}d~dd�d�gZdZd�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�gZd=d>� eD �ZddiZd�d?d@�ZdAdB� Z d�dDdE�Z dFdG� Zd�dHdI�ZdJdK� Z dLdM� ZdNdO� ZdPdQ� Zddg fdRdS�ZdTdU� ZdVdW� ZdXdY� ZdZd[� Zd\d]� Zd^d_� Zd�d`da�Zd�dbdc�Zd�dedf�Zejfdgdh�Zdidj� Zdkdl� Zdmdn� Z dodp� Z!dqdr� Z"dsdt� Z#dudv� Z$dwdx� Z%dydz� Z&d{d|� Z'dS )��Distribution�verbose�v�run verbosely (default)� �quiet�q�!run quietly (turns verbosity off)�dry-run�n�don't actually do anything�help�h�show detailed help message�no-user-cfgN�-ignore pydistutils.cfg in your home directoryz�Common commands: (see '--help-commands' for more) setup.py build will build the package underneath 'build/' setup.py install will install the package � help-commands�list all available commands�name�print package name�version�V�print package version�fullname�print <package name>-<version>�author�print the author's name�author-email� print the author's email address� maintainer�print the maintainer's name�maintainer-email�$print the maintainer's email address�contact�7print the maintainer's name if known, else the author's� contact-email�@print the maintainer's email address if known, else the author's�url�print the URL for this package�license� print the license of the package�licence�alias for --license�description�print the package description�long-description�"print the long package description� platforms�print the list of platforms�classifiers�print the list of classifiers�keywords�print the list of keywords�provides�+print the list of packages/modules provided�requires�+print the list of packages/modules required� obsoletes�0print the list of packages/modules made obsoletec C s g | ]}t |d ��qS )r )r )�.0�x� rH �)/opt/alt/python36/lib64/python3.6/dist.py� <listcomp>s s zDistribution.<listcomp>c C s� d| _ d| _d| _x| jD ]}t| |d� qW t� | _x,| jjD ] }d| }t| |t| j|�� q@W i | _ d | _ d | _d | _i | _ g | _d | _i | _d | _d | _d | _d | _d | _d | _d | _d | _d | _d | _d| _i | _i | _|�r8|jd�}|d k �rH|d= xD|j� D ]8\}}| j |�}x"|j� D ]\} } d| f|| <