. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 162.0.212.4 / Your IP :
216.73.216.221 [
Web Server : LiteSpeed System : Linux premium146.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : alshnoli ( 2431) PHP Version : 8.3.28 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python37/lib/python3.7/site-packages/virtualenv/config/__pycache__/ |
Upload File : |
B
���a � @ s| d dl mZmZ d dlZd dlZd dlmZ d dlmZ d dl m
Z
d dlmZ d dl
mZ dd lmZ G d
d� de�ZdS )� )�absolute_import�unicode_literalsN)�user_config_dir)�PY3)�ConfigParser)�Path)�
ensure_str� )�convertc @ sR e Zd Zed�Zdddd�ZdZddd �Zd
d� Zdd
� Z dd� Z
edd� �ZdS )� IniConfigZVIRTUALENV_CONFIG_FILEzfailed to parseZactive�missing)NTF�
virtualenvNc
C s |d krt jn|}|�| jd �}|d k | _|d k r:t|�nttddd��d }|| _i | _d }d | _ y| j�
� | _ W n& tk
r� } z|}W d d }~X Y nbX | j r�| j�� | _t
�
� | _y| �� | j�| j�| _W n& tk
r� } z|}W d d }~X Y nX |d k �rt�d||� d S )Nr
Zpypa)�appname� appauthorzvirtualenv.iniz(failed to read config file %s because %r)�os�environ�get�VIRTUALENV_CONFIG_FILE_ENV_VAR�
is_env_varr r �config_file�_cache�has_config_file�exists�OSError�resolver �
config_parser�_load�has_section�section�has_virtualenv_section� Exception�logging�error)�self�envr � exception�exc� r'