Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
virtualenv
/
util
/
__pycache__
/
File Content:
zipapp.cpython-37.pyc
B ���a � @ s` d dl mZmZ d dlZd dlZd dlZd dlmZmZ d dl m Z dd� Zdd� Zd d � Z dS )� )�absolute_import�unicode_literalsN)�IS_WIN�ROOT)�ensure_textc C sD t | �}t�td��&}|�|��}|�� �d�S Q R X W d Q R X d S )N�rzutf-8)�_get_path_within_zip�zipfile�ZipFiler �open�read�decode)� full_path�sub_file�zip_fileZfile_handler� r �G/opt/alt/python37/lib/python3.7/site-packages/virtualenv/util/zipapp.pyr s r c C sZ t �d| |� t| �}t�td��.}|�|�}|j|_|� |t t|j��� W d Q R X d S )Nzextract %s to %sr ) �logging�debugr r r r �getinfo�name�filename�extractr �str�parent)r �destr r �infor r r r s r c C s: t j�t| ��} | tt�d d � }tr6|�t jd�}|S )N� �/) �os�path�abspathr �lenr r �replace�sep)r r r r r r s r )� __future__r r r r r Zvirtualenv.infor r Zvirtualenv.util.sixr r r r r r r r �<module> s
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
__init__.cpython-37.pyc
359 bytes
0644
error.cpython-37.pyc
731 bytes
0644
lock.cpython-37.pyc
6200 bytes
0644
six.cpython-37.pyc
1558 bytes
0644
zipapp.cpython-37.pyc
1217 bytes
0644
N4ST4R_ID | Naxtarrr