golden hour
/usr/local/lib/python3.6/site-packages/virtualenv/seed/embed/via_app_data/pip_install/__pycache__
⬆️ Go Up
Upload
File/Folder
Size
Actions
__init__.cpython-36.pyc
176 B
Del
OK
base.cpython-36.pyc
8.24 KB
Del
OK
copy.cpython-36.pyc
1.65 KB
Del
OK
symlink.cpython-36.pyc
2.29 KB
Del
OK
Edit: copy.cpython-36.pyc
3 ��f� � @ sF d dl Z d dlmZ d dlmZ ddlmZ G dd� de�ZdgZdS )� N)�Path)�copy� )� PipInstallc s4 e Zd Zdd� Z� fdd�Zdd� Zdd� Z� ZS ) �CopyPipInstallc C s t ||� d S )N)r )�self�src�dst� r �Y/tmp/pip-build-ni_5055i/virtualenv/virtualenv/seed/embed/via_app_data/pip_install/copy.py�_sync s zCopyPipInstall._syncc s t � j� }|j| j� � |S )N)�super�_generate_new_files�update�_cache_files)r � new_files)� __class__r r r s z"CopyPipInstall._generate_new_filesc c s� | j jj}d| j jjj� � d|j� |j� d�}xxtjt | j �dd�D ]`\}}}t|�}x0|D ](}|jd�r\||d d � � |� � V q\W x|D ]}|| d V q�W qDW d S ) N�.�-z.pycT)�topdownz.py� �__pycache__���) Z_creatorZinterpreter�version_info�implementation�lower�major�minor�os�walk�strZ _image_dirr �endswith)r �versionZpy_c_ext�root�dirs�files� root_path�namer r r r s $ zCopyPipInstall._cache_filesc C s: | j |�}| jd jd��}|j|jd�� W d Q R X d S )N�RECORD�abzutf-8)Z _records_textZ _dist_info�open�write�encode)r r Zextra_record_data_strZfile_handlerr r r �_fix_records s zCopyPipInstall._fix_records)�__name__� __module__�__qualname__r r r r- � __classcell__r r )r r r s r ) r Zpathlibr Zvirtualenv.util.pathr �baser r �__all__r r r r �<module> s
Save