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/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/setuptools/tests/__pycache__/test_easy_install.cpython-313.pyc
�

�h����SrSSKrSSKrSSKrSSKrSSKrSSKrSSKrSSKrSSK	r	SSK
r
SSKrSSKrSSK
r
SSKrSSKrSSKJr SSKJr SSKJr SSKrSSKJr SSKrSSKJs Jr SSKJrJrJ r  SSK!J"r" SS	K#J$r$ SS
KJ%r% SSK&Jr SSK'J(r( SS
K)J*r* SSK+J,r,J-r- SSK.J/r/ SSK0J1r1 SSK2r3\Rh"SS9S5r5"SS5r6\1"S5r7"SS5r8\RrRuS5"SS55r;\RhS5r<\RrR{S5\RrR{S5"S S!555r>\RhS"5r?\RrR{S#5"S$S%55r@\RhS&5rA"S'S(5rB"S)S*5rCS+rDS,rES-rFS.rGS/S0\DSSS14S2jrH\RrR�\
R�R�S35=(a \R�"\
R�5S4S59"S6S755rN"S8S95rO"S:S;5rP"S<S=\5rQS>rR\RrR�\
R�S?:HS@S59SA5rTg)BzEasy install Tests�N)�Path)�
NamedTuple)�mock��path)�Distribution�normalize_path�working_set)�sandbox)�
safer_name)�PthDistributions)r��	run_setup)�
fail_on_ascii)�
MockServer�path_to_url�)�contexts)�DALST)�autousec�(�URSS5 g)z�
Important: Disable the default index for pip to avoid
querying packages in the index and potentially resolving
and installing packages there.
�PIP_NO_INDEX�trueN)�setenv)�monkeypatchs �D/usr/lib/python3/dist-packages/setuptools/tests/test_easy_install.py�pip_disable_indexr*s�����~�v�.�c� �\rSrSrSrSrSrg)�FakeDist�4c��US:wa0$SS0$)N�console_scripts�name�ep�)�self�groups  r�
get_entry_map�FakeDist.get_entry_map5s���%�%��I���~�rc��g)N�specr&�r's r�as_requirement�FakeDist.as_requirement:s��rr&N)�__name__�
__module__�__qualname__�__firstlineno__r)r.�__static_attributes__r&rrr r 4s���
rr z3
    from setuptools import setup

    setup()
    c�:�\rSrSrSrSrSrSrSr\	RS5r\S5r
\	RS	5r\S
5r\	RS5r\	R"R%\R(R+S5(+S
S9S5rSrg)�TestEasyInstallTest�Gc���[RR5R5R	5n[5n[
[RRU55n[R"US5upEURU5(deSU;deSU;deSU;de[R"SU[RS9(deg)N�z'spec'z'console_scripts'z'name'z^# EASY-INSTALL-ENTRY-SCRIPT)�flags)�ei�CommandSpec�best�from_environment�	as_headerr �next�ScriptWriter�get_args�	itertools�islice�
startswith�re�search�	MULTILINE)r'�header�dist�args�_name�scripts      r�test_get_script_args�(TestEasyInstallTest.test_get_script_argsHs������$�$�&�7�7�9�C�C�E���z���B�O�O�,�,�T�2�3��!�(�(��q�1�
��� � ��(�(�(�(��6�!�!�!�"�f�,�,�,��6�!�!�!��y�y�7��r�|�|�T�T�Trc��[5n[R"U5nSUlSUlSS/Ul[RR[R"5S5UlS/UlUR5 URR0:Xde[R"U5nSUlSS/Ul[RR[R"5S5UlS/UlUR5 [!URRR#55nUSS/:Xdeg)Nc��g�NTr&r&rr�<lambda>�8TestEasyInstallTest.test_no_find_links.<locals>.<lambda>X���4rT�link1�link2�okc��grRr&r&rrrSrTbrUr)rr;�easy_install�check_pth_processing�
no_find_links�
find_links�osr�join�tempfile�mkdtemp�install_dirrK�ensure_finalized�
package_index�scanned_urls�sorted�keys)r'rJ�cmdrgs    r�test_no_find_links�&TestEasyInstallTest.test_no_find_linksSs
���~���o�o�d�#��#/�� � ���!�7�+����'�'�,�,�x�'7�'7�'9�4�@����6�������� � �-�-��3�3�3��o�o�d�#��#/�� �!�7�+����'�'�,�,�x�'7�'7�'9�4�@����6��������c�'�'�4�4�9�9�;�<�����)�)�)�)rc�(�[5n[R"U5n[R"5Ul[R"[RR5 UR5 SSS5 g!,(df   g=f)zC
Test that `cant_write_to_target` is rendered as a DistutilsError.
N)rr;rZr^�getcwdrb�pytest�raises�	distutils�errors�DistutilsError�cant_write_to_target)r'rJrhs   r�test_write_exception�(TestEasyInstallTest.test_write_exceptionjsV���~���o�o�d�#���)�)�+���
�]�]�9�+�+�:�:�
;��$�$�&�<�
;�
;�s�)B�
Bc�^�[S5mU4SjnUR[SUSS9 T[R"5;deg)zP
get_site_dirs should always return site dirs reported by
site.getsitepackages.
z/setuptools/test/site-packagesc�
>�T/$�Nr&rs�r�mock_gsp�8TestEasyInstallTest.test_all_site_dirs.<locals>.mock_gsp{s
����6�Mr�getsitepackagesF��raisingN)r	�setattr�siter;�
get_site_dirs)r'rrxrs   @r�test_all_site_dirs�&TestEasyInstallTest.test_all_site_dirstsF���
�>�?��	�	���D�"3�X�u��M��r�'�'�)�)�)�)rc�f�UR[SSS9 [R"5(deg)NrzFr{)�delattrr~r;r)r'rs  r�0test_all_site_dirs_works_without_getsitepackages�DTestEasyInstallTest.test_all_site_dirs_works_without_getsitepackages�s-�����D�"3�U��C����!�!�!�!rc���S[S54SS/nSnX-n[R"[U5S5nUHupgUR	Xg5 M UR5 [U5$)N�setup.pya5
                    import setuptools
                    setuptools.setup(
                        name="setuptools-test-unicode",
                        version="1.0",
                        packages=["mypkg"],
                        include_package_data=True,
                    )
                    �zmypkg/__init__.py�)u
mypkg/☃.txtr�zsetuptools-test-unicode-1.0.zip�w)r�zipfile�ZipFile�str�writestr�close�r'�tmpdir�files�
sdist_name�sdist�	sdist_zip�filename�contents        r�
sdist_unicode�!TestEasyInstallTest.sdist_unicode�s~�����
�

�
�
�'
��07�
��#���O�O�C��J��4�	�!&��H����x�1�"'������5�z�rc��[SS/05nUS-R5n[R"U[	U5S/S9nUR[RS[	U55 UR5 URU5 g)zY
The install command should execute correctly even if
the package has unicode filenames.
�script_argsrZ�target�x�rbrK�
PYTHONPATHN�	r�
ensure_dirr;rZr��setitemr^�environrc)r'r�r�rrJr�rhs       r�test_unicode_filename_in_sdist�2TestEasyInstallTest.test_unicode_filename_in_sdist�s|���]�^�,<�=�>���8�#�/�/�1���o�o���F����
��
	���B�J�J��c�&�k�B���������'rc��S[S54SS[S54/nSnX-n[R"[U5S5nUH%upgUR	XgRS55 M' UR
5 [U5$)	Nr�ar
                    import setuptools
                    setuptools.setup(
                        name="setuptools-test-unicode",
                        version="1.0",
                        packages=["mypkg"],
                        include_package_data=True,
                        scripts=['mypkg/unicode_in_script'],
                    )
                    r�zmypkg/unicode_in_scriptu�
                    #!/bin/sh
                    # á

                    non_python_fn() {
                    }
                z&setuptools-test-unicode-script-1.0.zipr��utf-8)rr�r�r�r��encoder�r�s        r�sdist_unicode_in_script�+TestEasyInstallTest.sdist_unicode_in_script�s�����	��
�
&�)����
�#
��<>�
��#���O�O�C��J��4�	�!&��H����x����)@�A�"'������5�z�rc��[SS/05nUS-R5n[R"U[	U5S/S9nUR[RS[	U55 UR5 URU5 g)zZ
The install command should execute correctly even if
the package has unicode in scripts.
r�rZr�r�r�r�Nr�)r'r�r�rrJr�rhs       r�test_unicode_content_in_sdist�1TestEasyInstallTest.test_unicode_content_in_sdist�sv���]�^�,<�=�>���8�#�/�/�1���o�o�d��F��3�%�H�����B�J�J��c�&�k�B��������0�1rc�n�S[S54S[S54/nSn[X-5n[XB5 U$)Nr�a
                    import setuptools
                    setuptools.setup(
                        name="setuptools-test-script",
                        version="1.0",
                        scripts=["mypkg_script"],
                    )
                    �mypkg_scriptzg
                     #/usr/bin/python
                     print('mypkg_script')
                     zsetuptools-test-script-1.0.zip)rr��
make_sdist)r'r�r�r�r�s     r�sdist_script� TestEasyInstallTest.sdist_script�sX�����	�
�����
�
��06�
��F�'�(���5� ��r�linuxzTest can only be run on Linux��reasonc�P�[SS/05nUS-R5n[R"U[	U5S/S9nUR[RS[	U55 UR5 URU5 US-R5(deg)	z
Check scripts are installed.
r�rZr�r�r�r�r�N)
rr�r;rZr�r�r^r�rc�exists)r'r�r�rrJr�rhs       r�test_script_install�'TestEasyInstallTest.test_script_installs����]�^�,<�=�>���8�#�/�/�1���o�o���F����
��
	���B�J�J��c�&�k�B���������&���'�/�/�1�1�1�1rr&N)r0r1r2r3rNrirsr�r�rm�fixturer�rr�r�r�r��mark�skipif�sys�platformrEr�r4r&rrr6r6Gs���	U�*�.'�*�"��^�^�!��!�F�(��(� �^�^�'��'�R�2��2��^�^����<�[�[����L�L�#�#�G�,�,�5T���2��2rr6zignore:Unbuilt eggc�&�\rSrSrSrSrSrSrg)�TestPTHFileWriteri&c���[S[R"5/5nUR(aeUR	[[R"555 UR(deg)zRa pth file manager should set dirty
if a distribution is in site but also the cwd
�does-not_existN)r
r^rl�dirty�add�PRDistribution)r'�pths  r�!test_add_from_cwd_site_sets_dirty�3TestPTHFileWriter.test_add_from_cwd_site_sets_dirty(sH���/�"�)�)�+��?���9�9��}�����r�y�y�{�+�,��y�y��yrc���Sn[R"U5n[SU/5nUR(aeUR	[U55 UR(aeg)Nz%/test/location/does-not-have-to-existr�)�
pkg_resourcesr	r
r�r�r�)r'�locationr�s   r�test_add_from_site_is_ignored�/TestPTHFileWriter.test_add_from_site_is_ignored1sY��:�� �/�/��9�����
�
���9�9��}�����x�(�)��9�9��}�9rc���URS5nUR5 [URS55n[U5n[U5nURURs=:Xa/:XdS5e S5eURS5nUR5 [U5nURRU5 UR
5 UR(dS5eXuR;dS5eUR
5 XuR;dS5eURSU:XdS	5e[U5RUR:XdS
5eg)z�
If the pth file is modified under the hood, then PthDistribution
will refresh its content before saving, merging contents when
necessary.
�
pth_subdirz	file1.pthz6unless there would be some default added at some point�
src_subdirzEthe new_src_path added must still be present/valid in pth1 after savez:right before we save the entry should still not be presentzJthe new_src_path entry should have been added by pth2 with its save() call���zVand it should match exactly on the last entry actually given we append to it in save()zXand we should have the exact same list at the end with a fresh PthDistributions instanceN)r_�mkdirr�r
�paths�append�save)r'r�r��pth_path�pth1�pth2�new_src_path�new_src_path_strs        r�*test_many_pth_distributions_merge_together�<TestPTHFileWriter.test_many_pth_distributions_merge_together?sc���[�[��.�
������z���{�3�4����)����)���z�z�T�Z�Z�-�2�-�	
�D�	
�-�	
�D�	
�-�
�{�{�<�0�������|�,���
�
���*�+��	�	���z�z�	
�S�	
�z� �z�z�1�	
�H�	
�1�	
�	�	���:�:�-�	
�X�	
�-��z�z�"�~��-�	
�
.�	
�-�
 ��)�/�/�4�:�:�=�	
�
5�	
�=rr&N)r0r1r2r3r�r�r�r4r&rrr�r�&s����)
rr�c#��# �US-RSSS9nUR[5 SSS5 UR5 Uv� SSS5 g!,(df   N,=f!,(df   g=f7f)Nr�r�r���encoding)�open�write�SETUP_PY�as_cwd)r��fs  r�
setup_contextr�ksS���
�:�
�	#�	#�C�'�	#�	:�a�	�����
;�	������
��
;�	:��	��s3�A4�A�A4�A#�		A4�
A �A4�#
A1�-A4�
user_overrider�c��\rSrSr\R
"S\R"55r\R
"S\R5\R
"SS5\S555r
\R
"SS5\S55r\S	5r
S
r\R S5r\R S5rS
r\R*S5rSrSrg)�TestUserInstallTestisz;setuptools.command.easy_install.easy_install.check_site_dirz(setuptools.command.easy_install.__file__�site.ENABLE_USER_SITETc�$�UR5 grw��assert_not_user_siter-s r�/test_user_install_not_implied_user_site_enabled�CTestUserInstallTest.test_user_install_not_implied_user_site_enableds��	
�!�!�#rFc�$�UR5 grwr�r-s r�0test_user_install_not_implied_user_site_disabled�DTestUserInstallTest.test_user_install_not_implied_user_site_disabled�s��	
�!�!�#rc��[5nSUl[R"U5nS/UlUR5 UR(aS5eg)Nr��pyzuser should not be implied)r�script_namer;rZrKrc�user)rJrhs  rr��(TestUserInstallTest.assert_not_user_site�sJ���~��%����o�o�d�#���6��������8�8�9�9�9�|�8rc���[R"S5 [R"S5n[R"[R
[RS9 URS5 g)N�multiprocessing�test_easy_install)�level�streamzthis should not break)	rm�importorskip�logging�	getLogger�basicConfig�INFOr��stderr�info)r'�logs  r�test_multiproc_atexit�)TestUserInstallTest.test_multiproc_atexit�sG�����-�.���� 3�4�����'�,�,�s�z�z�B����(�)rc��US-nURS5nURS5 SSS5 [U5$!,(df   N=f)Nzfoo-1.0.egg-infor�z
Name: foo
)r�r�r�)r'r��egg_filer�s    r�foo_package�TestUserInstallTest.foo_package�s?���.�.��
�]�]�3�
�1�
�G�G�M�"� ��6�{�� �
�s	�<�
A
c#�# �[U5n[R"S[RU/-5 [
RRR[R5n[RR[
RUS9 Uv� SSS5 SSS5 g!,(df   N=f!,(df   g=f7f)Nzsys.path�r�)
r�r�patchr�rr^�pathsepr_�dictr�)r'r�r��python_paths    r�install_target�"TestUserInstallTest.install_target�s}����V���
�Z�Z�
�C�H�H��x�$7�
8��'�'�/�/�.�.�s�x�x�8�K�����������D���E�9�
8�D�D��9�
8�s5�5C�A$C�B1� C�(	C�1
B?	�;C�
C�Cc��[5nSUl[R"U5nX$lS/UlUR
5 URRU/5 URS5n[RR[RRUR55n[RR[RRU55nXg:Xdeg)zL
The local index must be used when easy_install locates installed
packages.
r��fooN)rr�r;rZrbrKrc�local_index�scanr^r�normcase�realpathr�)r'rrrJrh�res�actual�expecteds        r�test_local_index�$TestUserInstallTest.test_local_index�s���
�~��%����o�o�d�#��(���7������������k�]�+����u�%�����!�!�"�'�'�"2�"2�3�<�<�"@�A���7�7�#�#�B�G�G�$4�$4�[�$A�B���!�!�!rc/�# �UR"U0UD6 SSKJs Jn [R
UlSv� SSS5 g!,(df   g=f7f)z_
Wrap sandbox.setup_context to patch easy_install in that context to
appear as user-installed.
rN)�orig_context�setuptools.command.easy_install�commandrZr~�	USER_SITE�__file__)r'rK�kwargsr;s    r�user_install_setup_context�.TestUserInstallTest.user_install_setup_context�s9����
�
��
/��
/�8�8��.�.�B�K��	0�
/�
/�s�A�#A�	A�
A�Ac�n�[RUl[R"SUR
5$)Nz setuptools.sandbox.setup_context)rr�rrrr$r-s r�patched_setup_context�)TestUserInstallTest.patched_setup_context�s-��#�1�1����z�z�.��+�+�
�	
r)rN)r0r1r2r3rr�Mock�
prev_sp_writer~r!r�r��staticmethodr�rrmr�rrr�
contextlib�contextmanagerr$r'r4r&rrr�r�ss����J�J�E��	�	���M�
�Z�Z�:�D�N�N�K�	�Z�Z�'��.��$��/�L�$�
�Z�Z�'��/��$��0�$��:��:�*��^�^�����^�^����"�"���	��	�
rr�c#�$# �[RSS5n[R"[R
S9 [
SSSS9nURU5 SSS5 Sv� SSS5 g!,(df   N=f!,(df   g=f7f)Nzfrom setuptools import setupz from distutils.core import setup)�cdr�r�r�r�)r��replacer�tempdirr^�chdirr�r�)�distutils_setup_pyr�s  r�distutils_packager4�sj���!�)�)�&�*���
�	�	�R�X�X�	&�
�*�c�G�
4��
�G�G�&�'�5�
�
'�	&�
4�
4��
'�	&�s4�9B�A?�A.�A?�%	B�.
A<	�8A?�?
B
�	Br4c��\rSrSrSrSrg)�TestDistutilsPackagei�c��[SS/5 g)Nr��	bdist_eggrr-s r�)test_bdist_egg_available_on_distutils_pkg�>TestDistutilsPackage.test_bdist_egg_available_on_distutils_pkg�s���*�{�m�,rr&N)r0r1r2r3r9r4r&rrr6r6�s��-rr6c��[5nURS:Xa[R"S5 UR	5 U$)Nrzcould not find a valid port)r�server_portrm�skip�start)�p_indexs r�
mock_indexr@�s6���l�G����a��	���1�2��M�M�O��Nrc� �\rSrSrSrSrSrg)�TestInstallRequiresi�c��US-nURSS9 US-nURSS9 URU5 [RSSSS[	U5S[	U5S	[	U5S
[	U5S[	U5S[	U5S
[	U5/n0[
RESUR0En[R"U[	U5U[R[RSSS9nURS:wdeSURVs1sHo�RiM sn;de[SUR R#555(degs snf![$aE SUR ;a3[&R("[R*SUR 35 ef=f)zf
When ``python setup.py install`` is called directly, it will use easy_install
to fetch dependencies.
�projectT)�exist_ok�install�-c� __import__("setuptools").setup()z--install-basez
--install-libz--install-headersz--install-scriptsz--install-dataz--install-purelibz--install-platlib�__EASYINSTALL_INDEXr�)�cwd�env�stdoutr�textr�r�/does-not-exist/c3�F# �UHnSU;dMSU;dMUv� M g7f)z"not find suitable distribution forzdoes-not-existNr&)�.0�lines  r�	<genexpr>�OTestInstallRequires.test_setup_install_includes_dependencies.<locals>.<genexpr>s0����2�D�7�4�?��%��,���2�s�
!�!�	!zfailed to get random numbersz failure - N)r��create_projectr��
executabler�r^r��url�
subprocess�run�PIPE�STDOUT�
returncode�requestsrr@rL�
splitlines�	Exceptionrm�xfailr�)	r'�tmp_pathr@�project_root�install_rootrhrK�cp�rs	         r�(test_setup_install_includes_dependencies�<TestInstallRequires.test_setup_install_includes_dependencies�s��� �)�+�����D��)��)�+�����D��)����L�)��N�N��.������������������������������%
��(D����C�2�J�N�N�C��
�^�^���L�!���?�?��$�$���
���}�}��!�!�!�	�%�*�:M�:M�)N�:M�Q�&�&�:M�)N�N�N�N����I�I�0�0�2����
���*O���	�-����:�������~�[�����D�E��	�s�
E0�E+�19E0�+E0�0AF?c�f�SnUS-R[U5SS9 US-R5 g)Nz�
        [metadata]
        name = project
        version = 42

        [options]
        install_requires = does-not-exist
        py_modules = mod
        �	setup.cfgr�r�zmod.py)�
write_textr�touch)r'�root�configs   rrT�"TestInstallRequires.create_project's7����
��	�'�'��V��w�'�G�	
�����!rr&N)r0r1r2r3rerTr4r&rrrBrB�s
��6�p"rrBc��\rSrSrSr\\RS55rSr	\
RRS\	5S5r
\
RRS\	5S5r\
RRS\	5S5rS	rS
rSrSr\
RRS
S5S5rSrSrSrg)�TestSetupRequiresi5c���URSS5 URSS5 URSS5 [R"5 [R	5n[R
"5n[R"US9 [RSSS	S
URSSUU/
n[R"U5R5 S
S
S
5 S
S
S
5 S
S
S
5 S
S
S
5 URVs/sHofRPM snS/:Xdeg
!,(df   NT=f!,(df   N]=f!,(df   Nf=f!,(df   No=fs snf)z�
When easy_install installs a source distribution which specifies
setup_requires, it should honor the fetch parameters (such as
index-url, and find-links).
�PIP_RETRIES�0�PIP_TIMEOUTr�falserrGrHrZz--index-urlz--exclude-scriptsz
--install-dirNrN)rr�quietro�create_sdistr1�environmentr�rUrVrW�Popen�waitr\r)r'r@r�	dist_file�temp_install_dirrhrds       r�'test_setup_requires_honors_fetch_params�9TestSetupRequires.test_setup_requires_honors_fetch_params6s��	���=�#�.����=�#�.����>�7�3�
�^�^�
�"�/�/�1�Y��%�%�'�+;�!�-�-�9I�J��N�N� �>�*�)�&�N�N�/�+�,�%���#�(�(��-�2�2�4�K�(�2��&!+� 3� 3�4� 3�1��� 3�4�9K�8L�L�L�L�K�J��(�'��2�1���
��&5s[�E�!E�7D4�A	D#	�D4�E�%E�E'�#
D1
�-D4�4
E�>E�
E	�E�
E$c#��# �[R"5n[RR	US5n[US[
S54S/5 Uv� SSS5 g!,(df   g=f7f)zT
Return an sdist with a setup_requires dependency (of something that
doesn't exist)
z"setuptools-test-fetcher-1.0.tar.gzr�a
                    import setuptools
                    setuptools.setup(
                        name="setuptools-test-fetcher",
                        version="1.0",
                        setup_requires = ['does-not-exist'],
                    )
                �rhr�N)rr1r^rr_r�r)�dir�	dist_paths  rrv�TestSetupRequires.create_sdistTsh����
�
�
�3������S�*N�O�I���#���	��&��
�&�O�+ �
�
�s�A0�>A�	A0�
A-�)A0)r&��dependency_links��setup_requires)r�r��
use_setup_cfgc�F�[SSSS9n[R"U5 [R"5 [R
"5n[
X1S9n[RRUS5n[R"5upg[US/5 SSS5 WR5n[U5S	:�deUS
R5S:XdeSSS5 SSS5 g!,(df   NZ=f!,(df   N(=f!,(df   g=f)a
Regression test for distribution issue 323:
https://bitbucket.org/tarek/distribute/issues/323

Ensures that a distribution's setup_requires requirements can still be
installed and used locally even if a conflicting version of that
requirement is already on the path.
zdoes-not-matter�foobar�0.0��project_name�version�r�r��--nameNrr��test_pkg)r�r
r�r�save_pkg_resources_stater1�create_setup_requires_packager^rr_rur�	readlines�len�strip)	r'r��	fake_dist�temp_dirr��
test_setup_pyrL�_stderr�liness	         r�.test_setup_requires_overrides_version_conflict�@TestSetupRequires.test_setup_requires_overrides_version_conflictys���#��H�e�
�	�	���	�"�
�
.�
.�
0��!�!�#�x�8����!#�����X�z� B�
��^�^�%�):�&��m�h�Z�8�&�
�(�(�*���5�z�A�~�%�~��R�y���(�J�6�6�6�$�1�
0�&�%��$�#��1�
0�s<�D�
?D�C0�AD�D�0
C>�:D�
D	�D�
D c��[R"5 [R"5n[RRUS5n[
USS5 [RRUS5n[R"U5 [R"U5nSUl
URU5 SSS5 [RRSU5 [USSS9n[R "U5 [#S	5n[%USS
[UUS9n[RRUS5n	[R&"5up�[)U	S
/5 SSS5 SW
R35;deU
R55n[7U5S:�deUSR95S:XdeSSS5 SSS5 g!,(df   GN=f![*R,a [.R0"S5 N�f=f!,(df   N�=f!,(df   Nj=f!,(df   g=f)z�
Like ``test_setup_requires_overrides_version_conflict`` but where the
``setup_requires`` package is part of a namespace package that has
*already* been imported.
zfoo_bar-0.1.tar.gzzfoo.bar�0.1zfoo_bar-0.1c��U$rwr&)�memberrs  rrS�FTestSetupRequires.test_setup_requires_override_nspkg.<locals>.<lambda>�s��rNrr�a�                    import foo  # Even with foo imported first the
                                # setup_requires package should override
                    import setuptools
                    setuptools.setup(**%r)

                    if not (hasattr(foo, '__path__') and
                            len(foo.__path__) == 2):
                        print('FAIL')

                    if 'foo_bar-0.2' not in foo.__path__[0]:
                        print('FAIL')
                z0.2r�r�r�z9Installing setup.py requirements caused a VersionConflict�FAILrr�r�)rr�r1r^rr_�make_nspkg_sdistr��tarfiler��extraction_filter�
extractallr��insertr�r
r�rr�rurr��VersionConflictrm�fail�getvaluer�r�r�)
r'r�r��foobar_1_archive�foobar_1_dir�tfrJ�templater�r�rLr�r�s
             r�"test_setup_requires_override_nspkg�4TestSetupRequires.test_setup_requires_override_nspkg�s����
.�
.�
0��!�!�#�x�#%�7�7�<�<��:N�#O� � �!1�9�e�D� "�w�w�|�|�H�m�D������&��\�\�"2�3�r�+F�B�(��M�M�,�/�4�������<�0�%� �y�%�������%����� 9����$��"/�
��!#�����X�z� B�
��^�^�%�):�&��"�-�(��<�	&��V�_�_�%6�6�6�6��(�(�*���5�z�A�~�%�~��R�y���(�J�6�6�6�s$�1�
0�4�3��T)�8�8�����W����&�%��Y$�#��1�
0�ss�H:�A:H)�&G�BH)�H�
G(�,AH)�H:�
G%� H)�(*H	�H�H	�H�
H&�"H)�)
H7	�3H:�:
Ic	�$�Sn[R"5 [R"5n[U[	SS9UUS-S9n[
RRUS5n[R"5upg[US/5 SSS5 WR5n[U5S:�deUSR5S	:XdeSSS5 SSS5 g!,(df   NZ=f!,(df   N(=f!,(df   g=f)
Nc
�n�S[SU<SU<SU<S354US-[S54/n[X5 g)Nr�zj
                    import setuptools
                    setuptools.setup(
                        name=z",
                        version=z&,
                        py_modules=[z-],
                    )
                    z.pyz6
                    version = 42
                    )rr�)r��distnamer�r�s    r�make_dependency_sdist�VTestSetupRequires.test_setup_requires_with_attr_version.<locals>.make_dependency_sdist�sk�����'�\�*!�!(��,%�%-�L�1��	���u�$������E�.
�y�(rzattr: foobar.version)r�)�setup_attrs�make_packager�r��	--versionrr��42)
rr�r1r�rr^rr_rurr�r�r�)	r'r�r�r�r�r�rLr�r�s	         r�%test_setup_requires_with_attr_version�7TestSetupRequires.test_setup_requires_with_attr_version�s���	)�4�
.�
.�
0��!�!�#�x�8�� $�-C� D�!6�"/�,�">�	��!#�����X�z� B�
��^�^�%�):�&��m�k�]�;�&��(�(�*���5�z�A�~�%�~��R�y���(�D�0�0�0�$�1�
0�&�%��$�#��1�
0�s<�D�AC0�;C�AC0�D�
C-�)C0�0
C>	�:D�
Dc��URSS5 URSS5 URSS5 URSUR5 [R"5 [R"5n[USS[
/S	9S
9n[RRUS5n[USS
S9nUR[S55 SSS5 [RRUS5n[R"[R R"5 [%US/5 SSS5 SSS5 SSS5 ['UR(5S:XdeUR(SRS:Xdeg!,(df   N�=f!,(df   Nj=f!,(df   Ns=f!,(df   N|=f)Nrqrrrsrrt�
PIP_INDEX_URL�python-xlib�0.19r��r�rhr�r�r�z}
                        [easy_install]
                        index_url = https://pypi.org/legacy/
                        r�r�rrz
/python-xlib/)rrVrr�r1r�rr^rr_r�r�rrmrnrorprqrr�r\)r'r@rr�r��test_setup_cfg�fpr�s        r�"test_setup_requires_honors_pip_env�4TestSetupRequires.test_setup_requires_honors_pip_envsh�����=�#�.����=�#�.����>�7�3����?�J�N�N�;�
�
.�
.�
0��!�!�#�x�8��!�� $�b� 9�	��"$�����h��!D���.�#��@�B��H�H�����A�!#�����X�z� B�
��]�]�9�#3�#3�#B�#B�C��m�k�]�;�D�%$�1�*�:�&�&�'�1�,�,�,��"�"�1�%�*�*�o�=�=�=�A�@��D�C��%$�#��1�
0�sU�(G�>?F1�=F�AF1�.F �<F1�G�
F�F1� 
F.�*F1�1
F?	�;G�
Gc�j�URSS5 URSS5 URSUR5 [R"5 [R"5n[
RRUS5n[USS5 [USS	9n[US
S[SU3S
9S9n[
RRUS5n[US/5 SSS5 SSS5 [UR5S:Xdeg!,(df   N2=f!,(df   N;=f)Nrqrrrsr�z
dep.tar.gz�
dependencyr��	localhost)�	authorityr�r�z
dependency @ r�r�r�r�r)rrVrr�r1r^rr_�make_trivial_sdistrr�rrr�r\)r'r@rr��	dep_sdist�dep_urlr�r�s        r�#test_setup_requires_with_pep508_url�5TestSetupRequires.test_setup_requires_with_pep508_url$s������=�#�.����=�#�.����?�J�N�N�;�
�
.�
.�
0��!�!�#�x��G�G�L�L��<�@�	�"�9�l�D�A�%�i�;�G��8��!�� $�m�G�9�4M� N���!#�����X�z� B�
��-�+��7�$�1��:�&�&�'�1�,�,�,�$�#��1�
0�s%�D$�,A;D�'D$�
D!	�D$�$
D2c	�<�S[S5[S5S.0n[R"5 [R"5n[R
"X#S9 [
[R"USS55n[R"[RR5 [US/5 SSS5 SSS5 SSS5 [UR 5S	:Xdeg!,(df   N:=f!,(df   NC=f!,(df   NL=f)
z2The `allow-hosts` option in not supported anymore.r�z~
                    from setuptools import setup
                    setup(setup_requires='python-xlib')
                    z\
                    [easy_install]
                    allow_hosts = *
                    �r�rh��prefixr�r�Nr)rrr�r1r�buildr��pathlibrrmrnrorprqrr�r\)r'r@r�r��setup_pys     r�$test_setup_requires_with_allow_hosts�6TestSetupRequires.test_setup_requires_with_allow_hosts8s���
� ���"���
�
�� �
.�
.�
0��!�!�#�x��
�
�5�2��w�|�|�H�j�*�M�N���]�]�9�#3�#3�#B�#B�C��h��
�6�D�$�1��:�&�&�'�1�,�,�,�D�C��$�#��1�
0�s<�D
�A$C<�)C+�7C<�?D
�+
C9�5C<�<
D
	�D
�
Dc��URSS5 URSS5 URSS5 URSS5 Sn[[X#-55nSn[[X#-5S	S
U5 Sn[[X&-55nS[R
RS
[R
RS3n[[X&-5S	SU5 US-n	U	R[S5RUUUUUUS9S5 [[U	55n
[R"5 [[U5SS[S	U
/S9S9n[R R#US5n[%US/5 SSS5 ['[)[[*R,"[R R#WS5555n
U
S/:Xdeg!,(df   Nc=f)z#Check `python_requires` is honored.rqrrrsr�1�PIP_VERBOSEzdep-1.0.tar.gzz>=2.7�dep�1.0zdep-2.0.tar.gzz!=�.z.*z2.0z
index.htmla�
            <!DOCTYPE html>
            <html><head><title>Links for dep</title></head>
            <body>
                <h1>Links for dep</h1>
                <a href="{dep_1_0_url}"data-requires-python="{dep_1_0_python_requires}">{dep_1_0_sdist}</a><br/>
                <a href="{dep_2_0_url}"data-requires-python="{dep_2_0_python_requires}">{dep_2_0_sdist}</a><br/>
            </body>
            </html>
            )�dep_1_0_url�
dep_1_0_sdist�dep_1_0_python_requires�dep_2_0_url�
dep_2_0_sdist�dep_2_0_python_requiresr�r�r�)r�r�r�r�r�Nz.eggszdep 1.0)rrr��make_python_requires_sdistr��version_info�major�minorrir�formatrr�r�rr^rr_r�list�mapr��find_distributions)r'rr�r�r�r�r�r�r��index�	index_urlr�r��eggss              r�(test_setup_requires_with_python_requires�:TestSetupRequires.test_setup_requires_with_python_requiresRs������=�#�.����=�#�.����>�3�/����=�#�.�(�
�!�#�f�&<�"=�>��")��"���&�'���7N�	
�)�
�!�#�f�&<�"=�>����!�!�'�'�(��#�*:�*:�*@�*@�)A��D�	 �	#���&�'���7N�	
���%��
�����

��f�'�+�(?�'�+�(?�
��
�-	
�0 ��E�
�+�	�
�
.�
.�
0�4��F���� ����T�	�H��G�G�L�L��:�>�M��m�k�]�3�1����]�5�5�b�g�g�l�l�8�W�6U�V�W�
���	�{�"�"�"�1�
0�s
�AG*�*
G8�!with_dependency_links_in_setup_py)FTc�(�URSS5 URSS5 [R"5 [R"5n[	[
RRUS5SS5 [
RRUS5n[
RRUS5n[
RRUS	5n[
R"U5 [US
SS9nU(a"[
RRUS
5/nO/nUR[S5RUS95 SSS5 [US
SS9nUR[S5R[
RRUS5US95 SSS5 [US/5 SSS5 SSS5 g!,(df   N�=f!,(df   N==f!,(df   N9=f!,(df   g=f)Nrqrrrszpython-xlib-42.tar.gzr�r�r�r�rhr�r�r��linksz�
                        from setuptools import installer, setup
                        setup(setup_requires='python-xlib==42',
                        dependency_links={dependency_links!r})
                        r�z�
                        [easy_install]
                        index_url = {index_url}
                        find_links = {find_links}
                        r�)r�r]r�)rrr�r1r�r^rr_r�r�r�rr�r)	r'rr�r�r�r�r�r�r�s	         r�0test_setup_requires_with_find_links_in_setup_cfg�BTestSetupRequires.test_setup_requires_with_find_links_in_setup_cfg�s���	���=�#�.����=�#�.�
�
.�
.�
0��!�!�#�x�"��G�G�L�L��+B�C�]�TX���7�7�<�<��*�=�� "�����X�z� B�
�!#�����h��!D������"��-��w�?�2�8�,.�G�G�L�L��7�,K�+L�(�+-�(��H�H����!�&�2B�&�C��@��.�#��@�B��H�H����!�&�&(�g�g�l�l�8�W�&E�'/�!���A��-�+��7�G$�1�
0�@�?��A�@��-$�#��1�
0�sV�H�B-G2�=AG�G2�#AG!�*G2�?H�
G�G2�!
G/�+G2�2
H	�<H�
Hc�,�[R"5 [R"5n[[R
R
US5SS5 [R
R
US5n[R"U5 [
R"[S5SS.US9 [[R
R
US	5S
/5 [R"U5 [R
R
US5n[R
R
US	5n[R"U5 [USS
S9nUR[S55 SSS5 URS[!U55 URSS5 URSS5 URSS5 [US/5 SSS5 SSS5 g!,(df   N}=f!,(df   N(=f!,(df   g=f)z�
Use case: installing a package with a build dependency on
an already installed `dep[extra]`, which in turn depends
on `extra_dep` (whose is not already installed).
�extra_dep-1.0.tar.gz�	extra_depr�r�a
                          import setuptools
                          setuptools.setup(
                              name='dep', version='2.0',
                              extras_require={'extra': ['extra_dep']},
                          )
                         r�r�r�r��	dist_infor�r�r�r���
                        from setuptools import installer, setup
                        setup(setup_requires='dep[extra]')
                        N�PIP_FIND_LINKSrr�rqrrrsr�)rr�r1r�r^rr_r�r�rrr
�	add_entryr�r�rr��r'rr��dep_pkgr�r�r�s       r�4test_setup_requires_with_transitive_extra_dependency�FTestSetupRequires.test_setup_requires_with_transitive_extra_dependency�s����
.�
.�
0��!�!�#�x�"��G�G�L�L��+A�B�K�QV���'�'�,�,�x��7������!��
�
�$(��%�&(��#�� �"�'�'�,�,�w�
�;�k�]�K��%�%�g�.��7�7�<�<��*�=�� "�����X�z� B�
�����"��-��w�?�2��H�H�����@��"�"�#3�S��]�C��"�"�>�3�7��"�"�=�#�6��"�"�=�#�6��-�+��7�Y$�1�
0�>@�?��=$�#��1�
0�s<�H�D%G4�G#�,A&G4�H�#
G1�-G4�4
H	�>H�
Hc	�Z�[R"5 [R"5n[[R
R
US5S[S54SS/5 [R
R
US5n[R"U5 [
R"[S5S[S	5S
.US9 [[R
R
US5S/5 [R"U5 [R
R
US
5n[R
R
US5n[R"U5 [USSS9nUR[S55 SSS5 URS[!U55 URSS5 URSS5 URSS5 [US/5 SSS5 SSS5 g!,(df   N}=f!,(df   N(=f!,(df   g=f)zS
Use case: ensure build requirements' extras
are properly installed and activated.
r�r�a$
                          import setuptools
                          setuptools.setup(
                              name='extra_dep',
                              version='1.0',
                              py_modules=['extra_dep'],
                          )
                          r)zextra_dep.pyr��epdepa(
                          import setuptools
                          setuptools.setup(
                              name='dep', version='2.0',
                              py_modules=['epcmd'],
                              extras_require={'extra': ['extra_dep']},
                              entry_points='''
                                           [distutils.commands]
                                           epcmd = epcmd:epcmd [extra]
                                           ''',
                          )
                         r�a
                                     from distutils.command.build_py import build_py

                                     import extra_dep

                                     class epcmd(build_py):
                                         pass
                                     )r�rhzepcmd.pyr�r�r�r�r�r�r�Nr�rr�rqrrrs�epcmd)rr�r1r�r^rr_rr�r�rr
r�r�r�rr�r�s       r�.test_setup_requires_with_distutils_command_dep�@TestSetupRequires.test_setup_requires_with_distutils_command_dep�s���
�
.�
.�
0��!�!�#�x���G�G�L�L��+A�B�'� �!�	��*�,���*�'�'�,�,�x��9������!��
�
�$(��
%�&(�$(�)�	%�!�6#�9�>�"�'�'�,�,�w�
�;�k�]�K��%�%�g�.��7�7�<�<��*�=�� "�����X�z� B�
�����"��-��w�?�2��H�H�����@��"�"�#3�S��]�C��"�"�>�3�7��"�"�=�#�6��"�"�=�#�6��-�'��3�Y$�1�
0�~@�?��}$�#��1�
0�s<�H�D<H�(G:�A&H�)H�:
H�H�
H	�H�
H*r&N)r0r1r2r3r|r+r,r-rvr�rmr��parametrizer�r�r�r�r�r�r�r�r�rr4r&rrroro5s���M�<��������8�M��[�[���_�m�<�7�=�7�<�[�[���_�m�<�A7�=�A7�F�[�[���_�m�<�(1�=�(1�T>�:-�(-�4:#�x�[�[���@�-�P�)8�Q�)8�V38�jR4rroc�H�[US[SU<SU<S354S/5 g)zP
Create a simple sdist tarball at dist_path, containing just a simple
setup.py.
r�zT             import setuptools
             setuptools.setup(
                 name=z,
                 version=z
             )
         rN)r�r)r�r�r�s   rr�r�DsK������� �l�#�!��%
�	
��
�
�	
�rc��SU;deURS5nUSn[S[U5S-5Vs/sHnSRUSU5PM nn[	SU<SU<SU<SU<S	3	5nS
nSU4[
RRUS5U4/n	USSHFn
[
RR"U
RS5S/-6nU	RUS
45 MH [X	5 gs snf)z�
Make an sdist tarball with distname and version which also contains one
package with the same name as distname.  The top-level package is
designated a namespace package).
r�rrNzE        import setuptools
        setuptools.setup(
            name=z,
            version=z,
            packages=z",
            namespace_packages=[z]
        )
    z7__import__('pkg_resources').declare_namespace(__name__)r�z__init__.pyr�)	�split�ranger�r_rr^rr�r�)r�r�r��parts�	nspackage�idx�packagesr��initr��packager�s            rr�r�^s���(�?��?��N�N�3��E��a��I�16�q�#�e�*�q�.�1I�J�1I�#�����t���%�1I�H�J��
�����K� ��\�"!�!*�
�.�
	�
�H�E�D��(�
#�b�g�g�l�l�9�m�&L�d�%S�T�E��A�B�<���7�7�<�<�'�-�-��"4�
��"F�H��
���h��^�$� ��y� ��+Ks�C8c
�R�[US[S5RXUS94S/5 g)Nr�z�                import setuptools
                setuptools.setup(
                  name={name!r},
                  version={version!r},
                  python_requires={python_requires!r},
                )
                )r$r��python_requiresr)r�rr�)r�r�r�rs    rr�r��sD�������	��&�!�O���
�
�!	
�rc��[U5S:�de[R"US5nUH�up4[R"URS55n[R"US9n[UR55Ul[[R"55UlURXeS9 M� SSS5 g!,(df   g=f)zy
Create a simple sdist tarball at dist_path, containing the files
listed in ``files`` as ``(filename, content)`` tuples.
rzw:gzr�)r$)�fileobjN)
r�r�r��io�BytesIOr��TarInfor��size�int�time�mtime�addfile)r�r�rJr�r��
file_bytes�	file_infos       rr�r��s����u�:��>��>�	���i��	(�D�!&��H����G�N�N�7�$;�<�J����X�6�I� ��!4�!4�!6�7�I�N�!�$�)�)�+�.�I�O��L�L��L�7�"'�
)�	(�	(�s�BC�
Cr�r�r&c�N�[U5nSSUSU3/[RRU5/S.nU(aUR	U5 [RRUS5n	[R"U	5 U(a�/n
/nUHonURU5n
USR5;aUnOU
n[U
[[45(aSRU
5n
URUSU
35 Mq [S5RS	RU
5S	RU5S
9nOSn[[RRU	S5S
SS9nUR!U5 SSS5 Uc[S5n[[RRU	S5S
SS9nUR!XH-5 SSS5 [RRXSUS35nU"UX5 U	$!,(df   N�=f!,(df   NO=f)aCreates a source tree under path for a trivial test package that has a
single requirement in setup_requires--a tarball for that requirement is
also created and added to the dependency_links argument.

``distname`` and ``version`` refer to the name/version of the package that
the test package requires via ``setup_requires``.  The name of the test
package itself is just 'test_pkg'.
r�r�z==)r$r�r�r�zname version�;z: zg
            [metadata]
            {metadata}
            [options]
            {options}
            �
)�options�metadatar�rhr�r�r�NzI            import setuptools
            setuptools.setup(**%r)
        r��-z.tar.gz)rr^r�abspath�updater_r��popr�
isinstance�tupler�r�rr�r�r�)rr�r�r��setup_py_templater�r��normalized_distname�test_setup_attrsr�r!r"r$�value�section�test_setup_cfg_contentsr��foobar_paths                  rr�r��s���$%�X�.����1�2�"�W�I�>�?��W�W�_�_�T�2�3�	�������,��w�w�|�|�D�*�-�H��H�H�X�������!�D�$�(�(��.�E��~�+�+�-�-�"��!���%�%���/�/��������N�N�d�V�2�e�W�-�.�"�#'�
�#
��&��I�I�g�&��Y�Y�x�(��
�	 �#%��	
�b�g�g�l�l�8�[�1�3��	I�Q�	���'�(�
J�� � �
�
��
�b�g�g�l�l�8�Z�0�#��	H�A�	���!�4�5�
I��'�'�,�,�t�'<�A�g�Y�g�%N�O�K���h�0��O�#
J�	I��
I�	H�s�(H�9H�
H�
H$�javaz0Test cannot run under java when executable is shr�c�4�\rSrSrSrSrSrSrSrSr	Sr
g	)
�TestScriptHeaderi�u/Users/José/bin/pythonz$C:\Program Files\Python36\python.exec���S[R"[RR	[
R55S3n[RRS5nX!:Xdeg)N�#!r z#!/usr/local/bin/python�	r;�nt_quote_argr^r�normpathr�rUrA�
get_header�r'rrs   r�test_get_script_header�'TestScriptHeader.test_get_script_headersN���������(8�(8����(H�I�J�"�M�����+�+�,E�F���!�!�!rc���S[R"[RR	[
R55S3n[RRS5nX!:Xdeg)Nr4� -x
z#!/usr/bin/python -xr5r9s   r�test_get_script_header_args�,TestScriptHeader.test_get_script_header_argssN���������(8�(8����(H�I�J�%�P�����+�+�,B�C���!�!�!rc��[RRSURS9nSURS3nX:Xdeg)N�#!/usr/bin/python�rUr4r=)r;rAr8�
non_ascii_exe�r'rrs   r�$test_get_script_header_non_ascii_exe�5TestScriptHeader.test_get_script_header_non_ascii_exe
sI�����+�+��D�,>�,>�,�
����*�*�+�5�1���!�!�!rc��[RRSSUR-S-S9nSURS3nX:Xdeg)NrA�"rB�#!"z"
)r;rAr8�exe_with_spacesrDs   r�&test_get_script_header_exe_with_spaces�7TestScriptHeader.test_get_script_header_exe_with_spacessS�����+�+��C�$�2F�2F�,F��,L�,�
����-�-�.�c�2���!�!�!rr&N)r0r1r2r3rCrJr:r>rErKr4r&rrr2r2�s"��
.�M�=�O�"�
"�
"�"rr2c���\rSrSrSrSr\R"S\R5\RR\R5S55r
SrS
SjrS	rg)�TestCommandSpecic�`�[R"SS/5nUR5S:Xdeg)z`
Show how a custom CommandSpec could be used to specify a #! executable
which takes parameters.
z/usr/bin/env�python3z#!/usr/bin/env python3
N)r;r<r?�r'rhs  r�test_custom_launch_command�*TestCommandSpec.test_custom_launch_commands,��
�n�n�n�i�8�9���}�}��"<�<�<�<rc�|�[R"S/5n[RRU5nXLdeg)z7
from_param should return an instance of a CommandSpec
�pythonN)r;r<�
from_param)r'rh�cmd_news   r�.test_from_param_for_CommandSpec_is_passthrough�>TestCommandSpec.test_from_param_for_CommandSpec_is_passthrough"s2���n�n�h�Z�(���.�.�+�+�C�0���~��~rzsys.executablec���[RRSS5 [RR5n[
U5S:XdeUR5RS5(deg)N�__PYVENV_LAUNCHER__rrI)	r^r�r&r;r<r>r�r?rErQs  r�/test_from_environment_with_spaces_in_executable�?TestCommandSpec.test_from_environment_with_spaces_in_executable*sV��	�
�
���,�d�3��n�n�-�-�/���3�x�1�}��}��}�}��)�)�%�0�0�0�0rc��[RRS5n[U5S:XdeSUR	5;deg)zn
In order to support `executable = /usr/bin/env my-python`, make sure
from_param invokes shlex on that input.
z/usr/bin/env my-pythonr9rHN)r;r<rVr�r?rQs  r�"test_from_simple_string_uses_shlex�2TestCommandSpec.test_from_simple_string_uses_shlex2s=��
�n�n�'�'�(@�A���3�x�1�}��}��#�-�-�/�)�)�)rNc��[R"[5n[RR[
55 SSS5 [WR5S:XdUR5eg!,(df   N9=f)zS
from_param should raise its own TypeError when the argument's type is unsupported
Nz1Argument has an unsupported type <class 'object'>)	rmrn�	TypeErrorr;r<rV�objectr�r,)r'�exc_infos  r�%test_from_param_raises_expected_error�5TestCommandSpec.test_from_param_raises_expected_error;s\���]�]�9�
%���N�N�%�%�f�h�/�&�
�����#V�V�	��>�>�	�V�&�
%�s�(A6�6
Br&)�returnN)r0r1r2r3rRrXrrr2rJrr^r�r\r_rer4r&rrrNrNsW��=��
�Z�Z� �"2�"B�"B�C�	�Z�Z�_�_�R�Z�Z� �1�!�D�1�*�rrNc��\rSrSrSrSrg)�TestWindowsScriptWriteriFc��[RRS5nURS5(deUR	S5(deURS5nUR
S5nURS5(aeg)Nr�r4r z\")r;�WindowsScriptWriterr8rE�endswith�lstrip�rstrip)r'�hdrs  r�test_header�#TestWindowsScriptWriter.test_headerGsv���$�$�/�/��3���~�~�d�#�#�#�#��|�|�D�!�!�!�!��j�j�����j�j�����>�>�%�(�(�(�(�(rr&N)r0r1r2r3rpr4r&rrririFs��)rric�H�\rSrSr%\\S'\\S'\\S'\\S'\\S'Srg)	�VersionStubiQr�r��micro�releaselevel�serialr&N)r0r1r2r3r�__annotations__r�r4r&rrrsrsQs���J��J��J����Krrsc	� �[5nURS5nS/UlSUlSUl[U5UlSUlURS5n[U5UlSUlUR5n[R"5 [R"S5 Sn[SS	S
SS5nURSS5 URS
U5 URSU5 URUS[R"55 UR!5 SSS5 SSS5 [#[$S5(aSOSn	UR&R)5n
[*R,"U	S-U
5(a![*R,"U	S-U
5(deUR.SS:XdeUR.SS:XdeUR.SS:Xdeg!,(df   N�=f!,(df   N�=f)NrZrXrTrF�ignorez:3.10.1 (main, Dec 21 2021, 09:17:12) [GCC 10.2.1 20210110]��
r�finalr�zsys.versionzsys.version_info�create_home_path�pypy_version_info�pypyrUz3\.?1z3\.?1\d�
py_versionz3.10.1�py_version_shortz3.10�py_version_nodot�310)r�get_command_objrK�optimizer�r��install_userbase�install_usersite�context�warnings�catch_warnings�simplefilterrsr}rr)�finalize_options�hasattrr�rb�lowerrFrG�config_vars)r��
tmpdir_cwdrrJrh�install_cmdrr�rr$rbs           r�&test_use_correct_python_version_stringr�Ys����>�D�
�
�
�~�
.�C��v�C�H��C�L��C�H��v�;�C���C���&�&�y�1�K�#&�v�;�K� �#'�K� �	�	�	�	�%��)@�)@�)B����h�'�N���1�b�!�W�a�0��
�
�
�-�t�4�
�
�
�m�W�-�
�
�
�(�$�/�
�
�
�c�-�t�y�y�{�;�����*C�	��S�"5�6�6�6�H�D��/�/�'�'�)�K�
�y�y����+�.�.��y�y��
�*�K�8�8�8�8�
�?�?�<�(�H�4�4�4��?�?�-�.�&�8�8�8��?�?�-�.�%�7�7�7�9*C�)B��	�	�s%�G?�BG.�+G?�.
G<	�8G?�?
H
�darwinzDhttps://github.com/pypa/setuptools/pull/4716#issuecomment-2447624418c�b�URSS5 URS[US-55 URS[US-55 URS[US-55 URSS5 URS	S5 [[R
"55nUR
S
S
S9 US-nUR
S
S
S9 URS
[U55 SnUS-RUSS9 [URS55/:Xde[URS55/:Xde[SSS/5 [URS55/:XdeURS5Vs1sHofRiM nnUS1-
nUS1:Xdegs snf)zC`setup.py develop` should honor `--user` even under build isolationr�F�HOMEz.home�USERPROFILE�APPDATAzsite.USER_BASENzsite.USER_SITET)�parentsrEz.sys_prefixz
sys.prefixzF__import__('setuptools').setup(name='aproj', version=42, packages=[])
r�r�r��*�developz--userzeasy-install.pthzaproj.egg-link)r}rr�rr~�getusersitepackagesr�rir��globrr$)r�rr`�	user_site�
sys_prefix�setup_scriptr��	installeds        r�&test_editable_user_and_build_isolationr��s������/��7�(���v�s�8�g�#5�6�7����}�c�(�W�*<�&=�>����y�#�h��&8�"9�:����(�$�/����(�$�/��T�-�-�/�0�I�
�O�O�D�4�O�0��M�)�J����T�D��1�����c�*�o�6�	R���
��&�&�|�g�&�F��
����$�%��+�+�+��	���s�#�$��*�*�*��j�9�h�/�0��
����$�%��+�+�+�!*����!4�5�!4�A���!4�I�5��/�0�0�I��)�*�*�*�*��6s�F,)U�__doc__r,rrCr�r^r�rFr~rWr�r�r`rr�r�r�typingr�unittestrrm�jaracorr�rr rZr;rr�r	r
�
setuptoolsr�setuptools._normalizationrr
�setuptools.dist�setuptools.sandboxr�setuptools.testsr�setuptools.tests.serverrrr�r�textwrapr�distutils.errorsror�rr r�r6r��filterwarningsr�r��usefixturesr�r4r6r@rBror�r�r�r�r�r�r�rE�is_shrUr2rNrirsr�r_r�r&rr�<module>r�s�����	���	��	���
���������
���,�,�U�U��0�<�(�(�*�;���������/��/�������\2�\2�~�����0�1�A
�A
�2�A
�H������������)�������)�X
�X
�*�*�X
�v�����������,�-�-�-�.�-�
������D"�D"�NL4�L4�^�4!!�H�08�&��#����J�Z������L�L���F�#�@�������(@�=���"�"�	�"�:*�*�Z)�)��*��+8�\������L�L�H��Q���9+�	�9+r

Youez - 2016 - github.com/yon3zu
LinuXploit