AlkantarClanX12

Your IP : 3.12.34.192


Current Path : /opt/alt/python39/lib64/python3.9/__pycache__/
Upload File :
Current File : //opt/alt/python39/lib64/python3.9/__pycache__/site.cpython-39.opt-2.pyc

a

R�fTU�@s*ddlZddlZddlZddlZddlZddlZejejgada	da
dadd�Zdd�Z
dd�Zdd	�Zd
d�Zd1dd
�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�Zd2dd�Zd3dd�Zdd�Zd d!�Zd"d#�Zd$d%�Zd&d'�Zd(d)�Zd*d+�Z d,d-�Z!ej"j#�se!�d.d/�Z$e%d0k�r&e$�dS)4�NcGs@tjj|�}ztj�|�}Wnty.Yn0|tj�|�fS�N)�os�path�join�abspath�OSError�normcase)�paths�dir�r�)/opt/alt/python39/lib64/python3.9/site.py�makepath\sr
cCs�ttj���D]z}tt|dd�dd�dvr,qztj�|j�|_Wnt	t
tfyXYn0ztj�|j�|_Wqt	t
tfy�Yq0qdS)N�
__loader__�
__module__)�_frozen_importlib�_frozen_importlib_external)
�set�sys�modules�values�getattrrrr�__file__�AttributeErrorr�	TypeError�
__cached__)�mrrr�	abs_pathses�rcCsPg}t�}tjD],}t|�\}}||vr|�|�|�|�q|tjdd�<|Sr)rrrr
�append�add)�L�known_pathsr
�dircaserrr�removeduppathsus

r"c	CsTt�}tjD]B}z&tj�|�r4t|�\}}|�|�WqtyLYqYq0q|Sr)rrrr�existsr
rr)�d�item�_�itemcaserrr�_init_pathinfo�s
r(c
Cs�|durt�}d}nd}tj�||�}zt�|�}WntyHYdS0t|dd�tj@snt|dd�tj	@rrdSzt
�t
�|��}Wnty�YdS0|��t
|�D]�\}}|�d�r�q�z^|�d�r�t|�Wq�|��}t||�\}	}
|
|v�rtj�|	��rtj�|	�|�|
�Wq�t�y�td�|d	|�tjd
�ddl}|jt���D](}|��D]}td|tjd
��qj�q^tdtjd
�Y�q�Yq�0q�Wd�n1�s�0Y|�r�d}|S)
NTF�st_flagsr�st_file_attributes�#)zimport zimport	z"Error processing line {:d} of {}:
�)�filez  z
Remainder of file ignored)r(rrr�lstatrr�stat�	UF_HIDDEN�FILE_ATTRIBUTE_HIDDEN�io�
TextIOWrapper�	open_code�	enumerate�
startswith�exec�rstripr
r#rrr�	Exception�print�format�stderr�	traceback�format_exception�exc_info�
splitlines)
�sitedir�namer �reset�fullname�st�f�n�liner
r!r=�recordrrr�
addpackage�sV�

�0rJcCs�|durt�}d}nd}t|�\}}||vrBtj�|�|�|�zt�|�}WntydYdS0dd�|D�}t	|�D]}t
|||�q||r�d}|S)NTFcSs$g|]}|�d�r|�d�s|�qS)z.pth�.)�endswithr6)�.0rBrrr�
<listcomp>�s�zaddsitedir.<locals>.<listcomp>)r(r
rrrrr�listdirr�sortedrJ)rAr rC�sitedircase�namesrBrrr�
addsitedir�s$
rScCs`tjjrdSttd�r4ttd�r4t��t��kr4dSttd�r\ttd�r\t��t��kr\dSdS)NF�getuid�geteuid�getgid�getegidT)	r�flags�no_user_site�hasattrrrUrTrWrVrrrr�check_enableusersite�s
r[cCsztj�dd�}|r|Sdd�}tjdkrBtj�d�p6d}||d�Stjdkrptjrp|dd	tjd
tjdd��S|dd�S)
N�PYTHONUSERBASEcWstj�tjj|��Sr)rr�
expanduserr)�argsrrr�joinusersz_getuserbase.<locals>.joinuser�nt�APPDATA�~�Python�darwin�Libraryz%d.%d�z.local)r�environ�getrBr�platform�
_framework�version_info)�env_baser_�baserrr�_getuserbase�s


�rncCsdtj}tjdkr,|�d|d�|d�d�StjdkrFtjrF|�d�S|�d|d�d	|d�d
�S)Nr`z\Pythonrr,z\site-packagesrdz/lib/python/site-packagesz/lib/pythonrKz/site-packages)rrkrrBrirj)�userbase�versionrrr�	_get_paths

rqcCstdurt�atSr)�	USER_BASErnrrrr�getuserbasesrscCst�}tdurt|�atSr)rs�	USER_SITErq)rorrr�getusersitepackages,srucCs$t�}tr tj�|�r t||�|Sr)ru�ENABLE_USER_SITErr�isdirrS)r �	user_siterrr�addusersitepackages:s
ryc
Cs�g}t�}|durt}|D]�}|r||vr,q|�|�tjg}tjdkrR|�d�tjdkr�|D].}tj�	||dtj
dd�d�}|�|�q`q|�|�|D]}tj�	||d�}|�|�q�q|S)N�lib�/zpython%d.%drfz
site-packages)r�PREFIXESrr�
platlibdirrr�seprrrk)�prefixes�sitepackages�seen�prefix�libdirs�libdirrrrr�getsitepackagesHs.




�
r�cCs(t|�D]}tj�|�rt||�q|Sr)r�rrrwrS)r rrArrr�addsitepackageslsr�cCs4tjdkrd}nd}t�d|�t_t�d|�t_dS)N�\zCtrl-Z plus ReturnzCtrl-D (i.e. EOF)�quit�exit)rr~�
_sitebuiltins�Quitter�builtinsr�r�)�eofrrr�setquitts

r�cCs�t�dtj�t_tjdd�dkr2t�dd�t_nt�dd�t_gg}}ttd�r�tj	�
tj�}|�dd	g�|�tj	�
|tj�|tjg�t�d
d||�t_dS)N�	copyright��java�creditsz?Jython is maintained by the Jython developers (www.jython.org).z�    Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands
    for supporting Python development.  See www.python.org for more information.rzLICENSE.txt�LICENSE�licensez'See https://www.python.org/psf/license/)r��_Printerrr�r�rir�rZrr�dirnamer�extendr�pardir�curdirr�)�files�dirs�hererrr�setcopyright�s"�

�r�cCst��t_dSr)r��_Helperr��helprrrr�	sethelper�sr�cCsdd�}|t_dS)Ncs�ddl}zddl�ddl}Wnty0YdS0t�dd�}|durZd|vrZ��d�n
��d�z���Wnty�Yn0���dkr�t	j
�t	j
�d�d��z��
��Wnty�Yn0��fd	d
�}|�|�dS)Nr�__doc__��libeditzbind ^I rl_completez
tab: completerbz.python_historycs&z����Wnty Yn0dSr)�write_history_filerr��history�readlinerr�
write_history�szCenablerlcompleter.<locals>.register_readline.<locals>.write_history)�atexitr��rlcompleter�ImportErrorr�parse_and_bind�read_init_filer�get_current_history_lengthrrrr]�read_history_file�register)r�r��readline_docr�rr�r�register_readline�s0
�z,enablerlcompleter.<locals>.register_readline)r�__interactivehook__)r�rrr�enablerlcompleter�s	0r�cCs^tj}tjdkr*d|vr*tjd}t_ntj}tj�tj�|��\}}tj�	|�}dt_
d}dd�tj�||�tj�||�fD�}|�rZ|d}d}	t|dd	��f}
|
D]P}d
|vr�|�
d
�\}}}
|����}|
��}
|dkr�|
��}	q�|dkr�|
t_
q�Wd�n1�s0Y|t_t_t|tjg�|	dk�rNt�dtj�ntjgad
a|S)Nrd�__PYVENV_LAUNCHER__z
pyvenv.cfgcSsg|]}tj�|�r|�qSr)rr�isfile)rM�conffilerrrrN�s�zvenv.<locals>.<listcomp>r�truezutf-8)�encoding�=zinclude-system-site-packages�homeF)rrgrri�_base_executable�
executabler�splitrr��_homer�open�	partition�strip�lowerr��exec_prefixr�r|�insertrv)r �envr��exe_dirr&�site_prefix�
conf_basename�candidate_confs�virtual_conf�system_siterFrH�key�valuerrr�venv�sB��
(
r�c
Cs�zDzddl}Wn2ty@}z|jdkr*n�WYd}~n
d}~00WnTty�}z<tjjrltjt���ntj	�
d|jj|f�WYd}~n
d}~00dS)Nr�
sitecustomizez@Error in sitecustomize; set PYTHONVERBOSE for traceback:
%s: %s
)
r�r�rBr9rrX�verbose�
excepthookr?r<�write�	__class__�__name__)r��exc�errrrr�execsitecustomizes

��r�c
Cs�zDzddl}Wn2ty@}z|jdkr*n�WYd}~n
d}~00WnTty�}z<tjjrltjt���ntj	�
d|jj|f�WYd}~n
d}~00dS)Nr�
usercustomizez@Error in usercustomize; set PYTHONVERBOSE for traceback:
%s: %s
)
r�r�rBr9rrXr�r�r?r<r�r�r�)r�r�r�rrr�execusercustomize"s

��r�cCs~tjdd�}t�}|tjkr$t�t|�}tdur:t�at|�}t|�}t	�t
�t�tjj
sjt�t�trzt�dSr)rrr"rr�rvr[ryr�r�r�r�rX�isolatedr�r�r�)�	orig_pathr rrr�main6s"
r�cCs\d}tjdd�}|s�t�}t�}td�tjD]}td|f�q0td�td|tj�|�rbdndf�td	|tj�|�r�dndf�td
t�t�	d�g}d|vr�|�
t�d
|vr�|�
t�|�r(ttj
�|��tr�t�	d�n6tdu�rt�	d�n tdu�rt�	d�n
t�	d�n0ddl}t|�|tjdtj
f��t�	d�dS)Na�    %s [--user-base] [--user-site]

    Without arguments print some useful information
    With arguments print the value of USER_BASE and/or USER_SITE separated
    by '%s'.

    Exit codes with --user-base or --user-site:
      0 - user site directory is enabled
      1 - user site directory is disabled by user
      2 - user site directory is disabled by super user
          or for security reasons
     >2 - unknown error
    r,zsys.path = [z    %r,�]zUSER_BASE: %r (%s)r#z
doesn't existzUSER_SITE: %r (%s)zENABLE_USER_SITE: %rrz--user-basez--user-siteFrf��
)r�argvrsrur:rrrwrvr�rrrrt�pathsepr�textwrap�dedent)r�r^�	user_baserxr
�bufferr�rrr�_scriptXsD
��




r��__main__)N)N)N)&rrr�r�r2r/r�r�r|rvrtrrr
rr"r(rJrSr[rnrqrsruryr�r�r�r�r�r�r�r�r�r�rX�no_siter�r�rrrr�<module>HsH	
1
 

$
;4
3