HEX

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit - prohibited by configuration in /home/u547966/brikov.ru/www/wp-content/plugins/admin-menu-editor/menu-editor.php on line 745
Server: Apache
System: Linux 4.19.0-0.bpo.9-amd64 x86_64 at red40
User: u547966 (5490)
PHP: 5.3.29-mh2
Disabled: syslog, dl, popen, proc_open, proc_nice, proc_get_status, proc_close, proc_terminate, posix_mkfifo, chown, chgrp, accelerator_reset, opcache_reset, accelerator_get_status, opcache_get_status, pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wifcontinued, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority
Upload Files
File: //usr/lib/python3.5/distutils/command/__pycache__/build_scripts.cpython-35.pyc


FaW@sdZddlZddlZddlmZddlmZddlmZddl	m
Z
ddlmZm
Z
ddlmZddlZejd	ZGd
ddeZGdd
d
ee
ZdS)zRdistutils.command.build_scripts

Implements the Distutils 'build_scripts' command.N)ST_MODE)	sysconfig)Command)newer)convert_path	Mixin2to3)logs^#!.*python[0-9.]*([ 	].*)?$c@sjeZdZdZdddgZdgZddZd
dZddZddZ	ddZ
dS)
build_scriptsz("build" scripts (copy and fixup #! line)
build-dir=ddirectory to "build" (copy) toforcef1forcibly build everything (ignore file timestampsexecutable=e*specify final destination interpreter pathcCs1d|_d|_d|_d|_d|_dS)N)	build_dirscriptsr

executableoutfiles)selfr5/usr/lib/python3.5/distutils/command/build_scripts.pyinitialize_optionss
				z build_scripts.initialize_optionscCs)|jdddd|jj|_dS)	NZbuildr	rr
r)r	r)r
r
)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|jdS)N)rcopy_scripts)rrrrrun/s	zbuild_scripts.runc"Cs|j|jg}g}x|jD]}d}t|}tjj|jtjj|}|j||j	rt
||rtjd|q&yt
|d}Wn$tk
r|jsd}Yn|Xtj|j\}}|jd|j}	|	s!|jd|q&tj|	}
|
rQd}|
jdpNd	}|rtjd
||j|j||jstjs|j}n:tjjtjddtjd
tjdf}tj|}d||d}
y|
jdWn'tk
r-t dj!|
YnXy|
j|Wn*tk
rkt dj!|
|YnXt
|d'}|j"|
|j#|j$WdQRX|r|j%q&|r|j%|j||j&||q&Wtj'dkr|x|D]y}|jr!tjd|qtj(|t)d@}|dBd@}||krtjd|||tj*||qW||fS)a"Copy each script listed in 'self.scripts'; if it's marked as a
        Python script in the Unix way (first line matches 'first_line_re',
        ie. starts with "\#!" and contains "python"), then adjust the first
        line to refer to the current Python interpreter as we copy.
        Fznot copying %s (up-to-date)rbNrz%s is an empty file (skipping)Tzcopying and adjusting %s -> %sZBINDIRz
python%s%sZVERSIONZEXEs#!s
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)+Zmkpathrrrospathjoinbasenameappendr
rrdebugopenOSErrordry_runtokenizedetect_encodingreadlineseekwarn
first_line_rematchgroupinforZpython_buildrZget_config_varfsencodedecodeUnicodeDecodeError
ValueErrorformatwrite
writelines	readlinescloseZ	copy_filenamestatrchmod)rr
updated_filesZscriptZadjustZoutfilerencodinglinesZ
first_liner3Zpost_interprZshebangZoutffileZoldmodeZnewmoderrrr5s$

	


			






		
zbuild_scripts.copy_scriptsN)r
rr)r
rr)rrr)__name__
__module____qualname__ZdescriptionZuser_optionsZboolean_optionsrrrrrrrrrr	s		r	c@seZdZddZdS)build_scripts_2to3cCs5tj|\}}|js+|j|||fS)N)r	rr,Zrun_2to3)rrrBrrrrs	
zbuild_scripts_2to3.copy_scriptsN)rFrGrHrrrrrrIsrI)__doc__r$rer@rZ	distutilsrZdistutils.corerZdistutils.dep_utilrZdistutils.utilrrrr-compiler2r	rIrrrr<module>s