| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.9/site-packages/setuptools/_vendor/__pycache__/ |
Upload File : |
a
��e� � @ s� d dl Z d dlZd dlZd dlZd dlZd dlZd dlZejdk rPd dlm Z ne
Z dgZdd� Zdd� Z
e jZd d
� ZG dd� dej�ZG d
d� de�Zdd� ZG dd� d�ZdS )� N)� � )�OrderedDict�Pathc C s t �t| �dd�S )a2
Given a path with elements separated by
posixpath.sep, generate all parents of that path.
>>> list(_parents('b/d'))
['b']
>>> list(_parents('/b/d/'))
['/b']
>>> list(_parents('b/d/f/'))
['b/d', 'b']
>>> list(_parents('b'))
[]
>>> list(_parents(''))
[]
� N)� itertools�islice� _ancestry��path� r �;/usr/lib/python3.9/site-packages/setuptools/_vendor/zipp.py�_parents s r c c s4 | � tj�} | r0| tjkr0| V t�| �\} }qdS )aR
Given a path with elements separated by
posixpath.sep, generate all elements of that path
>>> list(_ancestry('b/d'))
['b/d', 'b']
>>> list(_ancestry('/b/d/'))
['/b/d', '/b']
>>> list(_ancestry('b/d/f/'))
['b/d/f', 'b/d', 'b']
>>> list(_ancestry('b'))
['b']
>>> list(_ancestry(''))
[]
N)�rstrip� posixpath�sep�split)r �tailr r r
r % s r c C s t �t|�j| �S )zZ
Return items in minuend not in subtrahend, retaining order
with O(1) lookup.
)r �filterfalse�set�__contains__)ZminuendZ
subtrahendr r r
�_difference? s r c sH e Zd ZdZedd� �Z� fdd�Zdd� Zdd � Ze d
d� �Z
� ZS )�CompleteDirszk
A ZipFile subclass that ensures that implied directories
are always included in the namelist.
c C s. t j�tt| ��}dd� |D �}tt|| ��S )Nc s s | ]}|t j V qd S �N)r r )�.0�pr r r
� <genexpr>P � z-CompleteDirs._implied_dirs.<locals>.<genexpr>)r �chain�
from_iterable�mapr �_deduper )�names�parentsZas_dirsr r r
�
_implied_dirsM s zCompleteDirs._implied_dirsc s t t| ��� }|t| �|�� S r )�superr �namelist�listr$ )�selfr"