+
    SBii                     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   &&&   J/usr/lib/python3.14/site-packages/setuptools/tests/test_install_scripts.py_run_install_scripts'TestInstallScripts._run_install_scripts   ss    DMM*%d#%!**?;B&M^^GGI 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_unix4TestInstallScripts.test_sys_executable_escaping_unix#   s     b),dmm<]]__%%c&k2c&++e,-sW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_win325TestInstallScripts.test_sys_executable_escaping_win321   s     (,,dnn=]]__%%c&k2c&++o67wOOST 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&k43G3GHc&++e,-sW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_win325TestInstallScripts.test_executable_arg_escaping_win32M   s     (,]]__%%c&k33G#3MNc&++o67wOOST 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
 7H6OLI
 [[/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   