+
    êhi  ã                   óR   € R t ^ RIt^ RIt^ RIHt ^ RIHt ^RIHt  ! R R4      t	R# )zinstall_scripts testsN)Úinstall_scripts)ÚDistribution)Úcontextsc                   óÒ  a € ] tR t^t o ]! RRR./RR7      tRtRtRtRR
 lt	]
P                  P                  ]P                  R8H  RR7      R 4       t]
P                  P                  ]P                  R8g  RR7      R 4       t]
P                  P                  ]P                  R8H  RR7      R 4       t]
P                  P                  ]P                  R8g  RR7      R 4       tRtV tR	# )ÚTestInstallScriptsÚfooÚconsole_scriptszfoo=foo:fooz0.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                óJ  € \        V P                  4      pR Vn        \        V4      pWn        Ve   VP                  R4      pW%n        VP                  4        \        P                  ! 4       ;_uu_ 4        VP                  4        RRR4       R#   + '       g   i     R# ; i)zsetup.pyNÚbuild_scripts)r   ÚsettingsÚscript_namer   Úinstall_dirÚget_finalized_commandÚ
executableÚensure_finalizedr   ÚquietÚrun)Úselfr   r   ÚdistÚcmdÚbss   &&&   ÚG/usr/lib/python3/dist-packages/setuptools/tests/test_install_scripts.pyÚ_run_install_scriptsÚ'TestInstallScripts._run_install_scripts   ss   € Ü˜DŸM™MÓ*ˆØ%ˆÔÜ˜dÓ#ˆØ%ŒØÒ!Ø×*Ñ*¨?Ó;ˆBØ&ŒMØ×ÑÔÜ�^Š^×ÕØ�G‰GŒI÷ ××Òús   Á6BÂB"	Úwin32znon-Windows only)Úreasonc           	     óÀ  € RV P                    R2pVP                  RV P                   4       VP                  4       ;_uu_ 4        V P                  \	        V4      4       \        \	        VP                  R4      4      RRR7      ;_uu_ 4       pVP                  4       pRRR4       RRR4       XV8X  g   Q hR#   + '       g   i     L#; i  + '       g   i     L.; i)	z\
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_unixÚ4TestInstallScripts.test_sys_executable_escaping_unix#   sŸ   € ð ˜Ÿ™� bÐ)ˆØ×ÑÐ,¨d¯m©mÔ<Ø�]‰]�_�_Ø×%Ñ%¤c¨&£kÔ2Ü”c˜&Ÿ+™+ eÓ,Ó-¨s¸W×EÕEÈØŸ™›�÷ F÷ ð ˜Ô!Ð!Ò!÷ F×Eú÷ �_úó%   ÁA	CÂB:	ÂCÂ:C
ÃCÃC	zWindows onlyc           	     óÀ  € RV P                    R2pVP                  RV P                   4       VP                  4       ;_uu_ 4        V P                  \	        V4      4       \        \	        VP                  R4      4      RRR7      ;_uu_ 4       pVP                  4       pRRR4       RRR4       XV8X  g   Q hR#   + '       g   i     L#; i  + '       g   i     L.; i)	zs
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)   r   r*   r+   r,   r-   r.   s   &&&   r   Ú"test_sys_executable_escaping_win32Ú5TestInstallScripts.test_sys_executable_escaping_win321   s¡   € ð ˜Ÿ™Ð(¨Ð,ˆØ×ÑÐ,¨d¯n©nÔ=Ø�]‰]�_�_Ø×%Ñ%¤c¨&£kÔ2Ü”c˜&Ÿ+™+ oÓ6Ó7¸Àw×OÕOÐSTØŸ™›�÷ P÷ ð ˜Ô!Ð!Ò!÷ P×Oú÷ �_úr6   c           	     óž  € RV P                    R2pVP                  4       ;_uu_ 4        V P                  \        V4      V P                   4       \	        \        VP                  R4      4      RRR7      ;_uu_ 4       pVP                  4       pRRR4       RRR4       XV8X  g   Q hR#   + '       g   i     L#; i  + '       g   i     L.; i)zk
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)   r   r*   r+   r,   r-   ©r   r/   r1   r2   r3   s   &&   r   Ú)test_executable_with_spaces_escaping_unixÚ<TestInstallScripts.test_executable_with_spaces_escaping_unix?   s•   € ð ˜×,Ñ,Ð-¨RÐ0ˆØ�]‰]�_�_Ø×%Ñ%¤c¨&£k°4×3GÑ3GÔHÜ”c˜&Ÿ+™+ eÓ,Ó-¨s¸W×EÕEÈØŸ™›�÷ F÷ ð ˜Ô!Ð!Ò!÷ F×Eú÷ �_ús$   ©AB<Á=B)	ÂB<Â)B9Â4B<Â<C	c           	     óº  € RV P                    R2pVP                  4       ;_uu_ 4        V P                  \        V4      RV P                   ,           R,           4       \	        \        VP                  R4      4      RRR7      ;_uu_ 4       pVP                  4       pRRR4       RRR4       XV8X  g   Q hR#   + '       g   i     L#; i  + '       g   i     L.; i)	z}
Ensure that shebang on Windows is quoted when
getting a path with spaces
from --executable, that is itself properly quoted.
r8   r9   Ú"r:   r#   r$   r%   N)r;   r)   r   r*   r+   r,   r-   r@   s   &&   r   Ú"test_executable_arg_escaping_win32Ú5TestInstallScripts.test_executable_arg_escaping_win32M   sœ   € ð ˜Ÿ™Ð(¨Ð,ˆØ�]‰]�_�_Ø×%Ñ%¤c¨&£k°3¸¿¹Õ3GÈ#Õ3MÔNÜ”c˜&Ÿ+™+ oÓ6Ó7¸Àw×OÕOÐSTØŸ™›�÷ P÷ ð ˜Ô!Ð!Ò!÷ P×Oú÷ �_ús$   ©A"C
ÂB7	ÂC
Â7CÃC
Ã
C	© )N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Údictr   r'   r?   r;   r   ÚpytestÚmarkÚskipifÚsysÚplatformr4   r<   rA   rE   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r   r   r      sÿ   ø‡ € ÙØØ'¨-¨Ð9Øô€Hð
 7€HØ6€OØL€Iô
ð ‡[�[×Ñ˜Ÿ™¨Ñ/Ð8JÐÓKñ"ó Lð"ð ‡[�[×Ñ˜Ÿ™¨Ñ/¸ÐÓGñ"ó Hð"ð ‡[�[×Ñ˜Ÿ™¨Ñ/Ð8JÐÓKñ"ó Lð"ð ‡[�[×Ñ˜Ÿ™¨Ñ/¸ÐÓGñ"ó Hö"ó    r   )
Ú__doc__rP   rM   Ú"setuptools.command.install_scriptsr   Úsetuptools.distr   Ú r   r   rG   rU   r   Ú<module>rZ      s#   ðÙ ã 
ã å >Ý (å ÷L"ó L"rU   