관리-도구
편집 파일: temp_dir.cpython-36.pyc
3 �Re� � @ s& d dl mZ d dlZd dlZd dlZd dlZd dlZd dlm Z d dl mZ d dlm Z d dlmZmZ d dlmZ er�d dlmZmZmZmZmZmZ ed d d�Zeje�Zedd dd�Zdae dd� �Z G dd� de!�Z"da#e dd� �Z$G dd� de!�Z%e%� Z&G dd � d e!�Z'G dd� de'�Z(dS )� )�absolute_importN)�contextmanager)� ExitStack)�ensure_text)�enum�rmtree)�MYPY_CHECK_RUNNING)�Any�Dict�Iterator�Optional�TypeVar�Union�_T� TempDirectory)Zboundz build-envzephem-wheel-cachez req-build)� BUILD_ENV�EPHEM_WHEEL_CACHE� REQ_BUILDc c s2 t � �"} t| }az d V W d |aX W d Q R X d S )N)r �_tempdir_manager)�stack�old_tempdir_manager� r ��/builddir/build/BUILDROOT/alt-python36-pip-20.2.4-5.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/utils/temp_dir.py�global_tempdir_manager% s r c @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) �TempDirectoryTypeRegistryz$Manages temp directory behavior c C s i | _ d S )N)�_should_delete)�selfr r r �__init__5 s z"TempDirectoryTypeRegistry.__init__c C s || j |<