403Webshell
Server IP : 217.160.0.212  /  Your IP : 216.73.216.6
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : u119869361 ( 9600978)
PHP Version : 8.4.28
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /kunden/lib/python3/dist-packages/pip/_internal/utils/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/lib/python3/dist-packages/pip/_internal/utils/__pycache__/virtualenv.cpython-313.pyc
�

�h�
����SSKrSSKrSSKrSSKrSSKrSSKJrJr \R"\	5r
\R"S5rS\
4SjrS\
4SjrS\
4SjrS\\\4SjrS\
4S	jrS\
4S
jrS\
4Sjrg)�N)�List�Optionalz8include-system-site-packages\s*=\s*(?P<value>true|false)�returnc�b�[R[[S[R5:g$)zfChecks if sys.base_prefix and sys.prefix match.

This handles PEP 405 compliant virtual environments.
�base_prefix)�sys�prefix�getattr���@/usr/lib/python3/dist-packages/pip/_internal/utils/virtualenv.py�_running_under_venvrs ��
�:�:���m�S�Z�Z�@�@�@rc�"�[[S5$)zeChecks if sys.real_prefix is set.

This handles virtual environments created with pypa's virtualenv.
�real_prefix)�hasattrrrrr
� _running_under_legacy_virtualenvrs���3�
�&�&rc�8�[5=(d
 [5$)zDTrue if we're running inside a virtual environment, False otherwise.)rrrrr
�running_under_virtualenvrs��� �F�$D�$F�Frc��[RR[RS5n[USS9nUR
5R5sSSS5 $!,(df   g=f![a gf=f)z}Reads {sys.prefix}/pyvenv.cfg and returns its contents as list of lines

Returns None, if it could not read/access the file.
z
pyvenv.cfgzutf-8)�encodingN)	�os�path�joinrr	�open�read�
splitlines�OSError)�pyvenv_cfg_file�fs  r
�_get_pyvenv_cfg_linesr $s^��
�g�g�l�l�3�:�:�|�<�O���/�G�
4���6�6�8�&�&�(�5�
4�
4������s.�
A3�A"�	A3�"
A0�,A3�0A3�3
B�?Bc��[5nUc[RS5 gUH4n[R	U5nUcMURS5S:XdM4 g g)aBCheck `{sys.prefix}/pyvenv.cfg` for system site-packages inclusion

PEP 405 specifies that when system site-packages are not supposed to be
visible from a virtual environment, `pyvenv.cfg` must contain the following
line:

    include-system-site-packages = false

Additionally, log a warning if accessing the file fails.
z�Could not access 'pyvenv.cfg' despite a virtual environment being active. Assuming global site-packages is not accessible in this environment.T�value�falseF)r �logger�warning�#_INCLUDE_SYSTEM_SITE_PACKAGES_REGEX�match�group)�	cfg_lines�liner's   r
�_no_global_under_venvr+3sb��&�'�I���	���
#�	
�
���3�9�9�$�?�������W�!5��!@���rc��[RR[RR[R
55n[RR
US5n[RRU5$)z�Check if "no-global-site-packages.txt" exists beside site.py

This mirrors logic in pypa/virtualenv for determining whether system
site-packages are visible in the virtual environment.
zno-global-site-packages.txt)rr�dirname�abspath�site�__file__r�exists)�site_mod_dir�no_global_site_packages_files  r
�"_no_global_under_legacy_virtualenvr4PsV���7�7�?�?�2�7�7�?�?�4�=�=�#A�B�L�#%�7�7�<�<��%�$� ��7�7�>�>�6�7�7rc�h�[5(a
[5$[5(a
[5$g)zHReturns a boolean, whether running in venv with no system site-packages.F)rr+rr4rrr
�virtualenv_no_globalr6^s+�����$�&�&�'�)�)�1�3�3�r)�loggingr�rer/r�typingrr�	getLogger�__name__r$�compiler&�boolrrr�strr r+r4r6rrr
�<module>r?s����	�	��
�!�	�	�	�8�	$��&(�j�j�?�'�#�
A�T�A�'�$�'�G�$�G�
�x��S�	�2���t��:8�D�8�
�d�
r

Youez - 2016 - github.com/yon3zu
LinuXploit