403Webshell
Server IP : 46.101.140.223  /  Your IP : 216.73.217.61
Web Server : nginx/1.22.1
System : Linux debian-s-1vcpu-1gb-fra1-01 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
User : deploy-others ( 1001)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python3/dist-packages/numpy/distutils/command/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/numpy/distutils/command/__pycache__/build_clib.cpython-311.pyc
�

���c#K��N�dZddlZddlmZddlZddlmZddlmZm	Z	m
Z
ddlmZddl
mZddlmZmZmZmZmZmZdd	lmZejZeee����D]8Zeedd
vr&eeddzfeedd�zee<�9Gd
�de��ZdS)zC Modified version of build_clib that handles fortran source files.
�N)�glob)�
build_clib)�DistutilsSetupError�DistutilsError�DistutilsFileError)�log)�newer_group)�filter_sources�get_lib_source_files�get_numpy_include_dirs�has_cxx_sources�
has_f_sources�is_sequence)�new_ccompiler_opt)z
build-clibz
build-temp�=�c�x�eZdZdZejgd�zZejgd�zZd�Zd�Zd�Z	d�Z
d�Zd	�Zd
�Z
d�Zd�Zd
S)rz1build C/C++/F libraries used by Python extensions))z
fcompiler=Nz!specify the Fortran compiler type)�inplace�izBuild in-place)z	parallel=�jznumber of parallel jobs)�
warn-errorNz'turn all warnings into errors (-Werror))z
cpu-baseline=Nz4specify a list of enabled baseline CPU optimizations)z
cpu-dispatch=Nz.specify a list of dispatched CPU optimizations)�disable-optimizationNz1disable CPU optimized code(dispatch,simd,fast...))rrrc��tj|��d|_d|_d|_d|_d|_d|_d|_dS)Nr)	�old_build_clib�initialize_options�	fcompilerr�parallel�
warn_error�cpu_baseline�cpu_dispatch�disable_optimization)�selfs �D/usr/lib/python3/dist-packages/numpy/distutils/command/build_clib.pyrzbuild_clib.initialize_options1sM���)�$�/�/�/���������
���� ��� ���$(��!�!�!�c���|jr=	t|j��|_n"#t$r}td��|�d}~wwxYwtj|��|�dddddd��dS)Nz)--parallel/-j argument must be an integer�build)rr)rr)rr)r r )r!r!)r�int�
ValueErrorr�finalize_options�set_undefined_options)r"�es  r#r)zbuild_clib.finalize_options<s����=�	U�
U� #�D�M� 2� 2��
�
���
U�
U�
U� �!L�M�M�ST�T�����
U�����'��-�-�-��"�"�7�(@�(D�(H�(H�(X�	$�	$�	$�	$�	$s�#�
A�=�Ac�l�|jD]+\}}t|�dg����rdS�,dS�N�sourcesTF)�	librariesr�get�r"�lib_name�
build_infos   r#�have_f_sourceszbuild_clib.have_f_sourcesKsG��&*�n�	�	�"�X�z��Z�^�^�I�r�:�:�;�;�
��t�t�
��ur$c�l�|jD]+\}}t|�dg����rdS�,dSr-)r/r
r0r1s   r#�have_cxx_sourceszbuild_clib.have_cxx_sourcesQsG��&*�n�	�	�"�X�z��z�~�~�i��<�<�=�=�
��t�t�
��ur$c���|jsdSg}|�d��|jD]6\}}|�dd��}|r||vr|�|���7ddlm}||j|j|j���|_|j�	|j
|������|jr>|jj�d��|jj
�d��|j}d|_|j�|��||_|j���|j�st"j�dd	d
d��}t"j�|�d��j|��}t"j�t"j�|jd����}t1|d
��r|j���t7|j||j|j|���|_d�}	ddl}
|
�|	|j��|� ��r�ddl!m"}||j#|j$|j|jd|v|j���|_%|j%�g|j%�	|j
��|j}d|_|j%�|��||_|j%���nd|_%|�&|j��|j'r�|j
j(D]�}|j�)|j*��}t"j�|j+|��}
t"j�|j,|��}|�-|j,��t]j/|
|����dSdS)N�	build_src�languager)�new_compiler)�compiler�dry_run�force)�need_cxxz-Werror�numpy�	distutils�includeznpy_cpu_dispatch_config.hzccompiler_opt_cache_clib.py�compiler_opt)r;�dispatch_hpathrr �
cache_pathc�~�tjd��tj|�d�����dS)Nz3
########### CLIB COMPILER OPTIMIZATION ###########T)�full)r�info�report)�copts r#rHzbuild_clib.run.<locals>.report�s7����O�P�P�P������$��/�/�0�0�0�0�0r$��
new_fcompiler�f90�r;�verboser<r=�
requiref90�
c_compiler)0r/�run_commandr0�append�distutils.ccompilerr:r;r<r=�	customize�distributionr6r�compiler_so�
customize_cmd�show_customizationr!�os�path�join�get_finalized_commandr8�abspath�
build_temp�hasattrrB�cache_flushrrr �atexit�registerr4�numpy.distutils.fcompilerrKrrN�_f_compiler�build_librariesr�installed_libraries�library_filename�namer�
target_dir�mkpath�shutil�copy)r"�	languagesr2r3�lr:r/rC�opt_cache_pathrHrarK�libname�source�targets               r#�runzbuild_clib.runWs����~�	��F��	�	
����%�%�%�&*�n�	$�	$�"�X�z����z�4�0�0�A��
$�Q�i�'�'�� � ��#�#�#��4�4�4�4�4�4�$��d�m�-1�\�+/�:�7�7�7��
�	
�
���� 1�)-�)>�)>�)@�)@�	 �	B�	B�	B��?�	8��M�"�)�)�)�4�4�4��M�%�,�,�Y�7�7�7��N�	�����
�#�#�D�)�)�)�"����
�(�(�*�*�*��(�	7��W�\�\�'�;�	�Kf�g�g�N��W�\�\�$�*D�*D�[�*Q�*Q�*[�]k�l�l�N��W�_�_�����T�_�.K�L�L���N��t�^�,�,�
0��!�-�-�/�/�/� 1���~�!�.�T�=N�)�!�!�!�D��

1�
1�
1�
�M�M�M��O�O�F�D�$5�6�6�6���� � �	$�?�?�?�?�?�?�,�}�d�n�59�\�59�\�37�:�8=��8J�8<�
� G� G� G�D����+�� �*�*�4�+<�=�=�=� �N�	�!%���� �.�.�t�4�4�4�!*���� �3�3�5�5�5��#�D�����T�^�,�,�,��<�	,��&�:�
,�
,���-�8�8���@�@������d�o�w�?�?������a�l�G�<�<�����A�L�)�)�)���F�F�+�+�+�+�
	,�	,�
,�
,r$c��|�|j��g}|jD]$}|�t|�����%|S�N)�check_library_listr/�extendr)r"�	filenames�libs   r#�get_source_fileszbuild_clib.get_source_files�sT�������/�/�/��	��>�	8�	8�C����1�#�6�6�7�7�7�7��r$c�D�|D]\}}|�|||���dSru)�build_a_library)r"r/r2r3s    r#rezbuild_clib.build_libraries�s?��&/�	B�	B�"�X�z�� � ��X�y�A�A�A�A�	B�	Br$c��|�gSg}|D]5}t|��r|||��z
}� |�|���6|S)ah Assemble flags from flag list

        Parameters
        ----------
        in_flags : None or sequence
            None corresponds to empty list.  Sequence elements can be strings
            or callables that return lists of strings. Callable takes `self` as
            single parameter.

        Returns
        -------
        out_flags : list
        )�callablerR)r"�in_flags�	out_flags�in_flags    r#�assemble_flagszbuild_clib.assemble_flags�sd�����I��	��	*�	*�G��� � �
*��W�W�T�]�]�*�	�	�� � ��)�)�)�)��r$c��0�1�|j}|j}|�d��}|�t|��st	d|z���t|��}t
|��\}}}	}
|
p|�dd��dk}g}|r|�d��|r|�d��|r|�d��n|	r|�d��||d<|�||j	�	��}
||�d
g��z}|j
}|js/|j�
��stjd��d}|s(t!||
d
��stjd|��dStjd|��|�di��}|��|r�tjd|����ddlm}||j|j|j|j
||j���}|�X|j}|�d�����}|�|��|�|��|	s|
r|�t9d|z���|�8|�d��pg|_|�d��pg|_|�d��}|�g}|�d��}|�g}|�|�d����}|�|�d����}|�|�d����}|� tC����|�d��pg}tDj#�$|
��}|r|�%|��|jdkr||z
}g}g}g}g}g}|js�|�&d��j'}tDj#�(d d!d"��} tDj#�(|| ��} |�| ��|j)rdn|}!|f|d#f||f|d$ffD]%\}"}#�0|"D]�1|#�0�1fd%��1dd�D��z
}#��&|j�*��}n|�d&��g}$|rItjd'��|$|j�+||j,|!||z||j||z|%�(��z
}$|rHtjd)��|$|j�+||j,|!||z||j||z�*��z
}$|rEtjd+��|$|�-||j,||z||j||z|z�,��z
}$|rktjd-��|�.��}%|%�-||j,||z||j||z|z�,��}&|$� |&��|	s|
�r�g}g}'|r/|j/�tad.��}(||�1||��z
}|
r<tjd/��|'|�-|
|j,|||j|�,��z
}'|r�|jj/��tad.��D]�})|)|(vr�tDj#�(||)��}*tDj#�2|)��tDj#�2|*��kr�htDj#�3|*��rtEj4|*��	|�5|)|����#tl$rtj7d0|)�d1|����Y��wxYw|	r<tjd2��|'|�-|	|j,|||j|�,��z
}'ng}'|'�rq|�8|���s[tDj#�(|j	|d3z��}+ts|+d4��5})|)�:d5�(d6�|'D������ddd��n#1swxYwYtDj#�(|j	|d7z��}+ts|+d4��5})|)�:d5�(d8�|$D������ddd��n#1swxYwYtDj#�(|j	||j;z��},ts|,d9��5})	ddd��n#1swxYwYn8|$� |'��|�<|$||j	|j�:��|�d;g��}-|D]2\}.}/|.|-vr)|-� |/�d;g�����3|-r|-|d;<dSdS)<Nr.zfin 'libraries' option (library '%s'), 'sources' must be present and must be a list of source filenamesr9�crLzc++�f77�source_languages)�
output_dir�dependsz*Detected changes on compiler optimizationsT�newerz"skipping '%s' library (up-to-date)zbuilding '%s' library�	config_fczCusing additional config_fc from setup script for fortran compiler: rrJrMz<library %s has Fortran sources but no Fortran compiler found�extra_f77_compile_args�extra_f90_compile_args�macros�include_dirs�extra_compiler_args�extra_cflags�extra_cxxflags�module_dirs�msvcr8r?r@rA)z.dispatch.c)z
.dispatch.cppz
.dispatch.cxxc���g|]?}|���������|������@S�)�endswith�pop�index)�.0�s�_ext�_srcs  ��r#�
<listcomp>z.build_clib.build_a_library.<locals>.<listcomp>JsP�������A�J�J�t�,<�,<��������A���/�/���r$)�NPY_DISABLE_OPTIMIZATIONrz#compiling C++ dispatch-able sources)r��src_dirr�r��debug�extra_postargs�	ccompilerz!compiling C dispatch-able sources)r�r�r�r�r�r�zcompiling C sources)r�r�r�r�r�zcompiling C++ sourcesz*.modz#compiling Fortran 90 module sourceszfailed to move z to zcompiling Fortran sourcesz	.fobjects�w�
c3�TK�|]#}tj�|��V��$dSru�rYrZr]�r��objs  r#�	<genexpr>z-build_clib.build_a_library.<locals>.<genexpr>�s0����!L�!L�3�"�'�/�/�#�"6�"6�!L�!L�!L�!L�!L�!Lr$z	.cobjectsc3�TK�|]#}tj�|��V��$dSrur�r�s  r#r�z-build_clib.build_a_library.<locals>.<genexpr>�s0����!J�!J�3�"�'�/�/�#�"6�"6�!J�!J�!J�!J�!J�!Jr$�wb)r�r�r/)=r;rdr0rr�listr
rRrgrr=r!rB�	is_cachedrr�r	rGrcrK�
compiler_typerNr<rU�get_option_dictrl�updaterTrr�r�r�rwrrYrZ�dirnamerjr\r8r[r�cpu_baseline_flags�try_dispatchr^�compile�cxx_compiler�module_dir_switchr�module_optionsr]�isfile�remove�	move_filer�warn�can_ccompiler_link�open�write�static_lib_extension�create_static_lib)2r"r3r2r/r;rr.�	c_sources�cxx_sources�	f_sources�fmodule_sourcesrOr��lib_filer��
force_rebuildr�rK�dist�base_config_fcr�r�r�r�r�r��module_build_dir�copt_c_sources�copt_cxx_sources�copt_baseline_flags�copt_macros�bsrc_dirrC�copt_build_src�_srcs�_dst�objectsr��cxx_objects�	f_objects�existing_modules�f�t�listfn�	lib_fname�clib_libraries�lname�binfor�r�s2                                                @@r#r|zbuild_clib.build_a_library�su�����=���$�	��.�.��+�+���?�+�g�"6�"6�?�%�(D�GO�'P�Q�Q�
Q��w�-�-���W�%�%�	;�	�;�	�?�,�,�,�5��N�N�:�s�+�+�u�4�	����	)��#�#�C�(�(�(��	+��#�#�E�*�*�*��	+��#�#�E�*�*�*�*�
�	+��#�#�E�*�*�*�)9�
�%�&��,�,�X�8<��-�I�I���J�N�N�9�b�9�9�9���
�
��(�	!��1B�1L�1L�1N�1N�	!��I�B�C�C�C� �M��	8��W�h��!H�!H�	8��I�:�H�E�E�E��F��H�,�h�7�7�7��N�N�;��3�3�	�� �Y� ��H�H�!�	�$�
%�
%�
%�
@�?�?�?�?�?�%�
�y�/F�.2�l�.2�l�,0�J�1;�15��@�@�@�I��$��(��!%�!5�!5�k�!B�!B�!G�!G�!I�!I���%�%�i�0�0�0��#�#�N�3�3�3�
�	P��	P�i�.?� �"B�EM�"O�P�P�
P�� �/9�~�~�(�0*�0*�00�-/�
�,�/9�~�~�(�0*�0*�00�-/�
�,�����)�)���>��F�!�~�~�n�5�5�����L��,�,��N�N�0�1�1�3�3���*�*��N�N�>�*�*�,�,���,�,��N�N�+�,�,�.�.��	���2�4�4�5�5�5� �n�n�]�3�3�9�r���7�?�?�8�4�4���	*��K�K�(�)�)�)��!�V�+�+�
��$�I��K����� �����(�	@��1�1�+�>�>�H�H��W�\�\�'�;�	�J�J�N��W�\�\�(�N�C�C�N�����/�/�/�%)�\�?�T�T�x�N���~�/?�@��[�)�+;�6�8�&�	
�	
�!��t�T�
"���D�������!%�a�a�a������D�D��
#'�"3�"F�"F�"H�"H������>�?�?�?����	��H�:�;�;�;��t�(�5�5���?�&���+�)��j�-��>�&�6�	�	�	
�G��		>��H�8�9�9�9��t�(�5�5���?�&���+�)��j�-��<�6�>�>�
>�G��
	/��H�*�+�+�+��x�'�'���?���+�)��j� .� 3�!4� ,�!-�
(�/�/�
/�G��	(��H�,�-�-�-�#�0�0�2�2�L�&�.�.���?���+�)��j� .� 3�!4� .�!/�
/�1�1�K�
�N�N�;�'�'�'��,	��,	��N��I��
3��.�6�'+�G�}�}�$��)�":�":��!1�#3�#3�3���
N���>�?�?�?��Y�.�.��:>�/�6<�<H�59�Z�>L�/�N�N�N�	��
:�d�.�@�H��g���:�:�A��,�,�,� �����%5�q�9�9�A��w���q�)�)�R�W�_�_�Q�-?�-?�?�?� ��w�~�~�a�(�(�%��	�!����:����q�*:�;�;�;�;��-�:�:�:����$%�A�A�'7�'7�"9�:�:�:�:�:�:�����
N���4�5�5�5��Y�.�.�y�:>�/�6<�<H�59�Z�>L�/�N�N�N�	���I��	9�Y�9�9�(�C�C�	9��W�\�\�$�/�"*�[�"8�:�:�F��f�c�"�"�
N�a�����	�	�!L�!L�)�!L�!L�!L�L�L�M�M�M�
N�
N�
N�
N�
N�
N�
N�
N�
N�
N�
N����
N�
N�
N�
N��W�\�\�$�/�"*�[�"8�:�:�F��f�c�"�"�
L�a�����	�	�!J�!J�'�!J�!J�!J�J�J�K�K�K�
L�
L�
L�
L�
L�
L�
L�
L�
L�
L�
L����
L�
L�
L�
L�����T�_�%-��0M�%M�O�O�I��i��&�&�
�!��
�
�
�
�
�
�
�
�
�
�
����
�
�
�
��

�N�N�9�%�%�%��&�&�w��26�/�-1�Z�
'�
9�
9�
9�
$����R�8�8��%�	B�	B�L�E�5���&�&��%�%�e�i�i��R�&@�&@�A�A�A���	5�&4�J�{�#�#�#�	5�	5sH�>]�$]<�;]<�3a�a�a�3c�c�c�d(�(d,�/d,N)�__name__�
__module__�__qualname__�descriptionr�user_options�boolean_optionsrr)r4r6rsrzrer�r|r�r$r#rrs�������E�K�!�.�2�2�2��L� %�4�5�5�5�6�O�)�)�)�
$�
$�
$�������X,�X,�X,�t���B�B�B����0@5�@5�@5�@5�@5r$r)�__doc__rYrrk�distutils.command.build_clibrr�distutils.errorsrrr�numpy.distutilsr�distutils.dep_utilr	�numpy.distutils.misc_utilr
rrr
rr�numpy.distutils.ccompiler_optrr��_l�range�len�_ir�r$r#�<module>r�s�����	�	�	�	�������
�
�
�
�E�E�E�E�E�E����������� ������*�*�*�*�*�*�����������������<�;�;�;�;�;�� ��
�%���B���.�.�1�1�B�	�"�v�a�y�0�0�0��R�&��)�c�/�#�b��f�Q�R�R�j�0��2���z5�z5�z5�z5�z5��z5�z5�z5�z5�z5r$

Youez - 2016 - github.com/yon3zu
LinuXploit