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_develop.cpython-314.pyc
+
�h���Rt^RIt^RIt^RIt^RIt^RIt^RIt^RIHt^RI	H
t
^RIHt^RI
HtHtRtRt]P$R4t]P$R	4t!R
R4t!RR
4t!RR4tR#)z
develop testsN)�paths_on_pythonpath)�develop)�Distribution)�contexts�
namespaceszHfrom setuptools import setup

setup(name='foo',
    packages=['foo'],
)
zprint "foo"
c	#�D"�\P!4;_uu_4p\P!4;_uu_4pVPRV4VPRV4Rx�RRR4RRR4R# +'giL;i +'giR#;i5i)zsite.USER_BASEzsite.USER_SITEN)r�tempdir�setattr)�monkeypatch�	user_base�	user_sites&  �?/usr/lib/python3/dist-packages/setuptools/tests/test_develop.py�	temp_userrsk���	�	�	�	�	�y�
�
�
�
�
�9���� 0�)�<���� 0�)�<�� �
�	�
�
��
�	�	�s3�B �B�)A9	�'B�/
B �9B	
�B�B	�	B c#�F"�TpVPR4pVR,pVP4'd\\V44hVP	R4;_uu_4pVP\4RRR4VR,pVP	R4;_uu_4pVP\4RRR4VP4;_uu_4Vx�RRR4R# +'giLw;i +'giLJ;i +'giR#;i5i)�foo�setup.py�wNz__init__.py)	�mkdir�isfile�
ValueError�dir�open�write�SETUP_PY�INIT_PY�as_cwd)�tmpdirr�targetr�setup�f�inits&&     r
�test_envr!&s����
�F�
�,�,�u�
�C��Z��E��|�|�~�~���V��%�%�	���C���A�	�����
����D�	
���3���1�	�����
�	�������
��
���
���	���sN�A D!�"C'�8*D!�"C:�8 D!�D
�
D!�'C7	�2D!�:D
	�D!�
D	�	D!c��a�]tRt^6to]!]R4t]!]R4;'d]P]P8gt	Rt
]PPRR7R4tRtVtR#)	�TestDevelop�real_prefix�base_prefixc���\P!R4\RR.RRR./R7p\V4pRVn\V4pVP
4WnVP4R#)	zw
Test that console scripts are installed and that they reference
only the project by name and not the current version.
zTTODO: needs a fixture to cause 'develop' to be invoked without mutating environment.rz0.0�console_scriptszfoocmd = foo:foo)�name�packages�version�entry_pointsrN)	�pytest�skip�dictr�script_namer�ensure_finalized�install_dir�run)�selfr�settings�dist�cmds&&   r
�test_console_scripts� TestDevelop.test_console_scripts:ss��
	���
:�	
����W��!�&�$��		
���H�%��%����d�m������ �����	�z0legacy behavior retained for compatibility #4167��reasonc��\RR7p\V4p\V4pVP4\P
!VP4pVPR8XgQhVPR8XgQhR#)zFoo $$$ Bar_baz-bing)r(z	.egg-link�Foo_Bar_baz_bingN)	r.rrr0�pathlib�Path�egg_link�suffix�stem)r3r4r5r6�links&    r
�test_egg_link_filename�"TestDevelop.test_egg_link_filenameUsg���'�
���H�%���d�m�������|�|�C�L�L�)���{�{�k�)�)�)��y�y�.�.�.�.r9�N)�__name__�
__module__�__qualname__�__firstlineno__�hasattr�sys�
in_virtualenvr%�prefix�in_venvr7r,�mark�xfailrD�__static_attributes__�__classdictcell__��
__classdict__s@r
r#r#6s_�����C��/�M��c�=�)�K�K�c�o�o����.K�G��6�[�[���P��Q�	/�R�	/r9r#c�6a�]tRt^btoRtRtRtRtRtVt	R#)�TestResolverz�
TODO: These tests were written with a minimal understanding
of what _resolve_setup_path is intending to do. Come up with
more meaningful cases that look like real-world scenarios.
c�D�\P!RRR4R8XgQhR#)�.N�r�_resolve_setup_path�r3s&r
�test_resolve_setup_path_cwd�(TestResolver.test_resolve_setup_path_cwdis���*�*�3��S�9�S�@�@�@r9c�D�\P!RRR4R8XgQhR#)�pkgsrY�../NrZr\s&r
�test_resolve_setup_path_one_dir�,TestResolver.test_resolve_setup_path_one_dirls���*�*�6�3��?�5�H�H�Hr9c�D�\P!RRR4R8XgQhR#)zpkgs/rYr`raNrZr\s&r
�.test_resolve_setup_path_one_dir_trailing_slash�;TestResolver.test_resolve_setup_path_one_dir_trailing_slashos���*�*�7�C��@�E�I�I�Ir9rFN)
rGrHrIrJ�__doc__r]rbrerRrSrTs@r
rWrWbs"�����A�I�J�Jr9rWc�a�]tRt^sto]R4t]PP]	!]
PPR44RR7]PP]
P!4R8HRR7R44tRtVtR	#)
�TestNamespacesc	�J�\PRRR\V4.pVP4;_uu_4\	\V4.4;_uu_4\
P!V4RRR4RRR4R# +'giL;i +'giR#;i)rrz
--install-dirN)rL�
executable�strrr�
subprocess�
check_call)�src_dirr�develop_cmds&& r
�install_develop�TestNamespaces.install_developtsp��
�N�N������K�
���^�^�
�
�$�c�&�k�]�3�3��%�%�k�2�4��
�3�3���
�
�s#�B�A>	�,B�>B
�	B�B"	�APPVEYORz-https://github.com/pypa/setuptools/issues/851r:�PyPyz.https://github.com/pypa/setuptools/issues/1202c	���\P!VR4p\P!VR4pVR,p\PRRR\	V4R\	V4.p\
P!V4VPW44\P!V4\PRR	.p\\	V4.4;_uu_4\
P!V4R
R
R
4\PRR.p\\	V4.4;_uu_4\
P!V4R
R
R
4R
# +'giLa;i +'giR
#;i)z�
Installing two packages sharing the same namespace, one installed
naturally using pip or `--single-version-externally-managed`
and the other installed using `develop` should leave the namespace
in tact and both packages reachable by import.
z	myns.pkgAz	myns.pkgBr)z-m�pip�installz-tz-cz"import myns.pkgA; import myns.pkgBNzimport pkg_resources)
r�build_namespace_packagerLrkrlrmrnrq�
make_site_dirr)r3r�pkg_A�pkg_Br�install_cmd�
try_import�pkg_resources_imps&&      r
�!test_namespace_package_importable�0TestNamespaces.test_namespace_package_importable�s���2�2�6�;�G���2�2�6�;�G���*�$��
�N�N������J����K�
��	���k�*����U�+�� � ��(��N�N��0�
�
�
!�#�f�+��
/�
/��!�!�*�-�0�

�N�N��"�
��
!�#�f�+��
/�
/��!�!�"3�4�0�
/�0�
/��0�
/�
/�s�D>�E�>E	�E"	rFN)rGrHrIrJ�staticmethodrqr,rP�skipif�bool�os�environ�get�platform�python_implementationrrRrSrTs@r
ririss������
3��
3��[�[����R�Z�Z�^�^�J�
'�(�>����[�[����&�&�(�F�2�?���&5�	�	�&5r9ri)rgr�r>r�rmrLr,�setuptools._pathr�setuptools.command.developr�setuptools.distr�rrrr�fixturerr!r#rWrirFr9r
�<module>r�s����	����
�
�0�.�(�"�����������������)/�)/�XJ�J�"<5�<5r9

Youez - 2016 - github.com/yon3zu
LinuXploit