GRAYBYTE WORDPRESS FILE MANAGER4107

Server IP : 162.254.39.133 / Your IP : 216.73.216.176
System : Linux premium287.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
PHP Version : 8.1.33
Disable Function : mail
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF

HOME

/lib64/python2.7/distutils/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /lib64/python2.7/distutils//util.pyc
�
{fc@s1dZdZddlZddlZddlZddlZddlmZddlm	Z	ddl
mZddlm
Z
ddlmZd	�Zd
�Zd�Zdad
�Zd�Zdd�Zdaaad�Zd�Zdddd�Zd�Zdddddddd�Zd�ZdS(sudistutils.util

Miscellaneous utility functions -- anything that doesn't fit into
one of the other *util.py modules.
s$Id$i����N(tDistutilsPlatformError(tnewer(tspawn(tlog(tDistutilsByteCompileErrorcCs�tjdkr�d}tjtj|�}|dkr=tjStjtjd|�}tj|t|�|!j�}|dkr�dS|dkr�dStjSd	tj	kr�tj	d	Stjd
ks�t
td�r�tjStj�\}}}}}tj|�}tj|dd
�}tj|dd�}tj|dd�}|d dkrcd||fS|d dkr�|ddkr�d}dt
|d�d|df}idd6dd6}	|d|	tj7}q�n�|d  d!kr�d||fS|d d"krd#|||fS|d$ d%kred%}tjd&�}
|
j|�}|r�|j�}q�nU|d$ d'kr�dd(l}dd(l}
|j|
jj�|||�\}}}nd)|||fS(*s�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'.
    tnts bit (i����t)tamd64s	win-amd64titaniumswin-ia64t_PYTHON_HOST_PLATFORMtposixtunamet/tt t_t-itlinuxs%s-%stsunosit5tsolariss%d.%siit32biti���t64bitI�������s.%sitirixtaixs%s-%s.%sitcygwins[\d.]+tdarwinNs%s-%s-%s(tostnametstringtfindtsystversiontplatformtlentlowertenvironthasattrRtreplacetinttmaxinttretcompiletmatchtgroupt_osx_supporttdistutils.sysconfigtget_platform_osxt	sysconfigtget_config_vars(tprefixtitjtlooktosnamethosttreleaseR tmachinetbitnesstrel_retmR-t	distutils((s&/usr/lib64/python2.7/distutils/util.pytget_platformsZ "cCs�tjdkr|S|s|S|ddkr=td|�n|ddkr]td|�ntj|d�}xd|kr�|jd�qrW|s�tjStjj|�S(s�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.
    Rispath '%s' cannot be absolutei����spath '%s' cannot end with '/'t.(	Rtsept
ValueErrorRtsplittremovetcurdirtpathtjoin(tpathnametpaths((s&/usr/lib64/python2.7/distutils/util.pytconvert_pathns	cCstjdkrNtjj|�s4tjj||�Stjj||d�Sn�tjdkr�tjj|�\}}|ddkr�|d}ntjj||�Stjdkr�tjj|�\}}|dtjkr�|d}ntjj||�Stdtj�dS(	s	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
iRis\tos2s!nothing known about platform '%s'N(RRREtisabsRFt
splitdriveR@R(tnew_rootRGtdriveRE((s&/usr/lib64/python2.7/distutils/util.pytchange_root�s 

icCs�tr
dStjdkrudtjkruy0ddl}|jtj��dtjd<Wquttfk
rqquXndtjkr�t	�tjd<ndadS(sLEnsure 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
tHOMEi����itPLATi(
t_environ_checkedRRR$tpwdtgetpwuidtgetuidtImportErrortKeyErrorR>(RS((s&/usr/lib64/python2.7/distutils/util.pyt
check_environ�s	$cCsQt�|d�}ytjd||�SWn tk
rL}td|�nXdS(s�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(Ni(R,tstrRR$(R+t
local_varstvar_name((s&/usr/lib64/python2.7/distutils/util.pyt_subst�ss\$([a-zA-Z_][a-zA-Z_0-9]*)sinvalid variable '$%s'N(RXR)tsubRWRA(tsRZR\tvar((s&/usr/lib64/python2.7/distutils/util.pyt
subst_vars�s	serror: cCs|t|�S(N(RY(texcR2((s&/usr/lib64/python2.7/distutils/util.pytgrok_environment_error�scCs8tjdtj�atjd�atjd�adS(Ns
[^\\\'\"%s ]*s'(?:[^'\\]|\\.)*'s"(?:[^"\\]|\\.)*"(R)R*Rt
whitespacet
_wordchars_ret
_squote_ret
_dquote_re(((s&/usr/lib64/python2.7/distutils/util.pyt_init_regex�scCs�td	krt�ntj|�}g}d}x�|r�tj||�}|j�}|t|�kr|j|| �Pn||tj	kr�|j|| �tj
||�}d}n�||dkr�|| ||d}|d}n�||dkrtj||�}n6||dkr<tj||�}nt
d||�|d	krmtd||�n|j�\}}|| ||d|d!||}|j�d}|t|�kr4|j|�Pq4q4W|S(
sSplit 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.
    is\it't"s!this can't happen (bad char '%c')s"bad string (mismatched %s quotes?)iN(RdtNoneRgRtstripR+tendR"tappendRctlstripReRftRuntimeErrorRAtspan(R^twordstposR<Rltbeg((s&/usr/lib64/python2.7/distutils/util.pytsplit_quoted�sD
		
%
cCsj|dkrFd|j|f}|ddkrF|dd!d}qFntj|�|sf||�ndS(s�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.
    s%s%ri����s,)iRN(Rjt__name__Rtinfo(tfunctargstmsgtverbosetdry_run((s&/usr/lib64/python2.7/distutils/util.pytexecute*s	
cCsCtj|�}|dkrdS|dkr/dStd|f�dS(s�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.
    tytyesttttruetont1itntnotftfalsetofft0isinvalid truth value %rN(R}R~RR�R�R�(R�R�R�R�R�R�(RR#RA(tval((s&/usr/lib64/python2.7/distutils/util.pyt	strtobool=sicCs�tjrtd��n|dkr9to3|dk}n|s�y&ddlm}|d�\}	}
Wn4tk
r�ddlm}d|d�}	}
nXt	j
d|
�|sB|	dk	r�tj|	d�}nt
|
d�}|jd	�|jtjtt|�d
�d�|jd|||||f�|j�ntj|
g}
|d
krp|
jd
d�n|dkr�|
jd
d�nt|
d|�ttj|
fd|
d|�n(ddlm}x|D]
}|ddkr�q�n|trdpd}|}|rV|t|� |krCtd||f�n|t|�}n|rttjj||�}ntjj|�}|r�|s�t||�r�t	j
d||�|s�||||�q�q�t	j d||�q�q�WdS(s�Byte-compile a collection of Python source files to either .pyc
    or .pyo files in the same directory.  '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 (generate .pyc)
      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.
    sbyte-compiling is disabled.ii����(tmkstemps.py(tmktemps$writing byte-compilation script '%s'tws2from distutils.util import byte_compile
files = [
s,
s]
s�
byte_compile(files, optimize=%r, force=%r,
             prefix=%r, base_dir=%r,
             verbose=%r, dry_run=0,
             direct=1)
is-Ois-OOR{sremoving %s(R*i����tctos1invalid prefix: filename %r doesn't start with %rsbyte-compiling %s to %ss%skipping byte-compilation of %s to %sN(!Rtdont_write_bytecodeRRjt	__debug__ttempfileR�RVR�RRvRtfdopentopentwriteRRFtmaptreprtcloset
executabletinsertRR|RCt
py_compileR*R"RAREtbasenameRtdebug(tpy_filestoptimizetforceR2tbase_dirRzR{tdirectR�t	script_fdtscript_nameR�tscripttcmdR*tfiletcfiletdfilet
cfile_base((s&/usr/lib64/python2.7/distutils/util.pytbyte_compileMsh"	
&


	cCs,tj|d�}tj|dd�}|S(s�Return a version of the string escaped for inclusion in an
    RFC-822 header, by ensuring there are 8 spaces space after each newline.
    s
iRs        (RRBRF(theadertlines((s&/usr/lib64/python2.7/distutils/util.pyt
rfc822_escape�s( t__doc__t__revision__RRRR)tdistutils.errorsRtdistutils.dep_utilRtdistutils.spawnRR=RRR>RIRORRRXR`RbRjRdReRfRgRtR|R�R�R�(((s&/usr/lib64/python2.7/distutils/util.pyt<module>s00	^						?	�

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
June 15 2024 10:33:27
root / root
0755
command
--
June 15 2024 10:33:27
root / root
0755
README
0.288 KB
April 10 2024 04:58:35
root / root
0644
__init__.py
0.23 KB
April 10 2024 04:58:35
root / root
0644
__init__.pyc
0.405 KB
April 10 2024 04:58:46
root / root
0644
__init__.pyo
0.405 KB
April 10 2024 04:58:46
root / root
0644
archive_util.py
8.026 KB
April 10 2024 04:58:35
root / root
0644
archive_util.pyc
7.423 KB
April 10 2024 04:58:46
root / root
0644
archive_util.pyo
7.423 KB
April 10 2024 04:58:46
root / root
0644
bcppcompiler.py
14.591 KB
April 10 2024 04:58:35
root / root
0644
bcppcompiler.pyc
7.697 KB
April 10 2024 04:58:46
root / root
0644
bcppcompiler.pyo
7.697 KB
April 10 2024 04:58:46
root / root
0644
ccompiler.py
45.631 KB
April 10 2024 04:58:35
root / root
0644
ccompiler.pyc
36.018 KB
April 10 2024 04:58:46
root / root
0644
ccompiler.pyo
35.88 KB
April 10 2024 04:58:44
root / root
0644
cmd.py
18.818 KB
April 10 2024 04:58:35
root / root
0644
cmd.pyc
16.41 KB
April 10 2024 04:58:46
root / root
0644
cmd.pyo
16.41 KB
April 10 2024 04:58:46
root / root
0644
config.py
4.037 KB
April 10 2024 04:58:35
root / root
0644
config.pyc
3.481 KB
April 10 2024 04:58:46
root / root
0644
config.pyo
3.481 KB
April 10 2024 04:58:46
root / root
0644
core.py
8.808 KB
April 10 2024 04:58:35
root / root
0644
core.pyc
7.359 KB
April 10 2024 04:58:46
root / root
0644
core.pyo
7.359 KB
April 10 2024 04:58:46
root / root
0644
cygwinccompiler.py
17.319 KB
April 10 2024 04:58:35
root / root
0644
cygwinccompiler.pyc
9.595 KB
April 10 2024 04:58:46
root / root
0644
cygwinccompiler.pyo
9.595 KB
April 10 2024 04:58:46
root / root
0644
debug.py
0.158 KB
April 10 2024 04:58:35
root / root
0644
debug.pyc
0.248 KB
April 10 2024 04:58:46
root / root
0644
debug.pyo
0.248 KB
April 10 2024 04:58:46
root / root
0644
dep_util.py
3.427 KB
April 10 2024 04:58:35
root / root
0644
dep_util.pyc
3.105 KB
April 10 2024 04:58:46
root / root
0644
dep_util.pyo
3.105 KB
April 10 2024 04:58:46
root / root
0644
dir_util.py
7.684 KB
April 10 2024 04:58:35
root / root
0644
dir_util.pyc
6.627 KB
April 10 2024 04:58:46
root / root
0644
dir_util.pyo
6.627 KB
April 10 2024 04:58:46
root / root
0644
dist.py
48.876 KB
April 10 2024 04:58:35
root / root
0644
dist.pyc
38.258 KB
April 10 2024 04:58:46
root / root
0644
dist.pyo
38.258 KB
April 10 2024 04:58:46
root / root
0644
emxccompiler.py
11.651 KB
April 10 2024 04:58:35
root / root
0644
emxccompiler.pyc
7.292 KB
April 10 2024 04:58:46
root / root
0644
emxccompiler.pyo
7.292 KB
April 10 2024 04:58:46
root / root
0644
errors.py
3.412 KB
April 10 2024 04:58:35
root / root
0644
errors.pyc
6.138 KB
April 10 2024 04:58:46
root / root
0644
errors.pyo
6.138 KB
April 10 2024 04:58:46
root / root
0644
extension.py
10.648 KB
April 10 2024 04:58:35
root / root
0644
extension.pyc
7.238 KB
April 10 2024 04:58:46
root / root
0644
extension.pyo
7.018 KB
April 10 2024 04:58:44
root / root
0644
fancy_getopt.py
17.527 KB
April 10 2024 04:58:35
root / root
0644
fancy_getopt.pyc
11.678 KB
April 10 2024 04:58:46
root / root
0644
fancy_getopt.pyo
11.505 KB
April 10 2024 04:58:44
root / root
0644
file_util.py
7.94 KB
April 10 2024 04:58:35
root / root
0644
file_util.pyc
6.592 KB
April 10 2024 04:58:46
root / root
0644
file_util.pyo
6.592 KB
April 10 2024 04:58:46
root / root
0644
filelist.py
12.392 KB
April 10 2024 04:58:35
root / root
0644
filelist.pyc
10.504 KB
April 10 2024 04:58:46
root / root
0644
filelist.pyo
10.504 KB
April 10 2024 04:58:46
root / root
0644
log.py
1.646 KB
April 10 2024 04:58:35
root / root
0644
log.pyc
2.721 KB
April 10 2024 04:58:46
root / root
0644
log.pyo
2.721 KB
April 10 2024 04:58:46
root / root
0644
msvc9compiler.py
30.277 KB
April 10 2024 04:58:35
root / root
0644
msvc9compiler.pyc
20.993 KB
April 10 2024 04:58:46
root / root
0644
msvc9compiler.pyo
20.922 KB
April 10 2024 04:58:44
root / root
0644
msvccompiler.py
23.083 KB
April 10 2024 04:58:35
root / root
0644
msvccompiler.pyc
17.114 KB
April 10 2024 04:58:46
root / root
0644
msvccompiler.pyo
17.114 KB
April 10 2024 04:58:46
root / root
0644
spawn.py
8.445 KB
April 10 2024 04:58:35
root / root
0644
spawn.pyc
6.276 KB
April 10 2024 04:58:46
root / root
0644
spawn.pyo
6.276 KB
April 10 2024 04:58:46
root / root
0644
sysconfig.py
17.292 KB
April 10 2024 04:58:41
root / root
0644
sysconfig.py.debug-build
17.209 KB
April 10 2024 04:58:35
root / root
0644
sysconfig.pyc
13.09 KB
April 10 2024 04:58:46
root / root
0644
sysconfig.pyo
13.09 KB
April 10 2024 04:58:46
root / root
0644
text_file.py
12.137 KB
April 10 2024 04:58:35
root / root
0644
text_file.pyc
9.042 KB
April 10 2024 04:58:46
root / root
0644
text_file.pyo
9.042 KB
April 10 2024 04:58:46
root / root
0644
unixccompiler.py
13.889 KB
April 10 2024 04:58:35
root / root
0644
unixccompiler.py.distutils-rpath
13.356 KB
April 10 2024 04:58:35
root / root
0644
unixccompiler.pyc
8.036 KB
April 10 2024 04:58:46
root / root
0644
unixccompiler.pyo
8.036 KB
April 10 2024 04:58:46
root / root
0644
util.py
17.809 KB
April 10 2024 04:58:35
root / root
0644
util.pyc
14.049 KB
April 10 2024 04:58:46
root / root
0644
util.pyo
14.049 KB
April 10 2024 04:58:46
root / root
0644
version.py
11.165 KB
April 10 2024 04:58:35
root / root
0644
version.pyc
7.039 KB
April 10 2024 04:58:46
root / root
0644
version.pyo
7.039 KB
April 10 2024 04:58:46
root / root
0644
versionpredicate.py
4.976 KB
April 10 2024 04:58:35
root / root
0644
versionpredicate.pyc
5.412 KB
April 10 2024 04:58:46
root / root
0644
versionpredicate.pyo
5.412 KB
April 10 2024 04:58:46
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF