a0biSrSSKrSSKrSSKJr SSKJr SSKJr SSK J r SSK J r SS K Jr SSKr\R "S 5r\r"S S \5rg) zRdistutils.command.build_scripts Implements the Distutils 'build_scripts' command.N)ST_MODE) sysconfig)Command)newer) convert_path)logz^#!.*python[0-9.]*([ ].*)?$cf\rSrSrSr/SQrS/rSrSrSr Sr S r S r S r S r\S 5rSrg) build_scriptsz("build" scripts (copy and fixup #! line)))z build-dir=dzdirectory to "build" (copy) to)forcefz1forcibly build everything (ignore file timestamps)z executable=ez*specify final destination interpreter pathrc<SUlSUlSUlSUlgN) build_dirscriptsr executableselfs ڤ/builddir/build/BUILDROOT/alt-python313-setuptools-69.0.2-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/setuptools/_distutils/command/build_scripts.pyinitialize_options build_scripts.initialize_options#s  cbURSSSS5 URRUlg)Nbuild)r r)rr)rr)set_undefined_options distributionrrs rfinalize_optionsbuild_scripts.finalize_options)s1 ""  *  (  ((00 rcUR$r)rrs rget_source_filesbuild_scripts.get_source_files2s ||rcHUR(dgUR5 gr)r copy_scriptsrs rrunbuild_scripts.run5s||  rcURUR5 /n/nURHnURX1U5 M UR U5 X4$)a Copy each script listed in ``self.scripts``. If a script is marked as a Python script (first line matches 'shebang_pattern', i.e. starts with ``#!`` and contains "python"), then adjust in the copy the first line to refer to the current Python interpreter. )mkpathrr _copy_script _change_modes)routfiles updated_filesscripts rr&build_scripts.copy_scripts:sU DNN# llF   f ># 8$&&rcSn[U5n[RRUR[RR U55nUR U5 UR(d([X5(d[R"SU5 g[R"U5nUR5nU(dURSU-5 g[R!U5nUR U5 U(Ga_[R&"SXR5 UR$(Gd[(R*(d UR,nOc[RR[(R."S5S[(R."S5<[(R."S5<35nUR1S5=(d S n S U-U -S -n UR3XR45 [US UR4S 9n U R7U 5 U R9UR;55 SSS5 U(aUR=5 ggU(aUR=5 UR?X5 g!["a UR$(deSnGNf=f!,(df  Nu=f)Nznot copying %s (up-to-date)z%s is an empty file (skipping)zcopying and adjusting %s -> %sBINDIRpythonVERSIONEXEz#! w)encoding) rospathjoinrbasenameappendrrr debugtokenizeopenreadlinewarnshebang_patternmatchOSErrordry_runinfor python_buildrget_config_vargroup_validate_shebangr:write writelines readlinesclose copy_file) rr/r-r. shebang_matchoutfiler first_liner post_interpshebangoutfs rr+build_scripts._copy_scriptMs f%'',,t~~rww/?/?/GH zz%"8"8 II3V <  > f%A J :VCD+11*=MW%  HH5v~~ N<<< --!%J!#!00:&44Y?%44U;"J,11!4: +k9D@&&w ;'3<JJw'OOAKKM2=  NN6 +M <<A <=KL iO 1 '&4,l$ $rr )__doc__r;rerar distutilsrcorer _modifiedrutilrdistutils._logr rAcompilerE first_line_rer rurrrsP5 **<=  TGTr