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/__pycache__/zipapp.cpython-35.pyc


Fa@sddlZddlZddlZddlZddlZddlZddlZdddgZdZej	j
drdZnejZGddde
Zejd	d
ZddZdd
dZdddddZddZdddZedkredS)NZipAppErrorcreate_archiveget_interpreterz8# -*- coding: utf-8 -*-
import {module}
{module}.{fn}()
winzutf-8c@seZdZdS)rN)__name__
__module____qualname__r	r	/usr/lib/python3.5/zipapp.pyr!sc	csWt|tjrt|}t|trNt||}|VWdQRXn|VdS)N)
isinstancepathlibPathstropen)archivemodefr	r	r
_maybe_open%srcCs.|r*d|jtd}|j|dS)zWrite a shebang line.s#!s
N)encodeshebang_encodingwrite)rinterpreterZshebangr	r	r
_write_file_prefix0srcCst|du}|jd}|dkr=d}|jt|d1}t|||j|tj||WdQRXWdQRX|rt|trt	j
|t	j|jtj
BdS)z8Copy an application archive, modifying the shebang line.rbs#!wbN)rreadreadlinerrshutilZcopyfileobjrroschmodstatst_modeS_IEXEC)rZnew_archiversrcZfirst_2Zdstr	r	r

_copy_archive7s


r&cCsd}t|dr-t|dr-d}n!tj|}|jrNd}|rht|||dS|jstd|dj}|r|rtd|p|std	d}|rh|jd
\}}}	tdd|j	d
D}
tdd|	j	d
D}|d
ko=|
o=|sPtd|t
jd|d|	}|dkr|jd}nt|dstj|}t
|d}t||tj|dz}
tj|}xB|jdD]1}t|j|}|
jt||qW|rK|
jd|jdWdQRXWdQRX|rt|dr|j|jjtjBdS)abCreate an application archive from SOURCE.

    The SOURCE can be the name of a directory, or a filename or a file-like
    object referring to an existing archive.

    The content of SOURCE is packed into an application archive in TARGET,
    which can be a filename or a file-like object.  If SOURCE is a directory,
    TARGET can be omitted and will default to the name of SOURCE with .pyz
    appended.

    The created application archive will have a shebang line specifying
    that it should run with INTERPRETER (there will be no shebang line if
    INTERPRETER is None), and a __main__.py which runs MAIN (if MAIN is
    not specified, an existing __main__.py will be used).  It is an error
    to specify MAIN for anything other than a directory source with no
    __main__.py, and it is an error to omit MAIN if the directory has no
    __main__.py.
    FrrTNzSource does not existz__main__.pyz8Cannot specify entry point if the source has __main__.pyzArchive has no entry point:css|]}|jVqdS)N)isidentifier).0partr	r	r
	<genexpr>|sz!create_archive.<locals>.<genexpr>.css|]}|jVqdS)N)r()r)r*r	r	r
r+}szInvalid entry point: modulefnz.pyzrrw*zutf-8)hasattrrr
is_filer&existsr	partitionallsplit
MAIN_TEMPLATEformatZwith_suffixrrzipfileZZipFileZrglobrZrelative_torZwritestrrr!r"r#r$)sourcetargetrmainZsource_is_fileZhas_mainZmain_pymodsepr.Zmod_okZfn_okfdzrootZchildZarcnamer	r	r
rNsP		""
'c	CsKt|d5}|jddkr@|jjjtSWdQRXdS)Nrrs#!)rrrstripdecoder)rrr	r	r
rscCsddl}|j}|jdddddd|jdd	dddd
|jdddddd
|jddddddd|jddd|j|}|jrtjj|jst	dt
|j}tdj|pdt
jdtjj|jr|jdks`tjj|jrltjj|j|jrlt	d|jrt	dt|j|jd|jd|jdS)zRun the zipapp command line interface.

    The ARGS parameter lets you specify the argument list directly.
    Omitting ARGS (or setting it to None) works as for argparse, using
    sys.argv[1:] as the argument list.
    rNz--outputz-odefaulthelpzAThe name of the output archive. Required if SOURCE is an archive.z--pythonz-pzEThe name of the Python interpreter to use (default: no shebang line).z--mainz-mzLThe main function of the application (default: use an existing __main__.py).z--infoFaction
store_truez)Display the interpreter from the archive.r:z'Source directory (or existing archive).z%Can only get info for an archive filezInterpreter: {}z<none>z-In-place editing of archives is not supportedz,Cannot change the main function when copyingrr<)argparseArgumentParseradd_argument
parse_argsinfor pathisfiler:
SystemExitrprintr8sysexitoutputr3samefiler<rZpython)argsrHparserrr	r	r
r<s6	
$	r<__main__)
contextlibr rrr"rQr9__all__r7platform
startswithrgetfilesystemencoding
ValueErrorrcontextmanagerrrr&rrr<rr	r	r	r
<module>s(	G-