관리-도구
편집 파일: __init__.cpython-38.pyc
U *�e0 � @ sF d dl mZ d dlZd dlmZ d dlmZ G dd� de�ZdgZdS )� )�annotationsN)�OrderedDict)�ViaTemplateActivatorc s$ e Zd Zdd� Z� fdd�Z� ZS )�PythonActivatorc c s dV d S )Nzactivate_this.py� )�selfr r �S/opt/hc_python/lib/python3.8/site-packages/virtualenv/activation/python/__init__.py� templates s zPythonActivator.templatesc sR t � �|� �}t� fdd�|jD ��}tj�|�� ��dd�}|� |dd�� |S )Nc 3 s( | ] }t j�t|�t� ��d fV qd S )N)�os�path�relpath�str)�.0�i��dest_folderr r � <genexpr> s z/PythonActivator.replacements.<locals>.<genexpr>�\z\\� )Z__LIB_FOLDERS__Z__DECODE_PATH__) �super�replacementsr Zlibsr �pathsep�join�keys�replace�update)r Zcreatorr r Zlib_folders�� __class__r r r s ��zPythonActivator.replacements)�__name__� __module__�__qualname__r r � __classcell__r r r r r s r ) � __future__r r �collectionsr Z"virtualenv.activation.via_templater r �__all__r r r r �<module> s �