File "build_scripts.cpython-37.opt-2.pyc"

Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/opt/alt/python37/lib64/python3.7/distutils/command/__pycache__/build_scripts.cpython-37.opt-2.pyc
File size: 3.8 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit

B

YI~dX@sddlZddlZddlmZddlmZddlmZddlm	Z	ddl
mZmZddlm
Z
ddlZedZGd	d
d
eZGdddeeZdS)
N)ST_MODE)	sysconfig)Command)newer)convert_path	Mixin2to3)logs^#!.*python[0-9.]*([ 	].*)?$c@sHeZdZdZdddgZdgZddZdd	Zd
dZdd
Z	ddZ
dS)
build_scriptsz("build" scripts (copy and fixup #! line))z
build-dir=dzdirectory to "build" (copy) to)forcefz1forcibly build everything (ignore file timestamps)zexecutable=ez*specify final destination interpreter pathrcCs"d|_d|_d|_d|_d|_dS)N)	build_dirscriptsr
executableoutfiles)selfrD/opt/alt/python37/lib64/python3.7/distutils/command/build_scripts.pyinitialize_optionss
z build_scripts.initialize_optionscCs|dddd|jj|_dS)NZbuild)r	r)rr)rr)Zset_undefined_optionsZdistributionr)rrrrfinalize_options%s
zbuild_scripts.finalize_optionscCs|jS)N)r)rrrrget_source_files,szbuild_scripts.get_source_filescCs|js
dS|dS)N)rcopy_scripts)rrrrrun/szbuild_scripts.runc
Cs||jg}g}x(|jD]}d}t|}tj|jtj|}|||j	spt
||sptd|qyt
|d}Wn tk
r|jsd}YnXXt|j\}}|d|}	|	s|d|qt|	}
|
rd}|
dpd}|rtd	||j|||jstjs.|j}n(tjtd
dtdtd
f}t|}d||d}
y|
dWn$tk
rt d!|
YnXy|
|Wn&tk
rt d!|
|YnXt
|d}|"|
|#|$WdQRX|r<|%q|r&|%|||&||qWtj'dkrxh|D]`}|jrltd|nDt(|t)d@}|dBd@}||krRtd|||t*||qRW||fS)NFznot copying %s (up-to-date)rbrz%s is an empty file (skipping)Tzcopying and adjusting %s -> %sZBINDIRz
python%s%sZVERSIONZEXEs#!
zutf-8z.The shebang ({!r}) is not decodable from utf-8zAThe shebang ({!r}) is not decodable from the script encoding ({})wbposixzchanging mode of %siimz!changing mode of %s from %o to %o)+ZmkpathrrrospathjoinbasenameappendrrrdebugopenOSErrordry_runtokenizedetect_encodingreadlineseekwarn
first_line_rematchgroupinforZpython_buildrZget_config_varfsencodedecodeUnicodeDecodeError
ValueErrorformatwrite
writelines	readlinescloseZ	copy_filenamestatrchmod)rr
updated_filesZscriptZadjustZoutfilerencodinglinesZ
first_liner/Zpost_interprZshebangZoutffileZoldmodeZnewmoderrrr5s












zbuild_scripts.copy_scriptsN)__name__
__module____qualname__descriptionZuser_optionsZboolean_optionsrrrrrrrrrr	sr	c@seZdZddZdS)build_scripts_2to3cCs&t|\}}|js||||fS)N)r	rr(Zrun_2to3)rrr>rrrrs
zbuild_scripts_2to3.copy_scriptsN)rBrCrDrrrrrrFsrF)r rer<rZ	distutilsrZdistutils.corerZdistutils.dep_utilrZdistutils.utilrrrr)compiler.r	rFrrrr<module>s