SILENT KILLERPanel

Current Path: > > opt > alt > python35 > lib64 > python3.5 > distutils > __pycache__


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/alt/python35/lib64/python3.5/distutils/__pycache__

NameTypeSizeLast ModifiedActions
__init__.cpython-35.opt-1.pyc File 406 bytes May 31 2024 13:51:50.
__init__.cpython-35.opt-2.pyc File 212 bytes May 31 2024 13:51:29.
__init__.cpython-35.pyc File 406 bytes May 31 2024 13:51:55.
_msvccompiler.cpython-35.opt-1.pyc File 13499 bytes May 31 2024 13:51:50.
_msvccompiler.cpython-35.opt-2.pyc File 12673 bytes May 31 2024 13:51:29.
_msvccompiler.cpython-35.pyc File 13566 bytes May 31 2024 13:51:55.
archive_util.cpython-35.opt-1.pyc File 6804 bytes May 31 2024 13:51:50.
archive_util.cpython-35.opt-2.pyc File 4751 bytes May 31 2024 13:51:29.
archive_util.cpython-35.pyc File 6804 bytes May 31 2024 13:51:55.
bcppcompiler.cpython-35.opt-1.pyc File 7245 bytes May 31 2024 13:51:50.
bcppcompiler.cpython-35.opt-2.pyc File 6943 bytes May 31 2024 13:51:29.
bcppcompiler.cpython-35.pyc File 7245 bytes May 31 2024 13:51:55.
ccompiler.cpython-35.opt-1.pyc File 34636 bytes May 31 2024 13:51:50.
ccompiler.cpython-35.opt-2.pyc File 18272 bytes May 31 2024 13:51:29.
ccompiler.cpython-35.pyc File 34801 bytes May 31 2024 13:51:55.
cmd.cpython-35.opt-1.pyc File 15635 bytes May 31 2024 13:51:50.
cmd.cpython-35.opt-2.pyc File 9622 bytes May 31 2024 13:51:29.
cmd.cpython-35.pyc File 15635 bytes May 31 2024 13:51:55.
config.cpython-35.opt-1.pyc File 3802 bytes May 31 2024 13:51:50.
config.cpython-35.opt-2.pyc File 3396 bytes May 31 2024 13:51:29.
config.cpython-35.pyc File 3802 bytes May 31 2024 13:51:55.
core.cpython-35.opt-1.pyc File 7045 bytes May 31 2024 13:51:50.
core.cpython-35.opt-2.pyc File 3646 bytes May 31 2024 13:51:29.
core.cpython-35.pyc File 7045 bytes May 31 2024 13:51:55.
cygwinccompiler.cpython-35.opt-1.pyc File 9213 bytes May 31 2024 13:51:50.
cygwinccompiler.cpython-35.opt-2.pyc File 7567 bytes May 31 2024 13:51:29.
cygwinccompiler.cpython-35.pyc File 9213 bytes May 31 2024 13:51:55.
debug.cpython-35.opt-1.pyc File 211 bytes May 31 2024 13:51:50.
debug.cpython-35.opt-2.pyc File 201 bytes May 31 2024 13:51:29.
debug.cpython-35.pyc File 211 bytes May 31 2024 13:51:55.
dep_util.cpython-35.opt-1.pyc File 2853 bytes May 31 2024 13:51:50.
dep_util.cpython-35.opt-2.pyc File 1397 bytes May 31 2024 13:51:29.
dep_util.cpython-35.pyc File 2853 bytes May 31 2024 13:51:55.
dir_util.cpython-35.opt-1.pyc File 6195 bytes May 31 2024 13:51:50.
dir_util.cpython-35.opt-2.pyc File 3805 bytes May 31 2024 13:51:29.
dir_util.cpython-35.pyc File 6195 bytes May 31 2024 13:51:55.
dist.cpython-35.opt-1.pyc File 36452 bytes May 31 2024 13:51:50.
dist.cpython-35.opt-2.pyc File 27140 bytes May 31 2024 13:51:29.
dist.cpython-35.pyc File 36452 bytes May 31 2024 13:51:55.
errors.cpython-35.opt-1.pyc File 5717 bytes May 31 2024 13:51:50.
errors.cpython-35.opt-2.pyc File 3029 bytes May 31 2024 13:51:29.
errors.cpython-35.pyc File 5717 bytes May 31 2024 13:51:55.
extension.cpython-35.opt-1.pyc File 7404 bytes May 31 2024 13:51:50.
extension.cpython-35.opt-2.pyc File 3900 bytes May 31 2024 13:51:29.
extension.cpython-35.pyc File 7404 bytes May 31 2024 13:51:55.
fancy_getopt.cpython-35.opt-1.pyc File 11320 bytes May 31 2024 13:51:50.
fancy_getopt.cpython-35.opt-2.pyc File 8493 bytes May 31 2024 13:51:29.
fancy_getopt.cpython-35.pyc File 11491 bytes May 31 2024 13:51:55.
file_util.cpython-35.opt-1.pyc File 6296 bytes May 31 2024 13:51:50.
file_util.cpython-35.opt-2.pyc File 4147 bytes May 31 2024 13:51:29.
file_util.cpython-35.pyc File 6296 bytes May 31 2024 13:51:55.
filelist.cpython-35.opt-1.pyc File 10325 bytes May 31 2024 13:51:50.
filelist.cpython-35.opt-2.pyc File 7440 bytes May 31 2024 13:51:29.
filelist.cpython-35.pyc File 10325 bytes May 31 2024 13:51:55.
log.cpython-35.opt-1.pyc File 2478 bytes May 31 2024 13:51:50.
log.cpython-35.opt-2.pyc File 2405 bytes May 31 2024 13:51:29.
log.cpython-35.pyc File 2478 bytes May 31 2024 13:51:55.
msvc9compiler.cpython-35.opt-1.pyc File 19104 bytes May 31 2024 13:51:50.
msvc9compiler.cpython-35.opt-2.pyc File 17471 bytes May 31 2024 13:51:29.
msvc9compiler.cpython-35.pyc File 19171 bytes May 31 2024 13:51:55.
msvccompiler.cpython-35.opt-1.pyc File 15941 bytes May 31 2024 13:51:50.
msvccompiler.cpython-35.opt-2.pyc File 14348 bytes May 31 2024 13:51:29.
msvccompiler.cpython-35.pyc File 15941 bytes May 31 2024 13:51:55.
spawn.cpython-35.opt-1.pyc File 5367 bytes May 31 2024 13:51:50.
spawn.cpython-35.opt-2.pyc File 4051 bytes May 31 2024 13:51:29.
spawn.cpython-35.pyc File 5367 bytes May 31 2024 13:51:55.
sysconfig.cpython-35.opt-1.pyc File 13102 bytes May 31 2024 13:51:50.
sysconfig.cpython-35.opt-2.pyc File 9602 bytes May 31 2024 13:51:29.
sysconfig.cpython-35.pyc File 13102 bytes May 31 2024 13:51:55.
text_file.cpython-35.opt-1.pyc File 8892 bytes May 31 2024 13:51:50.
text_file.cpython-35.opt-2.pyc File 3776 bytes May 31 2024 13:51:29.
text_file.cpython-35.pyc File 8892 bytes May 31 2024 13:51:55.
unixccompiler.cpython-35.opt-1.pyc File 7605 bytes May 31 2024 13:51:50.
unixccompiler.cpython-35.opt-2.pyc File 6964 bytes May 31 2024 13:51:29.
unixccompiler.cpython-35.pyc File 7605 bytes May 31 2024 13:51:55.
util.cpython-35.opt-1.pyc File 16525 bytes May 31 2024 13:51:50.
util.cpython-35.opt-2.pyc File 10450 bytes May 31 2024 13:51:29.
util.cpython-35.pyc File 16525 bytes May 31 2024 13:51:55.
version.cpython-35.opt-1.pyc File 7722 bytes May 31 2024 13:51:50.
version.cpython-35.opt-2.pyc File 4419 bytes May 31 2024 13:51:29.
version.cpython-35.pyc File 7773 bytes May 31 2024 13:51:55.
versionpredicate.cpython-35.opt-1.pyc File 5369 bytes May 31 2024 13:51:50.
versionpredicate.cpython-35.opt-2.pyc File 2875 bytes May 31 2024 13:51:29.
versionpredicate.cpython-35.pyc File 5369 bytes May 31 2024 13:51:55.

Reading File: //opt/alt/python35/lib64/python3.5/distutils/__pycache__/util.cpython-35.opt-1.pyc



��Yf�P�	@s�dZddlZddlZddlZddlZddlZddlmZddl	m
Z
ddlmZddl
mZddlmZdd	�Zd
d�Zdd
�Zdadd�Zdd�Zddd�Zdaaadd�Zdd�Zddddd�Zdd�Zddddddddd�Zd d!�Zdddd"d#�Z ddddd$d%�Z!Gd&d'�d'�Z"dS)(zudistutils.util

Miscellaneous utility functions -- anything that doesn't fit into
one of the other *util.py modules.
�N)�DistutilsPlatformError)�newer)�spawn)�log)�DistutilsByteCompileErrorcCs�tjdkr�d}tjj|�}|d*kr:tjStjjd|�}tj|t|�|�j�}|dkr�dS|dkr�dStjSd	tjkr�tjd	Stjd
ks�t	td�r�tjStj
�\}}}}}|j�jdd
�}|jdd�}|jdd�}|dd�dkrTd||fS|dd�dkr�|ddkr�d}dt|d�d|dd�f}ddddi}	|d |	tj
7}n�|dd!�d"kr�d||fS|dd�d#krd$|||fS|dd%�d&krrd&}tjd'tj�}
|
j|�}|r�|j�}nX|dd%�d(kr�ddl}ddl}
|j|
jj�|||�\}}}d)|||fS)+a�Return a string that identifies the current platform.  This is used
    mainly to distinguish platform-specific build directories and
    platform-specific built distributions.  Typically includes the OS name
    and version and the architecture (as supplied by 'os.uname()'),
    although the exact information included depends on the OS; eg. for IRIX
    the architecture isn't particularly important (IRIX only runs on SGI
    hardware), but for Linux the kernel version isn't particularly
    important.

    Examples of returned values:
       linux-i586
       linux-alpha (?)
       solaris-2.6-sun4u
       irix-5.3
       irix64-6.2

    Windows will return one of:
       win-amd64 (64bit Windows on AMD64 (aka x86_64, Intel64, EM64T, etc)
       win-ia64 (64bit Windows on Itanium)
       win32 (all others - specifically, sys.platform is returned)

    For other non-POSIX platforms, currently just returns 'sys.platform'.
    �ntz bit (��)�amd64z	win-amd64�itaniumzwin-ia64�_PYTHON_HOST_PLATFORM�posix�uname�/�� �_�-N��linuxz%s-%s�sunosr�5�solarisz%d.%s��i����32bitl�����64bitz.%s��irix�aixz%s-%s.%s��cygwinz[\d.]+�darwinz%s-%s-%s���)�os�name�sys�version�find�platform�len�lower�environ�hasattrr�replace�int�maxsize�re�compile�ASCII�match�group�_osx_supportZdistutils.sysconfig�get_platform_osx�	sysconfig�get_config_vars)�prefix�i�j�look�osname�host�releaser'�machine�bitness�rel_re�mr6�	distutils�rF�3/opt/alt/python35/lib64/python3.5/distutils/util.py�get_platformsX#(rHcCs�tjdkr|S|s|S|ddkr=td|��|ddkr]td|��|jd�}xd|kr�|jd�qoW|s�tjStjj|�S)a�Return 'pathname' as a name that will work on the native filesystem,
    i.e. split it on '/' and put it back together again using the current
    directory separator.  Needed because filenames in the setup script are
    always supplied in Unix style, and have to be converted to the local
    convention before we can actually use them in the filesystem.  Raises
    ValueError on non-Unix-ish systems if 'pathname' either starts or
    ends with a slash.
    rrzpath '%s' cannot be absoluterzpath '%s' cannot end with '/'�.r#)r$�sep�
ValueError�split�remove�curdir�path�join)�pathname�pathsrFrFrG�convert_pathos	rScCs�tjdkrTtjj|�s4tjj||�Stjj||dd��Snmtjdkr�tjj|�\}}|ddkr�|dd�}tjj||�Stdtj��dS)a	Return 'pathname' with 'new_root' prepended.  If 'pathname' is
    relative, this is equivalent to "os.path.join(new_root,pathname)".
    Otherwise, it requires making 'pathname' relative and then joining the
    two, which is tricky on DOS/Windows and Mac OS.
    r
rNrr�\z!nothing known about platform '%s')r$r%rO�isabsrP�
splitdriver)Znew_rootrQZdriverOrFrFrG�change_root�s rWcCs}tr
dStjdkrTdtjkrTddl}|jtj��dtjd<dtjkrst�tjd<dadS)aLEnsure that 'os.environ' has all the environment variables we
    guarantee that users can use in config files, command-line options,
    etc.  Currently this includes:
      HOME - user's home directory (Unix only)
      PLAT - description of the current platform, including hardware
             and OS (see 'get_platform()')
    Nr
�HOMErrZPLATr)�_environ_checkedr$r%r,�pwd�getpwuid�getuidrH)rZrFrFrG�
check_environ�s	 r]cCsit�|dd�}ytjd||�SWn5tk
rd}ztd|��WYdd}~XnXdS)a�Perform shell/Perl-style variable substitution on 'string'.  Every
    occurrence of '$' followed by a name is considered a variable, and
    variable is substituted by the value found in the 'local_vars'
    dictionary, or in 'os.environ' if it's not in 'local_vars'.
    'os.environ' is first checked/augmented to guarantee that it contains
    certain values: see 'check_environ()'.  Raise ValueError for any
    variables not found in either 'local_vars' or 'os.environ'.
    cSs8|jd�}||kr)t||�Stj|SdS)Nr)r5�strr$r,)r4�
local_varsZvar_namerFrFrG�_subst�szsubst_vars.<locals>._substz\$([a-zA-Z_][a-zA-Z_0-9]*)zinvalid variable '$%s'N)r]r1�sub�KeyErrorrK)�sr_r`�varrFrFrG�
subst_vars�s	rezerror: cCs|t|�S)N)r^)�excr:rFrFrG�grok_environment_error�srgcCs8tjdtj�atjd�atjd�adS)Nz
[^\\\'\"%s ]*z'(?:[^'\\]|\\.)*'z"(?:[^"\\]|\\.)*")r1r2�string�
whitespace�
_wordchars_re�
_squote_re�
_dquote_rerFrFrFrG�_init_regex�srmcCstdkrt�|j�}g}d}x�|r�tj||�}|j�}|t|�kr||j|d|��P||tjkr�|j|d|��||d�j	�}d}n||dkr|d|�||dd�}|d}n�||dkr)t
j||�}n9||dkrNtj||�}ntd||��|dkr�t
d||��|j�\}}|d|�||d|d�||d�}|j�d	}|t|�kr.|j|�Pq.W|S)
aSplit a string up according to Unix shell-like rules for quotes and
    backslashes.  In short: words are delimited by spaces, as long as those
    spaces are not escaped by a backslash, or inside a quoted string.
    Single and double quotes are equivalent, and the quote characters can
    be backslash-escaped.  The backslash is stripped from any two-character
    escape sequence, leaving only the escaped character.  The quote
    characters are stripped from any quoted string.  Returns a list of
    words.
    NrrTr�'�"z!this can't happen (bad char '%c')z"bad string (mismatched %s quotes?)r)rjrm�stripr4�endr*�appendrhri�lstriprkrl�RuntimeErrorrK�span)rcZwords�posrDrqZbegrFrFrG�split_quoted�s@		"
4
rwcCsj|dkrId|j|f}|dd�dkrI|dd�d}tj|�|sf||�dS)	a�Perform some action that affects the outside world (eg.  by
    writing to the filesystem).  Such actions are special because they
    are disabled by the 'dry_run' flag.  This method takes care of all
    that bureaucracy for you; all you have to do is supply the
    function to call and an argument tuple for it (to embody the
    "external action" being performed), and an optional message to
    print.
    Nz%s%rrz,)rr	���rx)�__name__r�info)�func�args�msg�verbose�dry_runrFrFrG�executes	
r�cCsC|j�}|dkrdS|dkr,dStd|f��dS)z�Convert a string representation of truth to true (1) or false (0).

    True values are 'y', 'yes', 't', 'true', 'on', and '1'; false values
    are 'n', 'no', 'f', 'false', 'off', and '0'.  Raises ValueError if
    'val' is anything else.
    �y�yes�t�true�on�1r�n�no�f�false�off�0rzinvalid truth value %rN)r�r�r�r�r�r�)r�r�r�r�r�r�)r+rK)�valrFrFrG�	strtobool0sr�rcCstjrtd��|dkr3to0|dk}|s�y&ddlm}|d�\}	}
Wn5tk
r�ddlm}d|d�}	}
YnXtj	d|
�|s7|	dk	r�t
j|	d�}nt|
d�}|j
d	�|j
d
jtt|��d�|j
d|||||f�|j�tj|
g}
|d
kre|
jd
d�n|dkr�|
jd
d�t|
d|�tt
j|
fd|
d|�nfddlm}xS|D]K}|dd�dkr�q�|dkr)|dkrdn|}tjj|d|�}ntjj|�}|}|r�|dt|��|krytd||f��|t|�d�}|r�t
jj||�}t
jj|�}|r�|s�t ||�rtj	d||�|s||||�q�tj!d||�q�WdS)a~Byte-compile a collection of Python source files to .pyc
    files in a __pycache__ subdirectory.  'py_files' is a list
    of files to compile; any files that don't end in ".py" are silently
    skipped.  'optimize' must be one of the following:
      0 - don't optimize
      1 - normal optimization (like "python -O")
      2 - extra optimization (like "python -OO")
    If 'force' is true, all files are recompiled regardless of
    timestamps.

    The source filename encoded in each bytecode file defaults to the
    filenames listed in 'py_files'; you can modify these with 'prefix' and
    'basedir'.  'prefix' is a string that will be stripped off of each
    source filename, and 'base_dir' is a directory name that will be
    prepended (after 'prefix' is stripped).  You can supply either or both
    (or neither) of 'prefix' and 'base_dir', as you wish.

    If 'dry_run' is true, doesn't actually do anything that would
    affect the filesystem.

    Byte-compilation is either done directly in this interpreter process
    with the standard py_compile module, or indirectly by writing a
    temporary script and executing it.  Normally, you should let
    'byte_compile()' figure out to use direct compilation or not (see
    the source for details).  The 'direct' flag is used by the script
    generated in indirect mode; unless you know what you're doing, leave
    it set to None.
    zbyte-compiling is disabled.Nr)�mkstempz.py)�mktempz$writing byte-compilation script '%s'�wz2from distutils.util import byte_compile
files = [
z,
z]
z�
byte_compile(files, optimize=%r, force=%r,
             prefix=%r, base_dir=%r,
             verbose=%r, dry_run=0,
             direct=1)
rz-Orz-OOrzremoving %s)r2rr�optimizationz1invalid prefix: filename %r doesn't start with %rzbyte-compiling %s to %sz%skipping byte-compilation of %s to %s���)"r&�dont_write_bytecoder�	__debug__Ztempfiler��ImportErrorr�rrzr$�fdopen�open�writerP�map�repr�close�
executable�insertrr�rM�
py_compiler2�	importlib�util�cache_from_sourcer*rKrO�basenamer�debug)Zpy_files�optimizeZforcer:Zbase_dirr~rZdirectr�Z	script_fdZscript_namer�Zscript�cmdr2�fileZopt�cfile�dfileZ
cfile_baserFrFrG�byte_compile@sn"	
#


		r�cCs"|jd�}d}|j|�S)z�Return a version of the string escaped for inclusion in an
    RFC-822 header, by ensuring there are 8 spaces space after each newline.
    �
�rz        z	
        )rLrP)�header�linesrJrFrFrG�
rfc822_escape�sr�cCsw|s
dSddlm}m}Gdd�d|�}|dkrN|d�}||d|�}|j|dd	�dS)
aInvoke 2to3 on a list of Python files.
    The files should all come from the build area, as the
    modification is done in-place. To reduce the build time,
    only files modified since the last invocation of this
    function should be passed in the files argument.Nr)�RefactoringTool�get_fixers_from_packagec@s4eZdZdd�Zdd�Zdd�ZdS)z*run_2to3.<locals>.DistutilsRefactoringToolc_stj||�dS)N)r�error)�selfr}r|�kwrFrFrG�	log_error�sz4run_2to3.<locals>.DistutilsRefactoringTool.log_errorcWstj||�dS)N)rrz)r�r}r|rFrFrG�log_message�sz6run_2to3.<locals>.DistutilsRefactoringTool.log_messagecWstj||�dS)N)rr�)r�r}r|rFrFrG�	log_debug�sz4run_2to3.<locals>.DistutilsRefactoringTool.log_debugN)ry�
__module__�__qualname__r�r�r�rFrFrFrG�DistutilsRefactoringTool�sr�z
lib2to3.fixes�optionsr�T)Zlib2to3.refactorr�r�Zrefactor)�files�fixer_namesr��explicitr�r�r��rrFrFrG�run_2to3�s
r�cCssddlm}ddlm}ddlm}|�}	tj�}
tj|�z|	j	�Wdtj|
�X|	j
|	jdd�<|r�x6|j�D](}|j
�}|s�q�|	j|�q�Wg}xw|	jD]l}
tjj||
�}|tjj|��|tjj||
�|dd�}|dr�|j|�q�Wtdd	�|D�d
|d|d|�|S)
z�Recursively copy a directory, only copying new and changed files,
    running run_2to3 over all newly copied Python modules afterward.

    If you give a template string, it's parsed like a MANIFEST.in.
    r)�mkpath)�	copy_file)�FileListN�updatercSs+g|]!}|j�jd�r|�qS)z.py)r+�endswith)�.0�fnrFrFrG�
<listcomp>s	z$copydir_run_2to3.<locals>.<listcomp>r�r�r�)Zdistutils.dir_utilr�Zdistutils.file_utilr�Zdistutils.filelistr�r$�getcwd�chdir�findallZallfilesr��
splitlinesrpZprocess_template_linerOrP�dirnamerrr�)�src�dest�templater�r�r�r�r�r�ZfilelistrN�lineZcopied�filenameZoutname�resrFrFrG�copydir_run_2to3�s4	
$
r�c@s4eZdZdZdZdZdZdd�ZdS)�	Mixin2to3z�Mixin class for commands that run 2to3.
    To configure 2to3, setup scripts may either change
    the class variables, or inherit from individual commands
    to override how 2to3 is invoked.NcCst||j|j|j�S)N)r�r�r�r�)r�r�rFrFrGr�)szMixin2to3.run_2to3)ryr�r��__doc__r�r�r�r�rFrFrFrGr�s
r�)#r�r$r1�importlib.utilr�r&rhZdistutils.errorsrZdistutils.dep_utilrZdistutils.spawnrrErrrHrSrWrYr]rergrjrkrlrmrwr�r�r�r�r�r�r�rFrFrFrG�<module>s>]=�
 

SILENT KILLER Tool