403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/setuptools/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/setuptools/tests/__pycache__/test_build_ext.cpython-314.pyc
+
�hs'���^RIHt^RIt^RIt^RIHt^RIt^RIH	t	^RI
HtHt^RI
Ht^RIHt^RIHt^R	IHt^R
IHt^RIHuHt^RIHtR]P89t!R
R4t!RR4tRt R#)�)�annotationsN)�cache_from_source)�path)�	build_ext�get_abi3_suffix)�Distribution)�CompileError)�	Extension)�environment)�DALS)�get_config_var�__pypy__c�:�]tRt^tRtRtRtRtRtRt	Rt
R#)	�TestBuildExtc
��\4p\V4pRVPR&VPR4p\PPVR4pW48XgQhR#)ze
Setuptools needs to give back the same
result as distutils, even if the fullname
is not in ext_map.
�zfoo/bar�fooN)rr�ext_map�get_ext_filename�orig)�self�dist�cmd�res�wanteds&    �A/usr/lib/python3/dist-packages/setuptools/tests/test_build_ext.py�test_get_ext_filename�"TestBuildExt.test_get_ext_filenamesR���~����o��!#����I���"�"�5�)�����0�0��e�<���}��}�c
���\\44\RR.RR7p\\	V.R74p\V4pVP
4RVP9gQhVPR4p\4'g%VP\R44'gQhR
#\PR8XdVPR4'gQhR
#R	V9gQhR
#)ze
Filename needs to be loadable by several versions
of Python 3 if 'is_abi3' is truthy on Extension()
�	spam.eggs�eggs.cT��py_limited_api��ext_modules�
EXT_SUFFIX�win32zeggs.pyd�abi3N)
�printrr
r�dictr�finalize_optionsrr�endswithr
�sys�platform)r�	extensionrrrs&    r�test_abi3_filename�TestBuildExt.test_abi3_filename&s���
	�o�� ��k�H�:�d�K�	��D�i�[�9�:����o�������c�k�k�)�)�)��"�"�;�/��� � ��<�<��|� <�=�=�=�=�
�\�\�W�
$��<�<�
�+�+�+�+��S�=� �=rc
��\4p\V4p\RR.RR7;VPR&pRVn\
'gVP
R4pMRpR\PR&VP
R	4pR
V8XgQhVP
R4pWE8XgQh\PRR# \PRi;i)zL
SETUPTOOLS_EXT_SUFFIX variable always overrides
default extension options.
�for_abi3zs.cTr#Fzfor_abi3.test-suffixz.test-suffix�SETUPTOOLS_EXT_SUFFIX�normalznormal.test-suffixN)	rrr
r�_links_to_dynamic�IS_PYPYr�os�environ)rrr�ext�expectrs&     r�test_ext_suffix_override�%TestBuildExt.test_ext_suffix_override;s���
�~����o��(1��
�G��	)
�	
����J��#�!&����w��)�)�*�5�F�,�F�	4�2@�B�J�J�.�/��&�&�x�0�C�'�3�.�.�.��&�&�z�2�C��=� �=��
�
�2�3���
�
�2�3�s
�AB6�6C	c		���RRRRR///RRRR///p\RR	.4p\R
R.4p\RR
.4p\P!V4\RRRW#V.RRR//4#)�src�mypkg�subpkgzext2.crzc-extensions�ext1zmain.cz
mypkg.ext1zc-extensions/ext1/main.czmypkg.subpkg.ext2zsrc/mypkg/subpkg/ext2.c�ext3zc-extension/ext3.c�script_namez%test%r&�package_dir)r
r�buildr)r�filesrC�ext2rDs&    r�dist_with_example�TestBuildExt.dist_with_example[s����G�h��2��7�8��V�h��^�4�
��
��(B�'C�D���,�/H�.I�J����"6�!7�8���
�
�5����8��D��-��B��;�
��	rc		�^�VPRR4VPRR4VP4pVPR4pRVnVP
!4VPP\PR4pVP!4Uu.uF"qfP\PR4NK$	ppVVR2VR2VR2.8XgQhVP!4/8XgQhVPR4R	VnVP
!4VP!4P4UU	u/uFDwr�VP\PR4V	P\PR4bKF	p
pp	V
VR2R
VR2RVR2R/8XgQhR
#uupiuup	pi)r5�.mp3�&setuptools.command.build_ext.use_stubsFr�/�	/ext3.mp3�/mypkg/ext1.mp3�/mypkg/subpkg/ext2.mp3T�src/ext3.mp3�src/mypkg/ext1.mp3�src/mypkg/subpkg/ext2.mp3N)�setenv�setattrrJ�get_command_obj�
editable_mode�ensure_finalized�	build_lib�replacer9�sep�get_outputs�get_output_mapping�reinitialize_command�items)r�
tmpdir_cwd�monkeypatchrrr[�x�outputs�k�v�mappings&&&        r�test_get_outputs�TestBuildExt.test_get_outputsls������2�F�;����D�e�L��%�%�'���(�(��5�	�"'�	���"�"�$��'�'�/�/�����<�	�3<�3H�3H�3J�K�3J�a�9�9�R�V�V�S�)�3J��K���k��#��k��)��k�/�0�
�
�	
�
�
�+�+�-��3�3�3�	
�!�!�+�.�"&�	���"�"�$�"�4�4�6�<�<�>�
�>���
�I�I�b�f�f�c�"�A�I�I�b�f�f�c�$:�:�>�	�
���k��#�^��k��)�+?��k�/�0�2M�
�
�	
�
��!L��
s
�(F$�=A
F)c
	��VPRR4VPRR4VP4pVPR4pRVnVP
!4VPFpVPVRR4K	VPP\PR4pVP!4P4UUu/uFDwrxVP\PR4VP\PR4bKF	p	ppRp
V	V
!VR24V
!R	4VR
2RV
!VR24V
!R
4VR2RV
!VR24V
!R4VR2R/8XgQhVR2V	9gQhVR2V	9gQhV
!VR24pW�9gQhVPVR24'gQhVPR4'gQhR#uuppi)r5rMrNTr�_needs_stubrOc�T�\V4P\PR4#)zDMake it possible to do comparisons and tests in a OS-independent wayrO)�_compiled_file_namer\r9r])�files&r�C�9TestBuildExt.test_get_output_mapping_with_stub.<locals>.C�s��&�t�,�4�4�R�V�V�S�A�Arz/ext3.pyzsrc/ext3.pyrPrSz/mypkg/ext1.pyzsrc/mypkg/ext1.pyrQrTz/mypkg/subpkg/ext2.pyzsrc/mypkg/subpkg/ext2.pyrRrUz/mypkg/__pycache__/ext1z.pycN)rVrWrJrXrYrZ�
extensionsr[r\r9r]r_ra�
startswithr-)rrbrcrrr;r[rfrgrhrp�example_stubs&&&         r�!test_get_output_mapping_with_stub�.TestBuildExt.test_get_output_mapping_with_stub�s�����2�F�;����D�d�K��%�%�'���(�(��5�	�"&�	���"�"�$��'�'�C�����]�D�9�(��'�'�/�/�����<�	�"�4�4�6�<�<�>�
�>���
�I�I�b�f�f�c�"�A�I�I�b�f�f�c�$:�:�>�	�
�
	B��
���8�$�%�q��'7��k��#�^�
���>�*�+�Q�/B�-C��k��)�+?�
���0�1�2�A�6P�4Q��k�/�0�2M�

�
�	
�
���N�+�7�:�:�:���1�2�'�A�A�A��I�;�n�5�6���&�&�&��&�&�)��4K�'L�M�M�M�M��$�$�V�,�,�,�,��5
s�A
G
�N)�__name__�
__module__�__qualname__�__firstlineno__rr1r=rJriru�__static_attributes__rwrrrrs"���!�*4�@�"
�@'-rrc�4�]tRt^�tRRltRtRtRtRtR#)�TestBuildExtInplacec� �V^8�dQhRRRR/#)��optional�bool�returnrrw)�formats"r�__annotate__� TestBuildExtInplace.__annotate__�s����$��9�rc	��RRRR/R///p\P!V4\RR.VR7p\\	V.R74pRVn\
V4p\V4P!R
R	R
RR/VBVP4V#)r"z#include missingheader.h
z.build�lib�tmpr!)r�r%�setup.pyr[z
.build/lib�
build_tempz
.build/tmprw)
rrGr
rr+rEr�vars�updaterZ)rr��optsrHr0rrs&&,    r�get_build_ext_cmd�%TestBuildExtInplace.get_build_ext_cmd�s����2��u�b�%��,�=
��	
�
�
�5���k�H�:��I�	��D�i�[�9�:��%�����o���S�	���Q�<�Q�L�Q�D�Q������
rc
��VP4pVPP4VPP4,VP,#)z�
Historically, distutils "logged" by printing to sys.std*.
Later versions adopted the logging framework. Grab
messages regardless of how they were captured.
)�
readouterr�out�
splitlines�err�messages)r�caplog�capsys�stds&&& r�get_log_messages�$TestBuildExtInplace.get_log_messages�s@�����!���w�w�!�!�#�c�g�g�&8�&8�&:�:�V�_�_�L�Lrc
��VPRRR7pVP4\;QJd+RVPW#44F'gKRM 	RM!RVPW#444'gQhR#)zj
If optional extensions fail to build, setuptools should show the error
in the logs but not fail to build
T�r��inplacec3�&"�TFpRx�K		R#5i)z0build_ext: building extension "spam.eggs" failedNrw)�.0�msgs& r�	<genexpr>�4TestBuildExtInplace.test_optional.<locals>.<genexpr>�s���
�<��
?�<�s�FN)r��run�anyr�)rrbr�r�rs&&&& r�
test_optional�!TestBuildExtInplace.test_optional�sq��
�$�$�d�D�$�A�����	��s�
��,�,�V�<�
�s�s�s�
��,�,�V�<�
�
�
�	
�
rc	���VPRRR7p\P!\4;_uu_4VP	4RRR4R# +'giR#;i)FTr�N)r��pytest�raisesr	r�)rrbrs&& r�test_non_optional�%TestBuildExtInplace.test_non_optional�s>���$�$�e�T�$�B��
�]�]�<�
(�
(��G�G�I�)�
(�
(�
(�s�A�A"	rwN)	rxryrzr{r�r�r�r�r|rwrrr~r~�s���M�

�rr~c���R\R4R\R4R\R4/p\P!V4\P!R.RR7wpwr4V^8XgQRVR	V24hR
#)r�z�
            from setuptools import Extension, setup
            setup(
                name='foo',
                version='0.0.0',
                ext_modules=[Extension('foo', ['foo.c'])],
            )
            zfoo.ca�
            #include "Python.h"

            #if PY_MAJOR_VERSION >= 3

            static struct PyModuleDef moduledef = {
                    PyModuleDef_HEAD_INIT,
                    "foo",
                    NULL,
                    0,
                    NULL,
                    NULL,
                    NULL,
                    NULL,
                    NULL
            };

            #define INITERROR return NULL

            PyMODINIT_FUNC PyInit_foo(void)

            #else

            #define INITERROR return

            void initfoo(void)

            #endif
            {
            #if PY_MAJOR_VERSION >= 3
                PyObject *module = PyModule_Create(&moduledef);
            #else
                PyObject *module = Py_InitModule("extension", NULL);
            #endif
                if (module == NULL)
                    INITERROR;
            #if PY_MAJOR_VERSION >= 3
                return module;
            #endif
            }
            z	setup.cfgzD
            [build]
            build_base = foo_build
            rG)r�data_streamz	
STDOUT:
z	
STDERR:
N)rr�)rrrGr�run_setup_py)rbrH�code�stdout�stderrs&    r�test_build_ext_config_handlingr��s����D�
�	
�	��(
�*
�V	�T�
�
�m<
�E�z	�J�J�u��(�5�5�
�I����D�
�6��1�9�?��F�8�;�v�h�?�?�9r)!�
__future__rr9r.�importlib.utilrrnr��jaracor�setuptools.command.build_extrr�setuptools.distr�setuptools.errorsr	�setuptools.extensionr
rr�textwrapr�distutils.command.build_ext�commandr�distutils.sysconfigr
�builtin_module_namesr8rr~r�rwrr�<module>r�sa��"�	�
�C�
��C�(�*�*���*�*�.�
��0�0�
0��[-�[-�|)�)�XC@r

Youez - 2016 - github.com/yon3zu
LinuXploit