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_meta.cpython-314.pyc
+
�hF��
���^RIt^RIt^RIt^RIt^RIt^RIt^RIt^RIt^RIt^RI	H
t
^RIHt^RI
HtHt^RIHt^RIt^RIHt^RIHt^RIHt^R	IHtR
t]!]P:!RR44tR
]P>9t ]PBPE]PFR8H;'d] RR7t$!RR4t%!RR]%4t&!RR]%4t'R]!R4R]!R4/R]!R4R]!R4/R]!R4R]!R4/R]!R4/R]!R4R]!R 4/R]!R4RR
R]!R 4/.t(!R!R"4t)!R#R$])4t*R%t+]PBPYR&4R'4t-R(t.R#))�N)�futures)�Path)�Any�Callable)�ZipFile)�path)�Requirement)�SetuptoolsDeprecationWarning)�DALSz __import__('setuptools').setup()�TIMEOUT_BACKEND_TEST�180�__pypy__�win32z_The combination of PyPy + Windows + pytest-xdist + ProcessPoolExecutor is flaky and problematic)�reasonc�*a�]tRt^%toRRltRtVtR#)�BuildBackendBaseNc�@�WnT;'g/VnW0nR#)N)�cwd�env�backend_name)�selfrrrs&&&&�B/usr/lib/python3/dist-packages/setuptools/tests/test_build_meta.py�__init__�BuildBackendBase.__init__&s�����9�9�"���(��)rrr)�.N�setuptools.build_meta)�__name__�
__module__�__qualname__�__firstlineno__r�__static_attributes__�__classdictcell__��
__classdict__s@rrr%s����)�)rrc�Naa�]tRt^,toRtV3RltV3RlRltRtRtVt	V;t
#)�BuildBackendzPEP 517 Build Backendc�`<�\SV`!V/VB\P!^R7VnR#)�)�max_workersN)�superrr�ProcessPoolExecutor�pool)r�args�kwargs�	__class__s&*,�rr�BuildBackend.__init__/s'���
���$�)�&�)��/�/�A�>��	rc�:<�V^8�dQhRS[RS[RS[3,/#)��name�return.)�strrr)�formatr%s"�r�__annotate__�BuildBackend.__annotate__3s$���������c��(:�rc�aa�VV3RlpV#)�<Handles arbitrary function invocations on the build backend.c��<�\PPSP4p\	VSP
SP4pRpSPP\P4P\4pSPP!VS.VO5/VBP\4# \PdPSPPRR7SPT4\ P"!R\R24R#\P$P&\(\*3d%\,'d\ P"!R4hi;i)NF)�waitz(Backend did not respond before timeout (z s)z3PyPy frequently fails tests with ProcessPoolExector)�osr�abspathr�BuildBackendCallerrrr-�submit�getpid�result�TIMEOUTr�TimeoutError�shutdown�_kill�pytest�xfail�process�BrokenProcessPool�MemoryError�OSError�IS_PYPY)r.�kw�root�caller�pidr4rs*,   ��r�method�(BuildBackend.__getattr__.<locals>.method6s����7�7�?�?�4�8�8�,�D�'��d�h�h��8I�8I�J�F��C�

��i�i�&�&�r�y�y�1�8�8��A���y�y�'�'���B�t�B�r�B�I�I�'�R�R���'�'�
V��	�	�"�"��"�.��
�
�3�����G��y�PS�T�U��O�O�5�5�{�G�L�
��7��L�L�!V�W��
�s �A/B?�?A E/�"'E/�
E/�E/�)rr4rSsff r�__getattr__�BuildBackend.__getattr__3s���	� �
rc�.�VfR#\P!\\4;_uu_4\P
!T\PR8Xd\PM\P4RRR4R# +'giR#;i)N�nt)
�
contextlib�suppress�ProcessLookupErrorrMr>�killr4�signal�SIGTERM�SIGKILL)rrRs&&rrG�BuildBackend._killHsO���;��
�
 �
 �!3�W�
=�
=��G�G�C�2�7�7�d�?�������O�>�
=�
=�
=�s�AB�B	)r-)rrr r!�__doc__rrVrGr"r#�
__classcell__�r0r%s@@rr'r',s#�����?���*P�Prr'c�8aa�]tRt^OtoV3RltRtRtVtV;t#)r@c�x<�\SV`!V/VBVPPR4wVnq0nR#)�:N)r+rr�	partition�backend_obj)rr.r/�_r0s&*, �rr�BuildBackendCaller.__init__Ps6���
���$�)�&�)�37�3D�3D�3N�3N�s�3S�0��	�A�/rc�J�\P!VP4\PP	VP
4\P!VP4pVP'd\W@P4pMTp\WQ4!V/VB#)r;)r>�chdirr�environ�updater�	importlib�
import_modulerri�getattr)rr4r.rO�mod�backends&&*,  r�__call__�BuildBackendCaller.__call__Ust��
�������
�
�
���$�(�(�#��%�%�d�&7�&7�8�������c�#3�#3�4�G��G��w�%�t�2�r�2�2r)rri)	rrr r!rrur"r#rcrds@@rr@r@Os����T�
3�3rr@�setup.pyz�
            __import__('setuptools').setup(
                name='foo',
                version='0.0.0',
                py_modules=['hello'],
                setup_requires=['six'],
            )
            �hello.py�C
            def run():
                print('hello')
            z�
            assert __name__ == '__main__'
            __import__('setuptools').setup(
                name='foo',
                version='0.0.0',
                py_modules=['hello'],
                setup_requires=['six'],
            )
            aF
            variable = True
            def function():
                return variable
            assert variable
            __import__('setuptools').setup(
                name='foo',
                version='0.0.0',
                py_modules=['hello'],
                setup_requires=['six'],
            )
            a�
            # Some packages construct files on the fly, include them in the package,
            # and immediately remove them after `setup()` (e.g. pybind11==2.9.1).
            # Therefore, we cannot use `distutils.core.run_setup(..., stop_after=...)`
            # to obtain a distribution object first, and then run the distutils
            # commands later, because these files will be removed in the meantime.

            with open('world.py', 'w', encoding="utf-8") as f:
                f.write('x = 42')

            try:
                __import__('setuptools').setup(
                    name='foo',
                    version='0.0.0',
                    py_modules=['world'],
                    setup_requires=['six'],
                )
            finally:
                # Some packages will clean temporary files
                __import__('os').unlink('world.py')
            �	setup.cfgz�
        [metadata]
        name = foo
        version = 0.0.0

        [options]
        py_modules=hello
        setup_requires=six
        z7
        def run():
            print('hello')
        c�Ja�]tRt^�toRtRt]P!]R7R4t	Rt
RtRt]PPRRF4R	4t]PPR
R].4R4tR
tRtRtRtRtRtRtRtRtRtR]!R4RRR]!R4/tRtR]!R4R R!R"R#///tR$t R%t!R&t"]PPR'R(R)/.4R*4t#]PPRGR+R,.3R-R,.3R.R,.3R/R,.3R0R,R1.3R2R,.3R3R,.3R4R5.3R6R,R1.3R7R,R1.3R8R,R1.3.4]PPR9R:R;.4R<44t$R=t%R>t&R]!R?4/t'R@t(R]!RA4/t)RBt*]PPRCRH4RD4t+REt,Vt-R#)I�TestBuildMetaBackendrc�.�\VPR7#)�r)r'r)rs&r�get_build_backend�&TestBuildMetaBackend.get_build_backend�s����):�):�;�;r)�paramsc#��"�\P!VP\V4R7VP	4;_uu_4VP4x�RRR4R# +'giR#;i5i))�prefixN)r�build�paramr6�as_cwdr)r�tmpdir�requests&&&r�
build_backend�"TestBuildMetaBackend.build_backend�s@����
�
�7�=�=��V��5�
�]�]�_�_��(�(�*�*��_�_�_�s�AA7�A#�
A7�#A4	�.	A7c�b�VP4pR.p\V4\V48XgQhR#��sixN)�get_requires_for_build_wheel�sorted�rr��actual�expecteds&&  r�!test_get_requires_for_build_wheel�6TestBuildMetaBackend.test_get_requires_for_build_wheel��.���;�;�=���7���f�~���!1�1�1�1rc�b�VP4pR.p\V4\V48XgQhR#r�)�get_requires_for_build_sdistr�r�s&&  r�!test_get_requires_for_build_sdist�6TestBuildMetaBackend.test_get_requires_for_build_sdist�r�rc��\PPR4p\P!V4VP	V4p\PPW#4p\PP
V4'gQh\PP
R4'dQh\V4;_uu_4p\VP44pRRR4RX4pVUu.uFq�PR4'dKVNK	p	p\V	4^8XgQhR# +'giLV;iuupi)z	pip-wheel�world.pyNc3�V"�TFqPR4'gKVx�K!	R#5i)z.pyN)�endswith)�.0�fs& r�	<genexpr>�8TestBuildMetaBackend.test_build_wheel.<locals>.<genexpr>s���I�^��z�z�%�7H�!�!�^�s�)�
)rw)r>rr?�makedirs�build_wheel�join�isfiler�set�namelistr��len)
rr��dist_dir�
wheel_name�
wheel_file�zipfile�wheel_contents�python_scriptsr��moduless
&&        r�test_build_wheel�%TestBuildMetaBackend.test_build_wheel�s����7�7�?�?�;�/��
���H��"�.�.�x�8�
��W�W�\�\�(�7�
��w�w�~�~�j�)�)�)�)��7�7�>�>�*�-�-�-�-�
�Z�
 �
 �G� ��!1�!1�!3�4�N�!�
J�^�I��,�K�n��J�J�z�4J�1�1�n��K��7�|�q� � � �!�
 ��Ls�D/�6E�E�/D?	�
build_typec
�N�RRRRR\R4R\R4/p\P!V4\PP	RV,4pVP4p\
VR	V,4pV!V4p\RR
RR7;_uu_4pVPR
4RRR4V!V4p	\PP\PPWG44'gQhWy8wgQh\\PPWI4R4P4V!V4p
W�8XgQh\PP\PPWJ44^8�gQhR# +'giL�;i)rwz$from setuptools import setup
setup()�VERSIONz0.0.1rzzo
                [metadata]
                name = foo
                version = file: VERSION
                �pyproject.toml��
                [build-system]
                requires = ["setuptools", "wheel"]
                build-backend = "setuptools.build_meta"
                zpreexisting-�build_�wt�utf-8��encodingz0.0.2N�wb)
rrr�r>r?rrr�open�writer�r��close�getsize)rr��
tmpdir_cwd�filesr�r��build_method�first_result�version_file�
second_result�third_results&&&        r�%test_build_with_existing_file_present�:TestBuildMetaBackend.test_build_with_existing_file_presentsS��

�?��w�����
�d���
��&	
�
�
�5���7�7�?�?�>�J�#>�?���.�.�0�
��}�h��.C�D��
$�H�-���)�T�G�
4�
4�����w�'�5�%�X�.�
��w�w�~�~�b�g�g�l�l�8�B�C�C�C�C��,�,�,�	
�R�W�W�\�\�(�
2�D�9�?�?�A�#�H�-���,�,�,��w�w���r�w�w�|�|�H�C�D�q�H�H�H�5�
4�s�F�F$	�setup_scriptNc��R\R4R\R4RRRRRR	R
RRR
RRRRRR///pV'dW#R&VP4pVP4;_uu_4\P!V4RR.p\
P!4;_uu_4VFp\
P!RV\4K!	VPR4pVPR4pRRR4RRR4\P!\PPVRX44;_uu_4p	\V	P!44p
RRR4\#\PPVRX44;_uu_4p\VP%44p\'VP)R4R4p
\'VP)R4R4p\'VP)R4R4pRRR4X
R0,
0R'm8XgQhX0R(m8XgQhXR8XgQhRRR R!R"R#\'\+R$44,R#\'\+R%44,3FpVX
9dKQVV
34h	X
P-4P/R4'gQhXP-4R&8XgQhR# +'giEL�;i +'giEL�;i +'giEL�;i +'giEL;i))r�aj
                [build-system]
                requires = ["setuptools", "wheel"]
                build-backend = "setuptools.build_meta"

                [project]
                name = "foo"
                license = {text = "MIT"}
                description = "This is a Python package"
                dynamic = ["version", "readme"]
                classifiers = [
                    "Development Status :: 5 - Production/Stable",
                    "Intended Audience :: Developers"
                ]
                urls = {Homepage = "http://github.com"}
                dependencies = [
                    "appdirs",
                ]

                [project.optional-dependencies]
                all = [
                    "tomli>=1",
                    "pyscaffold>=4,<5",
                    'importlib; python_version == "2.6"',
                ]

                [project.scripts]
                foo = "foo.cli:main"

                [tool.setuptools]
                zip-safe = false
                package-dir = {"" = "src"}
                packages = {find = {where = ["src"]}}
                license-files = ["LICENSE*"]

                [tool.setuptools.dynamic]
                version = {attr = "foo.__version__"}
                readme = {file = "README.rst"}

                [tool.distutils.sdist]
                formats = "gztar"
                �MANIFEST.inzd
                global-include *.py *.txt
                global-exclude *.py[cod]
                z
README.rstzThis is a ``README``zLICENSE.txtz!---- placeholder MIT license ----�src�foo�__init__.pyz__version__ = '0.1'z__init__.pyiz__version__: strzcli.pyz def main(): print('hello world')zdata.txtzpy.typed�rwzQ'tool.setuptools.license-files' is deprecated in favor of 'project.license-files'z/`project.license` as a TOML table is deprecated�ignore�tempN�foo-0.1.dist-info/METADATAr��&foo-0.1.dist-info/licenses/LICENSE.txt�"foo-0.1.dist-info/entry_points.txtzfoo-0.1/setup.pyz!Summary: This is a Python packagezLicense: MITzLicense-File: LICENSE.txtz+Classifier: Intended Audience :: DeveloperszRequires-Dist: appdirszRequires-Dist: ztomli>=1 ; extra == "all"z2importlib; python_version=="2.6" and extra =="all"z$[console_scripts]
foo = foo.cli:main>�foo-0.1�foo-0.1/src�foo-0.1/src/foo�foo-0.1/PKG-INFO�foo-0.1/setup.cfg�foo-0.1/README.rst�foo-0.1/LICENSE.txt�foo-0.1/MANIFEST.in�foo-0.1/pyproject.toml�foo-0.1/src/foo/cli.py�foo-0.1/src/foo.egg-info�foo-0.1/src/foo/data.txt�foo-0.1/src/foo/py.typed�foo-0.1/src/foo/__init__.py�foo-0.1/src/foo/__init__.pyi�!foo-0.1/src/foo.egg-info/PKG-INFO�$foo-0.1/src/foo.egg-info/SOURCES.txt�%foo-0.1/src/foo.egg-info/not-zip-safe�%foo-0.1/src/foo.egg-info/requires.txt�&foo-0.1/src/foo.egg-info/top_level.txt�)foo-0.1/src/foo.egg-info/entry_points.txt�-foo-0.1/src/foo.egg-info/dependency_links.txt>�
foo/cli.py�foo/data.txt�foo/py.typed�foo/__init__.py�foo/__init__.pyi�foo-0.1.dist-info/WHEEL�foo-0.1.dist-info/RECORDr��foo-0.1.dist-info/top_level.txtr�r�)rrr�rr��warnings�catch_warnings�filterwarningsr
�build_sdistr��tarfiler�r>r�r��getnamesrr�r6�readr	�stripr�)rr�r�r�r��msgs�msg�
sdist_pathr��tar�sdist_contentsr�r��metadata�license�epoints�lines&&&              r� test_build_with_pyproject_config�5TestBuildMetaBackend.test_build_with_pyproject_config?s���
�d�)�+�X
�4���
�0��>���!�#8�"�$6��@�� B�����k>
��~� ,�*���.�.�0�
�
�]�]�_�_��J�J�u��c�A��D��(�(�*�*��C��+�+�H�c�;W�X� �*�6�6�v�>�
�*�6�6�v�>�
�	+�
��\�\�"�'�'�,�,�v�v�z�B�
C�
C�s� �����0�N�D��R�W�W�\�\�&�&�*�=�
>�
>�'� ��!1�!1�!3�4�N��7�<�<�(D�E�w�O�H�����E�F���G��'�,�,�'K�L�g�V�G�
?��!3� 4�4�9
�
�	
�
�0�"
�
�	
�
��=�=�=�=�
0��'�9�$���K�0K�$L� M�M���+�R�S�T�
U�	
�D��8�#�5�d�H�%5�5�#�	
��~�~��(�(�)?�@�@�@�@��}�}��"I�I�I�I�K+�*�*��
�_�_��D�
C�
C��?�
>�
>�s>�8K�AJ,	�K�,K�A+K(�,J=
�7	K�K	�K%	�(K9	c���R\R4R\R4R\R4/pVP4pVP4;_uu_4\P!V4VPR4pVP
R4pRRR4VR,P4'gQhVR	,P4'gQhVR
,P4'dQhVR,P4'dQhVR,P4'dQhVR
,P4'dQhVR,P4'dQhVR,P4'dQh\P!\PPVRX44;_uu_4p\VPR4P4R4pVP4pRV9gQhRRR4\!\PPVRX44;_uu_4p	\V	PR4R4p
V	P#4pRV9gQhRRR4XX
3F%pRFpW�9dKQh	RFpW�9dKQh	K'	R# +'giEL1;i +'giL�;i +'giLf;i)r�aR
                [build-system]
                requires = ["setuptools", "wheel"]
                build-backend = "setuptools.build_meta"

                [project]
                name = "foo"
                description = "This is a Python package"
                version = "42"
                dependencies = ["six"]
                rxzO
                def run():
                    print('hello')
                rwz�
                __import__('setuptools').setup(
                    name='bar',
                    version='13',
                )
                r�Nztemp/foo-42.tar.gzztemp/foo-42-py3-none-any.whlztemp/bar-13.tar.gzztemp/bar-42.tar.gzztemp/foo-13.tar.gzztemp/bar-13-py3-none-any.whlztemp/bar-42-py3-none-any.whlztemp/foo-13-py3-none-any.whlzfoo-42/PKG-INFOr�zbar-13/PKG-INFOzfoo-42.dist-info/METADATAzbar-13.dist-info/METADATA)z	Name: foozVersion: 42)z	Name: barzVersion: 13)rrr�rr�r�r��existsr�r�r>r�r6�extractfiler�r�rr�)
rr�r�r�r�r�r��pkg_info�membersr�r�filers
&&           r�(test_static_metadata_in_pyproject_config�=TestBuildMetaBackend.test_static_metadata_in_pyproject_config�sq��
�d�
��
����
����)
��:�.�.�0�
�
�]�]�_�_��J�J�u��&�2�2�6�:�J�&�2�2�6�:�J��
�-�-�5�5�7�7�7�7��7�7�?�?�A�A�A�A��1�1�9�9�;�;�;�;��1�1�9�9�;�;�;�;��1�1�9�9�;�;�;�;��;�;�C�C�E�E�E�E��;�;�C�C�E�E�E�E��;�;�C�C�E�E�E�E�
�\�\�"�'�'�,�,�v�v�z�B�
C�
C�s��3�?�?�+<�=�B�B�D�g�N�H��l�l�n�G�$�G�3�3�3�D�
�R�W�W�\�\�&�&�*�=�
>�
>�'��7�<�<�(C�D�g�N�H��&�&�(�G�.�g�=�=�=�?�
�h�&�D�4���|�#�|�5�4���'�'�'�5�'�1�_�_��D�
C��
?�
>�s%�9J-�AK�5K�-J>	�K	�K$	c��\PPR4p\P!V4VP	V4p\PP\PP
W#44'gQhR#)z	pip-sdistN)r>rr?r�r�r�r��rr�r��
sdist_names&&  r�test_build_sdist�%TestBuildMetaBackend.test_build_sdistsV���7�7�?�?�;�/��
���H��"�.�.�x�8�
��w�w�~�~�b�g�g�l�l�8�@�A�A�A�Arc��\PPR4p\P!V4VP	V4p\PP\PP
W#R44'gQhR#)�
pip-dist-info�METADATAN)r>rr?r�� prepare_metadata_for_build_wheelr�r�)rr�r��	dist_infos&&  r�%test_prepare_metadata_for_build_wheel�:TestBuildMetaBackend.test_prepare_metadata_for_build_wheelsX���7�7�?�?�?�3��
���H��!�B�B�8�L�	��w�w�~�~�b�g�g�l�l�8�
�K�L�L�L�Lrc���RFp\P!VRR7K	VPR4p\PP	\PPVR44'gQhR#)za
Some users might pass metadata_directory pre-populated with `.tox` or `.venv`.
See issue #3523.
T)�exist_okrrN)z?.tox/python/lib/python3.10/site-packages/attrs-22.1.0.dist-infozD.tox/python/lib/python3.10/site-packages/autocommand-2.2.1.dist-infoz>.nox/python/lib/python3.10/site-packages/build-0.8.0.dist-infoz4.venv/python3.10/site-packages/click-8.1.3.dist-infoz5venv/python3.10/site-packages/distlib-0.3.5.dist-infoz4env/python3.10/site-packages/docutils-0.19.dist-info)r>r�rrr�r�)rr��pre_existingrs&&  r�test_prepare_metadata_inplace�2TestBuildMetaBackend.test_prepare_metadata_inplacesX��

�L�
�K�K��t�4�
�"�B�B�3�G�	��w�w�~�~�b�g�g�l�l�9�j�A�B�B�B�Brc���\PPR4pVPV4p\PP	\PPW#44'gQhR#)�distN)r>rr?r�r�r�rs&&  r�test_build_sdist_explicit_dist�3TestBuildMetaBackend.test_build_sdist_explicit_dist0sL���7�7�?�?�6�*��"�.�.�x�8�
��w�w�~�~�b�g�g�l�l�8�@�A�A�A�Arc�H�\PPR4p\P!V4VP	V4p\PP\PP
W#44'gQh\PPR4p\PPV4'g \PPR4p\VRRR7;_uu_4pVP4pRRR4\VRRR7;_uu_4pVPXPRR	44RRR4\P!V4\P!V4VP	R4p\PP\PP
\PPR4V44'gQhR# +'giL�;i +'giL�;i)
�	out_sdistrwrz�rtr�r�Nr�zversion='0.0.0'zversion='0.0.1')r>rr?r�r�r�r�rr�r�r��replace�shutil�rmtree)rr��sdist_into_directoryr�	setup_loc�file_handler�contents&&     r�test_build_sdist_version_change�4TestBuildMetaBackend.test_build_sdist_version_change7sY��!�w�w���{�;��
���(�)�"�.�.�/C�D�
��w�w�~�~�b�g�g�l�l�+?�L�M�M�M�M�
�G�G�O�O�J�/�	��w�w�~�~�i�(�(�������4�I�
�)�T�G�
4�
4��"�'�'�)�G�5�
�)�T�G�
4�
4�����w���/@�BS�T�U�5�	�
�
�*�+�
���(�)�"�.�.�{�;�
��w�w�~�~�b�g�g�l�l�2�7�7�?�?�;�+G��T�U�U�U�U�5�
4��
4�
4�s�G>�3"H�>H	�H!	c��R\R4RRR\R4/p\P!V4VP4pVP	R4p\
P!\PPRV44;_uu_4p\;QJd*RVP44F'gKRM	R	M!RVP444'gQhR
R
R
4R
# +'giR
#;i)rw��
                __import__('setuptools').setup(
                    name='foo',
                    version='0.0.0',
                    py_modules=['hello']
                )rxr�r�r�r�c3�,"�TF
pRV9x�K	R#5i)r�NrU�r�r4s& rr��NTestBuildMetaBackend.test_build_sdist_pyproject_toml_exists.<locals>.<genexpr>gs���K�N�D�'�4�/�N���TFN�rrr�rr�r�r�r>r��anyr��rr�r�r��
targz_pathr�s&&    r�&test_build_sdist_pyproject_toml_exists�;TestBuildMetaBackend.test_build_sdist_pyproject_toml_existsPs�������
���d���
��$	
�
�
�5���.�.�0�
�"�.�.�v�6�
�
�\�\�"�'�'�,�,�v�z�:�
;�
;�s��3�K�C�L�L�N�K�3�3�3�K�C�L�L�N�K�K�K�K�K�<�
;�
;�
;���+C2�<(C2�%C2�2D	c���\P!\^,4VP4pVP	R4p\
P!\PPRV44;_uu_4p\;QJd*RVP44F'gKRM	RM!RVP444'gQhRRR4R# +'giR#;i)rr�c3�,"�TF
pRV9x�K	R#5i�rwNrUr3s& rr��HTestBuildMetaBackend.test_build_sdist_setup_py_exists.<locals>.<genexpr>qs���E�n�d�z�T�)�n�r5TFN)rr��defnsrr�r�r�r>r�r7r�)rr�r�r9r�s&&   r� test_build_sdist_setup_py_exists�5TestBuildMetaBackend.test_build_sdist_setup_py_existsis���	
�
�
�5��8���.�.�0�
�"�.�.�v�6�
�
�\�\�"�'�'�,�,�v�z�:�
;�
;�s��3�E�c�l�l�n�E�3�3�3�E�c�l�l�n�E�E�E�E�E�<�
;�
;�
;�s�?+C#�-(C#�C#�#C4	c��R\R4RRR\R4/p\P!V4VP4pVP	R4p\
P!\PPRV44;_uu_4p\;QJd*RVP44F'gKRM	R	M!RVP444'dQhR
R
R
4R
# +'giR
#;i)rwz�
        __import__('setuptools').setup(
            name='foo',
            version='0.0.0',
            py_modules=['hello']
        )rxr�r�z"
        exclude setup.py
        r�c3�,"�TF
pRV9x�K	R#5ir?rUr3s& rr��STestBuildMetaBackend.test_build_sdist_setup_py_manifest_excluded.<locals>.<genexpr>�s���I�.�$�:��-�.�r5TFNr6r8s&&    r�+test_build_sdist_setup_py_manifest_excluded�@TestBuildMetaBackend.test_build_sdist_setup_py_manifest_excludedss���
��
��
���4���
��"	
�
�
�5���.�.�0�
�"�.�.�v�6�
�
�\�\�"�'�'�,�,�v�z�:�
;�
;�s��s�I�#�,�,�.�I�s�s�s�I�#�,�,�.�I�I�I�I�I�I�<�
;�
;�
;�r<c��R\R4RRR\R4/p\P!V4VP4pVP	R4R#)rwr1rxr�rzzE
                [sdist]
                formats=zip
                r�N)rrr�rr�)rr�r�r�s&&  r�3test_build_sdist_builds_targz_even_if_zip_indicated�HTestBuildMetaBackend.test_build_sdist_builds_targz_even_if_zip_indicated�sX������
������
��$	
�
�
�5���.�.�0�
��!�!�&�)rrwz�
            __import__('setuptools').setup(
                name='foo',
                version=__import__('hello').__version__,
                py_modules=['hello']
            )rxz__version__ = "0.0.0"rzz9
            [sdist]
            formats=zip
            c�
�\P!VP4VP4p\P
!\RR7;_uu_4VPR4RRR4R# +'giR#;i)z^No module named 'hello'$��matchr�N)rr��_relative_path_import_filesrrH�raises�ImportErrorr��rr�r�s&& r�%test_build_sdist_relative_path_import�:TestBuildMetaBackend.test_build_sdist_relative_path_import�sR���
�
�4�3�3�4��.�.�0�
�
�]�]�;�.I�
J�
J��%�%�f�-�K�
J�
J�
J���A1�1B	r�zX
            [project]
            name = "proj"
            version = "42"
            r��projr�r�c���\\V4PR44pV'gQhVFBpVP4'dK\P
!V4P^8�dKBQh	R#)z?All files in the directory should be either links or hard linksz**/*N)�listr�glob�
is_symlinkr>�stat�st_nlink)r�
parent_dirr�rs&&  r�_assert_link_tree�&TestBuildMetaBackend._assert_link_tree�sU���T�*�%�*�*�6�2�3����u��D��?�?�$�$�����
�(>�(>��(B�B�B�rc��\P!VP4VP4p\	R4P4'dQhVP
R4\	R4P4'dQhR#)z�
Sanity check to ensure tests with --mode=strict are different from the ones
without --mode.

--mode=strict should create a local directory with a package tree.
The directory should not get created otherwise.
r�r�N)rr��_simple_pyproject_examplerrr�build_editablerRs&& r�%test_editable_without_config_settings�:TestBuildMetaBackend.test_editable_without_config_settings�sg��	
�
�
�4�1�1�2��.�.�0�
���=�'�'�)�)�)�)��$�$�V�,���=�'�'�)�)�)�)�)rc�p�RRR./p\P!VP4VP4p\	R4P4'dQh\	R4P
4VPRV4VPRV4\	R4P4'gQhR#)z--build-option�	build_extz	--inplacer�zbuild/proj-42-py3-none-any.whlN)	rr�rarrr�mkdirrr��rr��config_settingsr�s&&  r�test_build_wheel_inplace�-TestBuildMetaBackend.test_build_wheel_inplace�s���+�k�;�-G�H���
�
�4�1�1�2��.�.�0�
���=�'�'�)�)�)�)��W�
�����6�6�w��P��!�!�'�?�;��4�5�<�<�>�>�>�>rriz
editable-mode�strictc�b�\P!/VPCR//C4\R4P	4'dQhVP4pVP
RV4VPRVR4VP\\R4PR444R#)�_metar�r�z__editable__.*N)rr�rarrr�#prepare_metadata_for_build_editablerbr^�nextrYrhs&&& r�"test_editable_with_config_settings�7TestBuildMetaBackend.test_editable_with_config_settings�s����
�
�B�d�4�4�B�g�r�B�C���=�'�'�)�)�)�)��.�.�0�
��9�9�'�?�S��$�$�V�_�g�F����t�D��M�$6�$6�7G�$H�I�Jrz'foo'r�z['foo']z'foo\n'z	'foo\n\n'z['foo', 'bar']�barz'# Has a comment line\nfoo'z'foo # Has an inline comment'z'foo \\\n >=3.0'zfoo>=3.0z
'foo\nbar'z'foo\nbar\n'z['foo\n', 'bar\n']�	use_wheelTFc�,�R\R4PVR7R\R4/p\P!V4VP	4pV'dVP
pMVPp\V4pV!4p	V\V	48XgQhR#)rwa
                from setuptools import setup

                setup(
                    name="qux",
                    version="0.0.0",
                    py_modules=["hello"],
                    setup_requires={setup_literal},
                )
            )�
setup_literalrxryN)rr7rr�rr�r�r�)
rrv�requirementsrtr�r�r��get_requiresr�r�s
&&&&&     r�test_setup_requires�(TestBuildMetaBackend.test_setup_requires�s���&
��	���f�=�f�1�����
��*	
�
�
�5���.�.�0�
��(�E�E�L�(�E�E�L��,�'������6�&�>�)�)�)rc��R\R4R\R4RRRR/p\P!V4VP4pVP	4pVR.8XgQhR	#)
r�zd
                [project]
                name = "proj"
                version = "42"
            rwz�
                __import__('setuptools').setup(
                    setup_requires=["foo"],
                    py_modules = ["hello", "world"]
                )
            rxz'hello'r�z'world'r�N)rrr�rr�)rr�r�r��setup_requiress&&   r�'test_setup_requires_with_auto_discovery�<TestBuildMetaBackend.test_setup_requires_with_auto_discovery&sq��

�d���
����
�	��	�#
��&	
�
�
�5���.�.�0�
�&�C�C�E���%��(�(�(rc��R\R4R\R4/p\P!V4VP4p\PPR4p\P!V4VPV4R#)rwaN
                        from setuptools import setup

                        setup(
                            name="qux",
                            version="0.0.0",
                            py_modules=["hello"],
                            setup_requires=["does-not-exist >99"],
                        )
                    rxz[
                    def run():
                        print('hello')
                    rN)rrr�rr>r?r�r)rr�r�r�r�s&&   r� test_dont_install_setup_requires�5TestBuildMetaBackend.test_dont_install_setup_requiresBss����	��
����
��*	
�
�
�5���.�.�0�
��7�7�?�?�?�3��
���H��	�6�6�x�@raD
            import os
            import sys

            __import__('setuptools').setup(
                name='foo',
                version='0.0.0',
            )

            sys_argv = os.path.abspath(sys.argv[0])
            file_path = os.path.abspath('setup.py')
            assert sys_argv == file_path
            c��\P!VP4VP4p\P
!\4;_uu_4VPR4RRR4R# +'giR#;i�r�N)rr��_sys_argv_0_passthroughrrHrP�AssertionErrorr�rRs&& r�test_sys_argv_passthrough�.TestBuildMetaBackend.test_sys_argv_passthroughusN���
�
�4�/�/�0��.�.�0�
�
�]�]�>�
*�
*��%�%�f�-�+�
*�
*�
*�s�A/�/B	a
            import os
            assert os.path.isabs(__file__)
            __import__('setuptools').setup(
                name='foo',
                version='0.0.0',
                py_modules=['hello'],
                setup_requires=['six'],
            )
            c��\P!VP4VP4pVP	R4R#r�)rr��_setup_py_file_abspathrr�rRs&& r�test_setup_py_file_abspath�/TestBuildMetaBackend.test_setup_py_file_abspath�s0���
�
�4�.�.�/��.�.�0�
��!�!�&�)r�
build_hookc�
�RR/p\P!V4\P!R4p\P
!\VR7;_uu_4\W4!R4RRR4R# +'giR#;i)rwr�zNo distribution was found.rMr�N)rr��re�escaperHrP�
ValueErrorrr)rr�r�r�r�s&&&  r�test_build_with_empty_setuppy�2TestBuildMetaBackend.test_build_with_empty_setuppy�sT���R� ���
�
�5���i�i�4�5��
�]�]�:�S�
1�
1��M�.�v�6�2�
1�
1�
1�rUrU)�wheel�sdist)rvrw)r�r�).rrr r!rrrH�fixturerAr�r�r�r��mark�parametrizer��SETUP_SCRIPT_STUBrr
rrrr"r.r:rBrGrJrrOrSrar^rcrjrqryr}r�r�r�r�r�r�r"r#r$s@rr|r|�s�����*�L�<��^�^�5�!�+�"�+�
2�
2�
!�(�[�[���\�+=�>�0I�?�0I�d�[�[���^�d�4E�-F�G�OJ�H�OJ�b=(�~B�M�C�"B�V�2L�2F�J�4*�2	�D�
�
�	�+��T�
�
�#��$.�	�$�
�
�	����+�,�	!��C�*�?��[�[���.�/�8�1L�0M�N�K�O�K��[�[���)�
�u�g��
��� �
�%��!�
�E�7�#�
��u�~�.�
+�e�W�5�
-��w�7�
 �:�,�/�
�U�E�N�+�
�u�e�n�-�
"�U�E�N�3�	
�� �[�[���[�4��-�8�#*�9�!�"#*�J)�8A�D	�D�
�
���$.�	�D�	
�
�
��*�
�[�[���\�+I�J�7�K�7rr|c�0a�]tRtRtoRtRtRtRtVtR#)�TestBuildMetaLegacyBackendi�z setuptools.build_meta:__legacy__c��\P!VP4VP4pVP	R4R#r�)rr�rOrr�rRs&& rrS�@TestBuildMetaLegacyBackend.test_build_sdist_relative_path_import�s0���
�
�4�3�3�4��.�.�0�
��!�!�&�)rc��\P!VP4VP4pVP	R4R#r�)rr�r�rr�rRs&& rr��4TestBuildMetaLegacyBackend.test_sys_argv_passthrough�s0���
�
�4�/�/�0��.�.�0�
��!�!�&�)rrUN)	rrr r!rrSr�r"r#r$s@rr�r��s����5�L�*�*�*rr�c�D�Rp\P!R\V4RR/4.ROpVPWAR7P	4pRV9gQhRV9gQh/\
PCRR/Cp.ROpVPWAVR	7P	4pRV9gQhR
#)z�
    [build-system]
    requires = ["setuptools"]
    build-backend = "setuptools.build_meta"
    [project]
    name = "myproj"
    version = "42"
    r�zmymod.pyr�)rz#running setup.py develop for myprojzcreated wheel for myproj�SETUPTOOLS_ENABLE_FEATURESzlegacy-editable)rrN)�pip�installz--no-build-isolationz-er)rr�r�run�lowerr>rn)�venvr�r��	pyproject�cmd�outputrs&&&    r�test_legacy_editable_installr��s����I�	�J�J� �$�y�/�:�r�B�C�@�C�
�X�X�c�X�
&�
,�
,�
.�F�0��>�>�>�%��/�/�/�J�R�Z�Z�
I�5�7H�
I�C�
?�C�
�X�X�c�3�X�
/�
5�
5�
7�F�0�F�:�:�:rz/ignore::setuptools.SetuptoolsDeprecationWarningc��VPV4RpVR,P\V4RR7\RR7pVP	4.8XgQhR#)zHSetuptools should be resilient to setup.py with ``sys.exit(0)`` (#3973).zr
        import sys, setuptools
        setuptools.setup(name='foo', version='0.0.0')
        sys.exit(0)
        rwr�r�rr~N)rm�
write_textrr'r���monkeypatch�tmp_path�setuppyrts&&  r�test_sys_exit_0_in_setuppyr��sY�����h���G�
�
��&�&�t�G�}�w�&�G��(?�@�G��/�/�1�R�7�7�7rc��VPV4RpVR,PVRR7\P!\RR7;_uu_4\RR7pVP
4RRR4R# +'giR#;i)	z"import sys; sys.exit('some error')rwr�r�z
some errorrMrr~N)rmr�rHrP�
SystemExitr'r�r�s&&  r�test_system_exit_in_setuppyr��sd�����h��2�G�
�
��&�&�w��&�A�	���z��	6�	6��,C�D���,�,�.�
7�	6�	6�	6�s�A9�9B
	)/rZrpr>r�r(r^�sysr�r��
concurrentr�pathlibr�typingrrr�rrH�jaracor�packaging.requirementsr	�setuptools.warningsr
�textwraprr��int�getenvrD�builtin_module_namesrNr��skipif�platform�
pytestmarkrr'r@rAr|r�r�r�r�r�rUrr�<module>r�s�����	�	�
�
�
����� ��
��.�<��6���b�i�i�.��6�
7��
��0�0�
0���[�[�
�
��L�L�G��'�'��� ��
�)�)� P�#� P�F3�)�3�,	�D�
�	
�	�D�
�
��&	�D�
�

�	�D�
�
��(	�D�
�

�	�D�
�
��.	�D�
�
��4	�T�
�

�	�D�
�
��(	�T�
�

�	�6��D�
�
��Q|	��~t
7�t
7�n*�!5�*�$;�0�����M�N�
8�O�
8�/r

Youez - 2016 - github.com/yon3zu
LinuXploit