403Webshell
Server IP : 217.160.0.244  /  Your IP : 216.73.217.138
Web Server : Apache
System : Linux infong-eu155 4.4.400-icpu-108 #2 SMP Wed Feb 11 11:51:01 UTC 2026 x86_64
User : u100174116 ( 6746176)
PHP Version : 8.5.10
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/setuptools/_distutils/command/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/setuptools/_distutils/command/__pycache__/install.cpython-313.pyc
�

�hxu�
���SrSSKJr SSKrSSKrSSKrSSKrSSKrSSKrSSK	J
r
 SSKJrJ
r
 SSKJr SSKJr SS	KJr SS
KJrJr SSKJr SSKJr SS
KJrJrJrJr SSKJ r! Sr"SSSSSS.r#SSSSSS.SSSSSS.\#SSSSSS.SSSSSS.S.r$\"(aS S S!S"S#S.\$S$'S S S%S&S#S.\$S''\$RK\!RL5 Sr'S(r(S)r)S*r*S+r+S,r,S-r-S.r.S/r/S0r0"S1S2\5r1g)3zFdistutils.command.install

Implements the Distutils 'install' command.�)�annotationsN)�log)�	USER_BASE�	USER_SITE)�ClassVar�)�Command)�DEBUG)�DistutilsOptionError�DistutilsPlatformError)�
write_file)�get_config_vars)�change_root�convert_path�get_platform�
subst_vars�)�_framework_compatTz{base}/Lib/site-packagesz{base}/Include/{dist_name}z{base}/Scriptsz{base})�purelib�platlib�headers�scripts�datazA{base}/lib/{implementation_lower}{py_version_short}/site-packageszN{platbase}/{platlibdir}/{implementation_lower}{py_version_short}/site-packageszM{base}/include/{implementation_lower}{py_version_short}{abiflags}/{dist_name}z
{base}/binz!{base}/lib/{implementation_lower}z*{base}/{platlibdir}/{implementation_lower}z1{base}/include/{implementation_lower}/{dist_name}z{base}/site-packagesz{base}/include/{dist_name})�posix_prefix�
posix_home�nt�pypy�pypy_ntz
{usersite}zF{userbase}/{implementation}{py_version_nodot_plat}/Include/{dist_name}z:{userbase}/{implementation}{py_version_nodot_plat}/Scriptsz
{userbase}�nt_userzQ{userbase}/include/{implementation_lower}{py_version_short}{abiflags}/{dist_name}z{userbase}/bin�
posix_userc
���[R"[5 [R"5Vs0sHnU[R
"USS9_M snsSSS5 $s snf!,(df   g=f)NF)�expand)�
contextlib�suppress�AttributeError�	sysconfig�get_scheme_names�	get_paths)�schemes �G/usr/lib/python3/dist-packages/setuptools/_distutils/command/install.py�_load_sysconfig_schemesr+cs^��	�	�	�^�	,�$�4�4�6�
�6��
�I�'�'��u�=�=�6�
�
-�	,��
�
-�	,�s�A$� A�A$�A$�$
A2c	���[5=(d 0n[[R"[U55Vs0sH.nU0[RU05EURU05E_M0 sn$s snf)z5
Extend default schemes with schemes from sysconfig.
)r+�set�	itertools�chain�INSTALL_SCHEMES�get)�sysconfig_schemesr)s  r*�
_load_schemesr3ks���
0�1�7�R���)�/�/�/�;L�M�N��
O�F�		�
��!�!�&�"�-�
��#�#�F�B�/�
�	
�O����s�5A2c�0�[[S5(agg)N�pypy_version_info�PyPy�Python)�hasattr�sys��r*�_get_implementationr<{s���s�'�(�(��r;c��[U[[U555n[U5R	[U[
U555 g�N)�_inject_headers�_load_scheme�_resolve_scheme�vars�update�_remove_set�
_scheme_attrs)�ob�namer)s   r*�_select_schemerH�s4��
�T�<���0E�#F�
G�F���H�O�O�K��M�&�$9�:�;r;c�t�UR5VVs0sHup#[X5bMX#_M snn$s snnf)z)
Include only attrs that are None in ob.
)�items�getattr)rF�attrs�key�values    r*rDrD�s/��*/����S��:�3�'�"�:J�J�C�J��S�S��Ss�4�4c��URS5upn[R"U5nU$![a [R
"U5nU$f=f)N�_)�	partitionr&�get_preferred_scheme�	Exception�fwr))rG�os_name�seprM�resolveds     r*rArA�sT�����s�+��G�#�#��1�1�#�6���O���#��9�9�T�?���O�#�s�.� A�Ac��[5U$r>)r3)rGs r*r@r@�s���?�4� � r;c�F�[U5nURSUS5 U$)z�
Given a scheme name and the resolved scheme,
if the scheme does not include headers, resolve
the fallback scheme for the name and use headers
from it. pypa/distutils#88
r)r@�
setdefault)rGr)�fallbacks   r*r?r?�s(���D�!�H�
���i��)�!4�5��Mr;c�F�[Vs0sHnSU3X_M
 sn$s snf)z<Resolve install directories by applying the install schemes.�install_)�SCHEME_KEYS)r)rMs  r*rErE�s(��5@�A�[�c�h�s�e��f�k�)�[�A�A��As�c�x�\rSrSr%Sr/SQr/SQrS\S'\(a)\RSSS	\
S
345 \RS5 SS0rS
\S'S+SjrS+Sjr
S+SjrS+SjrS+SjrS+SjrSrS+SjrS+SjrS+SjrS+SjrS+SjrS+SjrSrSrSrSrS rS!rS"rS#r S$\4S%\4S&\4S'\ 4S(S)4/r!S*r"g),�install�z'install everything from build directory))zprefix=Nzinstallation prefix)zexec-prefix=Nz.(Unix only) prefix for platform-specific files)zhome=Nz+(Unix only) home directory to install under)z
install-base=Nz;base installation directory (instead of --prefix or --home))zinstall-platbase=Nz\base installation directory for platform-specific files (instead of --exec-prefix or --home))zroot=Nz<install everything relative to this alternate root directory)zinstall-purelib=Nz;installation directory for pure Python module distributions)zinstall-platlib=Nz8installation directory for non-pure module distributions)zinstall-lib=Nzginstallation directory for all module distributions (overrides --install-purelib and --install-platlib))zinstall-headers=Nz(installation directory for C/C++ headers)zinstall-scripts=Nz)installation directory for Python scripts)z
install-data=Nz%installation directory for data files)�compile�czcompile .py to .pyc [default])�
no-compileNzdon't compile .py files)z	optimize=�Ozlalso compile with optimization: -O1 for "python -O", -O2 for "python -OO", and -O0 to disable [default: -O0])�force�fz1force installation (overwrite any existing files))�
skip-buildNz2skip rebuilding everything (for testing/debugging))zrecord=Nz3filename in which to record list of installed files)rbrfrhzClassVar[list[str]]�boolean_options�userNzinstall in user site-package '�'rdrbzClassVar[dict[str, str]]�negative_optc�r�SUlSUlSUlSUlSUlSUlSUlSUlSUlSUl	SUl
SUlSUl[Ul[UlSUlSUlSUlSUlSUlSUlSUlSUlSUlSUlg)zInitializes options.NFT)�prefix�exec_prefix�homerj�install_base�install_platbase�root�install_purelib�install_platlib�install_headers�install_lib�install_scripts�install_datar�install_userbaser�install_usersiterb�optimize�
extra_path�install_path_filerf�
skip_build�warn_dir�
build_base�	build_lib�record��selfs r*�initialize_options�install.initialize_options�s���#'���'+��� $��	���	�
!��� $��� $��	� $���#���#���'+���#��� ��� )��� )��������
����!%�����
������
���������r;c�z
�UR(d"UR(dUR(a-UR(dUR(a[S5eUR(a-UR(dUR(a[S5eUR(a`UR(dDUR(d3UR(d"UR(dUR(a[S5e[RS:wa)UR(aURS5 SUlURS5 [RS:XaUR5 OUR5 URS5 [RR5S	n[!S
S5up#[R"nUR&R)5UR&R+5UR&R-5U[R.R0S
[R.R23[R.R0[R.R23UUUUU[5[SS5[75R95[75S.n[;[5[SS5R=S
S5S9n[>(aUR@US'URBUS'[DRF"U[HR "5U[JRL"55Ul'URQ5 URS5 URUS'URUS'[R(a,S	SK*J*n [WS5 U"[;URN55 URY5 URS5 UR(aUR[5 UR\cBUR&R_5(aUR`Ul.OURbUl.UReSSSSSSSS5 URg5 UR\Ul4[RjRmUR\URn5Ul.URpbURsS SSSSSS5 URS!5 URuS"S#S$5 g![$a SnGNUf=f)%zFinalizes options.zWmust supply either prefix/exec-prefix/home or install-base/install-platbase -- not bothz9must supply either home or prefix/exec-prefix -- not bothzGcan't combine user with prefix, exec_prefix/home, or install_(plat)base�posixz+exec-prefix option ignored on this platformNzpre-finalize_{unix,other}zpost-finalize_{unix,other}()rrnro��.�
platlibdir�lib)�	dist_name�dist_version�
dist_fullname�
py_version�py_version_short�py_version_nodot�
sys_prefixrn�sys_exec_prefixro�abiflagsr��implementation_lower�implementation�winver)�py_version_nodot_plat�userbase�usersitezpost-expand_basedirs()�base�platbase)�pprintzconfig vars:zpost-expand_dirs()rrrrr�libbasezafter prepending root�build)r�r�)r�r�);rnrorprqrrrrj�osrG�warn�	dump_dirs�
finalize_unix�finalize_otherr9�version�splitrr�r%�distribution�get_name�get_version�get_fullname�version_info�major�minorrKr<�lower�dict�replace�
HAS_USER_SITErzr{�collections�ChainMapr&rTrB�config_vars�expand_basedirsr
r��print�expand_dirs�create_home_pathrw�has_ext_modulesrurt�
convert_paths�handle_extra_path�install_libbase�path�join�
extra_dirsrs�change_roots�set_undefined_options)r�r�rnror��
local_vars�compat_varsr�s        r*�finalize_options�install.finalize_optionsDs�� 
�K�K�4�+�+�t�y�y�����!6�!6�&�i��
��9�9�$�+�+��)9�)9�&�K��
��9�9��K�K�����y�y�� � ��$�$�&�:��
��7�7�g������	�	�G�H�#'�� �	
���2�3�
�7�7�g����� ����!����5�6��[�[�&�&�(��+�
� /��-� H���	��|�|�H�
�*�*�3�3�5� �-�-�9�9�;�!�.�.�;�;�=�$�#&�#3�#3�#9�#9�":�!�C�<L�<L�<R�<R�;S� T�#&�#3�#3�#9�#9�":�3�;K�;K�;Q�;Q�:R� S� ��*�&� �!�#�|�U�;�$7�$9�$?�$?�$A�1�3�
�
�$�")�#�x��"<�"D�"D�S�"�"M�
��
�=�%)�%:�%:�J�z�"�%)�%:�%:�J�z�"�&�/�/���%�%�'���G�G�I�	
���	
�������/�0�"�.�.�
�6��!%�!6�!6�
�:���5�%��.�!��4��(�(�)�*�	
�������+�,��9�9��!�!�#����#�� � �0�0�2�2�#'�#7�#7�� �#'�#7�#7�� �	
�����������		
� 	
��� �#�/�/����7�7�<�<��(8�(8�$�/�/�J����9�9� �����5�)�Y�	�6�9�
�	
���.�/�	
�"�"��1�3M�	
��Q�	��H�	�s�T*�*T:�9T:c��[(dgSSKJn [R"US-5 UR
H�nUSnUSS:XaUSSnX@R;a1URUnURU5n[X5(+nOURU5n[X5n[R"SXE5 M� g)	zDumps the list of user options.Nr)�
longopt_xlate�:r����=z  %s: %s)	r
�fancy_getoptr�r�debug�user_optionsrl�	translaterK)r��msgr��opt�opt_name�vals      r*r��install.dump_dirs�s����u��0��	�	�#��)���$�$�C��1�v�H���|�s�"�#�A�b�>���,�,�,��,�,�X�6��#�-�-�m�<��!�$�1�1��#�-�-�m�<���d�-���I�I�j�(�0�%r;c�D�URc
URb�URSL=(a# URSL=(a URSL=(d8 UR
SL=(d# URSL=(d URSLnU(a[S5egUR(aBURc[S5eUR=UlUlURS5 gURb*UR=UlUlURS5 gURc�URb[S5e[!["SS5n[$R&R)[*R5U-Ul[$R&R)[*R5U-UlOURcURUlURUlURUlURS	5 g)
z&Finalizes options for posix platforms.NzPinstall-base or install-platbase supplied, but installation scheme is incomplete�$User base directory is not specifiedr rz*must not supply exec-prefix without prefix�_prefix_additionr�r)rqrrrwrtrurvrxryrrjrzr�
select_schemerprnrorKr&r�r��normpathr9)r��incomplete_schemer�s   r*r��install.finalize_unixs������(�D�,A�,A�,M��$�$��,�5��,�,��4�5��,�,��4�-�
�'�'�4�/�-��'�'�4�/�
-��$�$��,�
�!�*�8���
��9�9��$�$�,�,�-S�T�T�8<�8M�8M�M�D��� 5����|�,�
�Y�Y�
"�8<�	�	�A�D��� 5����|�,��{�{�"��#�#�/�.�D���
$+�9�6H�"�#M� � �g�g�.�.�s�z�z�:�=M�M���#%�7�7�#3�#3�C�O�O�#D�GW�#W�� ��#�#�+�'+�{�{�D�$� $���D��$(�$4�$4�D�!����~�.r;c�~�UR(aSURc[S5eUR=UlUlUR[RS-5 gURb*UR=UlUlURS5 gURc2[RR[R5Ul	UR=UlUlUR[R5 g![a [S[RS35ef=f)z)Finalizes options for non-posix platformsNr��_userrz&I don't know how to install stuff on 'rk)rjrzrrqrrr�r�rGrprnr�r�r9�KeyErrorr�s r*r��install.finalize_other@s����9�9��$�$�,�,�-S�T�T�8<�8M�8M�M�D��� 5����r�w�w��0�1�
�Y�Y�
"�8<�	�	�A�D��� 5����|�,��{�{�"� �g�g�.�.�s�z�z�:���8<���C�D��� 5�
��"�"�2�7�7�+���
�,�<�R�W�W�I�Q�G���
�s�4D�(D<c��[X5 gr>)rH)r�rGs  r*r��install.select_schemeVs
���t�"r;c���UHgn[X5nUcM[RS;a[RR	U5n[X0R5n[XU5 Mi g)N)r�r)rKr�rGr��
expanduserrr��setattr)r�rL�attrr�s    r*�
_expand_attrs�install._expand_attrsYsU���D��$�%�C����7�7�o�-��'�'�,�,�S�1�C� ��&6�&6�7����C�(�
r;c�*�UR/SQ5 g)zFCalls `os.path.expanduser` on install_base, install_platbase and
root.)rqrrrsN�r�r�s r*r��install.expand_basedirsbs��	
���G�Hr;c�*�UR/SQ5 g)z+Calls `os.path.expanduser` on install dirs.)rtrurwrvrxryNr�r�s r*r��install.expand_dirsgs�����
�	r;c�\�UH&nSU-n[X[[X555 M( g)z!Call `convert_path` over `names`.r]N)r�rrK�r��namesrGr�s    r*r��install.convert_pathsrs*���D���$�D��D��W�T�-@� A�B�r;c�
�URcURRUlURb�[R"S5 [	UR[
5(a URR
S5Ul[UR5S:XaURS=pO3[UR5S:XaURupO[S5e[U5nOSnSnXl
X lg)	z4Set `path_file` and `extra_dirs` using `extra_path`.NzIDistribution option extra_path is deprecated. See issue27919 for details.�,rrrzY'extra_path' option must be a list, tuple, or comma-separated string with 1 or 2 elementsr�)r}r�r�warning�
isinstance�strr��lenrr�	path_filer�)r�r�r�s   r*r��install.handle_extra_pathxs����?�?�"�"�/�/�:�:�D�O��?�?�&��K�K�.�
��$�/�/�3�/�/�"&�/�/�"7�"7��"<����4�?�?�#�q�(�)-����);�;�	�J��T�_�_�%��*�(,���%�	�:�*�B���&�j�1�J��I��J�#��$�r;c�r�UH1nSU-n[X[UR[X555 M3 g)z:Change the install directories pointed by name using root.r]N)r�rrsrKr�s    r*r��install.change_roots�s0���D���$�D��D��D�I�I�w�t�7J� K�L�r;c��UR(dg[[RR	S55nUR
R
5Hvn[U5RU5(dM$[RRU5(aMJURSUS35 [R"US5 Mx g)zCreate directories under ~.N�~z
os.makedirs('z	', 0o700)i�)rjrr�r�r�r��valuesr��
startswith�isdir�debug_print�makedirs)r�rpr�s   r*r��install.create_home_path�s����y�y���B�G�G�.�.�s�3�4���$�$�+�+�-�D��4�y�#�#�D�)�)�"�'�'�-�-��2E�2E�� � �=���i�!@�A����D�%�(�.r;c��UR(d`URS5 URRS5RnUR
(aU[
5:wa[S5eUR5HnURU5 M UR(aUR5 UR(a�UR5nUR(a9[UR5n[[U55HnX5USX5'M UR!["URU4SURS35 [%[&R(R*[,R(5n[%[&R(R.U5n[&R(R/[&R(R+UR055nUR
(aKUR(aUR2(d(Xv;a"[4R6"SUR05 gggg)zRuns the command.r�z"Can't install when cross-compilingNz$writing list of installed files to 'rkz�modules installed to '%s', which is not in Python's module search path (sys.path) -- you'll have to change the search path yourself)r�run_commandr��get_command_obj�	plat_namer�rr�get_sub_commandsr��create_path_filer��get_outputsrsr��range�executer
�mapr�r�r�r9�normcaserwr~rr�)r��
build_plat�cmd_name�outputs�root_len�counter�sys_pathrws        r*�run�install.run�s���������W�%��*�*�:�:�7�C�M�M�J��}�}��|�~�!=�,�-Q�R�R��-�-�/�H����X�&�0��>�>��!�!�#��;�;��&�&�(�G��y�y��t�y�y�>��$�S��\�2�G�'.�'7��	�'B�G�$� 3��L�L�����g�&�6�t�{�{�m�1�E�
��r�w�w�'�'����2���r�w�w�'�'��2���g�g�&�&�r�w�w�'7�'7��8H�8H�'I�J���M�M��^�^��(>�(>��+��I�I�E�� � �

�,�)?�
r;c��[RRURURS-5nUR
(a'UR
[XR/4SU35 gURSUS35 g)zCreates the .pth file�.pthz	creating zpath file 'z
' not createdN)
r�r�r�r�r�r~rr
r�r�)r��filenames  r*r	�install.create_path_file�si���7�7�<�<�� 4� 4�d�n�n�v�6M�N���!�!��L�L��X���'8�9�Y�x�j�;Q�
�
�I�I��H�:�]�;�<r;c��/nUR5HCnURU5nUR5HnXA;dM
URU5 M ME UR(aWUR
(aFUR[RRURURS-55 U$)z.Assembles the outputs of all the sub-commands.r)
r�get_finalized_commandr
�appendr�r~r�r�r�r�)r�rr�cmdrs     r*r
�install.get_outputs�s������-�-�/�H��,�,�X�6�C� �O�O�-���*��N�N�8�,�.�	0��>�>�d�4�4��N�N�2�7�7�<�<��(<�(<�d�n�n�v�>U�V�W��r;c��/nUR5H3nURU5nURUR55 M5 U$)z*Returns the inputs of all the sub-commands)rr�extend�
get_inputs)r��inputsrrs    r*r"�install.get_inputs�sF�����-�-�/�H��,�,�X�6�C��M�M�#�.�.�*�+�0��
r;c�x�URR5=(d URR5$)zKReturns true if the current distribution has any Python
modules to install.)r��has_pure_modulesr�r�s r*�has_lib�install.has_libs/��
���.�.�0�W�D�4E�4E�4U�4U�4W�	
r;c�6�URR5$)zDReturns true if the current distribution has any headers to
install.)r��has_headersr�s r*r*�install.has_headers���� � �,�,�.�.r;c�6�URR5$)zEReturns true if the current distribution has any scripts to.
install.)r��has_scriptsr�s r*r.�install.has_scriptsr,r;c�6�URR5$)zBReturns true if the current distribution has any data to.
install.)r��has_data_filesr�s r*�has_data�install.has_datas��� � �/�/�1�1r;rwrvrxry�install_egg_infoc��g)NTr:r�s r*�<lambda>�install.<lambda>$s��$r;)r�r�rbr�ror�r}rfrprqryrvrwr�r~rrrurtrxrzr{r|r�rnr�rsrrjr�)�return�None)#�__name__�
__module__�__qualname__�__firstlineno__�descriptionr�ri�__annotations__r�rrrlr�r�r�r�r�r�r�r�r�r�r�r�r�rr	r
r"r'r*r.r2�sub_commands�__static_attributes__r:r;r*r`r`�s
��;�K�8�L�t,N�O�(�M�������,�Y�K�q�9�
�	�
	���v�&�.:�I�-F�L�*�F�E�Zr
�n1�(//�b�,#�)�I�
	�C�!%�FM�)�0�d=�� �
�/�
/�
2�
�� �	�K�(�	�K�(�	��"�	�.�/��Lr;r`)2�__doc__�
__future__rr�r#r.r�r9r&�distutils._logr�siterr�typingr�corer	r�r
�errorsrr�	file_utilr
r�utilrrrrr�rrTr��WINDOWS_SCHEMEr0rC�schemesr^r+r3r<rHrDrAr@r?rEr`r:r;r*�<module>rMsa��/�#����	�
���%����A�"�'�F�F�%��
�*�)�+�����W�+�3����7�?�F�����)�)�/���
�*�)�/�#���3 ��F����O��
"�O�I�� ��3�#��
%�O�L�!����r�z�z�"�C��
�
� �<�
T��!��B�
w	�g�w	r;

Youez - 2016 - github.com/yon3zu
LinuXploit