§ w<ˆji ãóX—dZddlZddlZddlmZddlmZddlmZGd„d¦«Z dS) zinstall_scripts testséN)Úinstall_scripts)Ú Distributioné)Úcontextscó´—eZdZedddgid¬¦«ZdZdZdZdd „Ze j   e j d kd ¬ ¦«d„¦«Ze j   e j d kd¬ ¦«d„¦«Ze j   e j d kd ¬ ¦«d„¦«Ze j   e j d kd¬ ¦«d„¦«Zd S)ÚTestInstallScriptsÚfooÚconsole_scriptsz foo=foo:fooz0.0)ÚnameÚ entry_pointsÚversionz%/usr/dummy-test-path/local/bin/pythonz/usr/bin/env dummy-test-pythonz6C:\Dummy Test Path\Program Files\Python 3.6\python.exeNcóL—t|j¦«}d|_t|¦«}||_|�| d¦«}||_| ¦«tj ¦«5|  ¦«ddd¦«dS#1swxYwYdS)Nzsetup.pyÚ build_scripts) rÚsettingsÚ script_namerÚ install_dirÚget_finalized_commandÚ executableÚensure_finalizedrÚquietÚrun)ÚselfrrÚdistÚcmdÚbss úw/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/setuptools/tests/test_install_scripts.pyÚ_run_install_scriptsz'TestInstallScripts._run_install_scriptssހݘDœMÑ*Ô*ˆØ%ˆÔݘdÑ#Ô#ˆØ%ˆŒØ Ð !Ø×*Ò*¨?Ñ;Ô;ˆBØ&ˆBŒMØ ×ÒÑÔÐÝ Œ^Ñ Ô ð ð Ø �GŠG‰IŒIˆIð ð ð ñ ô ð ð ð ð ð ð ð øøøð ð ð ð ð ð sÁ7BÂB BÚwin32znon-Windows only)Úreasoncóº—d|j›d�}| d|j¦«| ¦«5| t |¦«¦«t t | d¦«¦«dd¬¦«5}| ¦«}ddd¦«n #1swxYwYddd¦«n #1swxYwY||ksJ‚dS) zt Ensure that shebang is not quoted on Unix when getting the Python exe from sys.executable. ú#!ú úsys.executabler Úrúutf-8©ÚencodingN)Úunix_exeÚsetattrÚas_cwdrÚstrÚopenÚjoinÚreadline©rÚtmpdirÚ monkeypatchÚexpectedÚfÚactuals rÚ!test_sys_executable_escaping_unixz4TestInstallScripts.test_sys_executable_escaping_unix#sM€ð *˜œ Ð)Ð)Ð)ˆØ×ÒÐ,¨d¬mÑ<Ô<Ð<Ø �]Š]‰_Œ_ð &ð &Ø × %Ò %¥c¨&¡k¤kÑ 2Ô 2Ð 2Ý•c˜&Ÿ+š+ eÑ,Ô,Ñ-Ô-¨s¸WÐEÑEÔEð &ÈØŸš™œ�ð &ð &ð &ñ &ô &ð &ð &ð &ð &ð &ð &øøøð &ð &ð &ð &ð &ð &ð &ñ &ô &ð &ð &ð &ð &ð &ð &øøøð &ð &ð &ð &ð˜Ò!Ð!Ð!Ð!Ð!Ð!ó6»ACÂB1Â% CÂ1B5 Â5CÂ8B5 Â9CÃC ÃC z Windows onlycóº—d|j›d�}| d|j¦«| ¦«5| t |¦«¦«t t | d¦«¦«dd¬¦«5}| ¦«}ddd¦«n #1swxYwYddd¦«n #1swxYwY||ksJ‚dS) z‹ Ensure that shebang is quoted on Windows when getting the Python exe from sys.executable and it contains a space. ú#!"ú" r#ú foo-script.pyr$r%r&N)Ú win32_exer)r*rr+r,r-r.r/s rÚ"test_sys_executable_escaping_win32z5TestInstallScripts.test_sys_executable_escaping_win321sN€ð -˜œÐ,Ð,Ð,ˆØ×ÒÐ,¨d¬nÑ=Ô=Ð=Ø �]Š]‰_Œ_ð &ð &Ø × %Ò %¥c¨&¡k¤kÑ 2Ô 2Ð 2Ý•c˜&Ÿ+š+ oÑ6Ô6Ñ7Ô7¸ÀwÐOÑOÔOð &ÐSTØŸš™œ�ð &ð &ð &ñ &ô &ð &ð &ð &ð &ð &ð &øøøð &ð &ð &ð &ð &ð &ð &ñ &ô &ð &ð &ð &ð &ð &ð &øøøð &ð &ð &ð &ð˜Ò!Ð!Ð!Ð!Ð!Ð!r6có�—d|j›d�}| ¦«5| t|¦«|j¦«t t| d¦«¦«dd¬¦«5}| ¦«}ddd¦«n #1swxYwYddd¦«n #1swxYwY||ksJ‚dS)z‹ Ensure that shebang on Unix is not quoted, even when a value with spaces is specified using --executable. r!r"r r$r%r&N)Úunix_spaces_exer*rr+r,r-r.©rr0r2r3r4s rÚ)test_executable_with_spaces_escaping_unixzr;rÚpytestÚmarkÚskipifÚsysÚplatformr5r<r@rC©órrr sE€€€€€ØˆtØ Ø'¨-¨Ð9Øðñô€Hð 7€HØ6€OØL€Ið ð ð ð ð „[×Ò˜œ ¨Ò/Ð8JÐÑKÔKð "ð "ñLÔKð "ð „[×Ò˜œ ¨Ò/¸ÐÑGÔGð "ð "ñHÔGð "ð „[×Ò˜œ ¨Ò/Ð8JÐÑKÔKð "ð "ñLÔKð "ð „[×Ò˜œ ¨Ò/¸ÐÑGÔGð "ð "ñHÔGð "ð "ð "rNr) Ú__doc__rKrHÚ"setuptools.command.install_scriptsrÚsetuptools.distrÚrrrMrNrúrSs�ðØÐà € € € à € € € à>Ð>Ð>Ð>Ð>Ð>Ø(Ð(Ð(Ð(Ð(Ð(àÐÐÐÐÐðL"ðL"ðL"ðL"ðL"ñL"ôL"ðL"ðL"ðL"rN