403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.85
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/lib/python3/dist-packages/numpy/distutils/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

���c�
���dZddlZddlZddlZddlmZmZddlZddlm	Z	ej
�e	d���ej
jd�����Z
dS)z$Tests for numpy.distutils.build_ext.�N)�indent�dedent)�IS_WASMzcannot start subprocess in wasm)�reasonc
��ddlm}|��stjd��t	|dzd��5}|�t
td��d�����d	d	d	��n#1swxYwYt	|d
zd��5}|�t
td��d�����d	d	d	��n#1swxYwYt	|dzd��5}|�d
��d	d	d	��n#1swxYwYt	|dzd��5}tj	�
tj	�t��ddd��}|�td|�d�����d	d	d	��n#1swxYwY|}tjtjddddt#|dz��dt#|dz��gt#|�����d	}t	|dz��5}|D]}d|vr|���}n�d	d	d	��n#1swxYwY|�J�d	S)zY
    Ensures multiple "fake" static libraries are correctly linked.
    see gh-18295
    r)�has_f77_compilerzNo F77 compiler foundz	_dummy1.f�wzL            FUNCTION dummy_one()
            RETURN
            END FUNCTIONz      )�prefixNz	_dummy2.fzL            FUNCTION dummy_two()
            RETURN
            END FUNCTIONz_dummy.czint PyInit_dummyext;zsetup.pyz..a@            def configuration(parent_package="", top_path=None):
                from numpy.distutils.misc_util import Configuration
                config = Configuration("", parent_package, top_path)
                config.add_library("dummy1", sources=["_dummy1.f"])
                config.add_library("dummy2", sources=["_dummy2.f"])
                config.add_extension("dummyext", sources=["_dummy.c"], libraries=["dummy1", "dummy2"])
                return config


            if __name__ == "__main__":
                import sys
                sys.path.insert(0, r"zv")
                from numpy.distutils.core import setup
                setup(**configuration(top_path="").todict())�build�installz--prefix�
installdirz--recordztmp_install_log.txt)�cwd�dummyext)�numpy.f2py.tests.utilr�pytest�skip�open�writerr�os�path�join�dirname�__file__�
subprocess�
check_call�sys�
executable�str�strip)�tmp_pathr�fid�srctree�	build_dir�so�lines       �F/usr/lib/python3/dist-packages/numpy/distutils/tests/test_build_ext.py�test_multi_fortran_libs_linkr'
s���7�6�6�6�6�6�����-���+�,�,�,�
�h��$�c�	*�	*�-�c��	�	�&��!���&+�,�,�,�	-�	-�	-�-�-�-�-�-�-�-�-�-�-�-����-�-�-�-�

�h��$�c�	*�	*�-�c��	�	�&��!���&+�,�,�,�	-�	-�	-�-�-�-�-�-�-�-�-�-�-�-����-�-�-�-�

�h��#�S�	)�	)�*�S��	�	�(�)�)�)�*�*�*�*�*�*�*�*�*�*�*����*�*�*�*�

�h��#�S�	)�	)�B�S��'�,�,�r�w���x�8�8�$��d�K�K���	�	�&�@�'.�@�@�@�A�A�	B�	B�	B�B�B�B�B�B�B�B�B�B�B�B����B�B�B�B�&�I���3�>�:�w�	�%�s�8�l�+B�'C�'C�%�s�8�6K�+K�'L�'L��"�)�n�n�	����
�B�	
�h�-�-�	.�	.��#��	�	�D��T�!�!��Z�Z�\�\����"�������������������
�>�>�>�>�>sZ�2A6�6A:�=A:�2C�C�C�0D�D�D�0A+F'�'F+�.F+� I	�	I
�I
)�__doc__rrr�textwraprrr�
numpy.testingr�mark�skipif�slowr'��r&�<module>r0s���*�*�	�	�	�	�����
�
�
�
�#�#�#�#�#�#�#�#�
�
�
�
�!�!�!�!�!�!�����G�$E��F�F����>�>���G�F�>�>�>r/

Youez - 2016 - github.com/yon3zu
LinuXploit