Your IP : 18.224.73.107
3
9��f�` � @ s� d Z ddlmZ ddlmZ ddlmZ ddlm Z ddlZddlZddl
Z
ddlZddlZddl
Z
ddlZddlZddlZddlmZ ddlmZ dd lmZ dd
lmZ ddlmZ ddlmZ dd
lmZ ddlmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z& ddl'j(Z(ddl)m*Z* ddlm+Z+ dd� Z,G dd� de�Z-G dd� de�ZG dd� de�Z.dd� Z/dd� Z0dd� Z1dd � Z2d!d"� Z3d#d$� Z4d%d&� Z5d'd(� Z6d0d*d+�Z7d,d-� Z8d.d/� Z9dS )1zUsetuptools.command.egg_info
Create a distribution's .egg-info directory and contents� )�FileList)�DistutilsInternalError)�convert_path)�logN)�six)�map)�Command)�sdist)�walk_revctrl)�edit_config)� bdist_egg)�parse_requirements� safe_name�
parse_version�safe_version�yield_lines�
EntryPoint�iter_entry_points�to_filename)�glob)� packagingc C s� d}| j tjj�}tjtj�}d|f }�x�t|�D �]�\}}|t|�d k}|dkrv|rd|d7 }q4|d||f 7 }q4d}t|�} �x:|| k �r�|| }
|
dkr�||d 7 }�n|
d kr�||7 }n�|
d
k�r�|d }|| k r�|| dkr�|d }|| k �r|| dk�r|d }x&|| k �r6|| dk�r6|d }�qW || k�rR|tj|
�7 }nR||d |� }d}
|d dk�r�d
}
|dd� }|
tj|�7 }
|d|
f 7 }|}n|tj|
�7 }|d7 }q�W |s4||7 }q4W |d7 }tj|tj tj
B d�S )z�
Translate a file path glob like '*.txt' in to a regular expression.
This differs from fnmatch.translate which allows wildcards to match
directory separators. It also knows about '**/' which matches any number of
directories.
� z[^%s]� z**z.*z
(?:%s+%s)*r �*�?�[�!�]�^Nz[%s]z\Z)�flags)�split�os�path�sep�re�escape� enumerate�len�compile� MULTILINE�DOTALL)r ZpatZchunksr# Z
valid_char�c�chunkZ
last_chunk�iZ chunk_len�charZinner_i�innerZ
char_class� r0 �/usr/lib/python3.6/egg_info.py�translate_pattern$ sV
r2 c @ s� e Zd ZdZd)d*d+d,gZdgZddiZdd� Zedd� �Z e j
dd� �Z dd� Zdd� Zd-dd�Z
dd� Zdd� Zdd� Zd d!� Zd"d#� Zd$d%� Zd&d'� Zd(S ).�egg_infoz+create a distribution's .egg-info directory� egg-base=�e�Ldirectory containing .egg-info directories (default: top of the source tree)�tag-date�d�0Add date stamp (e.g. 20050528) to version number�
tag-build=�b�-Specify explicit tag to add to version number�no-date�D�"Don't include date stamp [default]c C s4 d | _ d | _d | _d | _d | _d| _d| _d | _d S )Nr F)�egg_name�egg_version�egg_baser3 � tag_build�tag_date�broken_egg_info�vtags)�selfr0 r0 r1 �initialize_options� s zegg_info.initialize_optionsc C s d S )Nr0 )rG r0 r0 r1 �tag_svn_revision� s zegg_info.tag_svn_revisionc C s d S )Nr0 )rG �valuer0 r0 r1 rI � s c C s0 t j� }| j� |d<