$85 GRAYBYTE WORDPRESS FILE MANAGER $14

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python39/lib64/python3.9/distutils/command/__pycache__/

HOME
Current File : /opt/alt/python39/lib64/python3.9/distutils/command/__pycache__//config.cpython-39.opt-1.pyc
a

XC?h=3�@sldZddlZddlZddlmZddlmZddlmZddl	m
Z
ddd	�ZGd
d�de�Zddd
�Z
dS)a�distutils.command.config

Implements the Distutils 'config' command, a (mostly) empty command class
that exists mainly to be sub-classed by specific module distributions and
applications.  The idea is that while every "config" command is different,
at least they're all named the same, and users always see "config" in the
list of standard commands.  Also, this is a good place to put common
configure-like tasks: "try to compile this C code", or "figure out where
this header file lives".
�N)�Command)�DistutilsExecError)�customize_compiler)�logz.cz.cxx)�czc++c@s�eZdZdZgd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Z	d
d�Z
dd�Zdd�Zdd�Z
d(dd�Zd)dd�Zd*dd�Zd+dd�Zd,dd �Zd-d"d#�Zdddgfd$d%�Zd.d&d'�ZdS)/�configzprepare to build)	)z	compiler=Nzspecify the compiler type)zcc=Nzspecify the compiler executable)z
include-dirs=�Iz.list of directories to search for header files)zdefine=�DzC preprocessor macros to define)zundef=�Uz!C preprocessor macros to undefine)z
libraries=�lz!external C libraries to link with)z
library-dirs=�Lz.directories to search for external C libraries)�noisyNz1show every action (compile, link, run, ...) taken)zdump-sourceNz=dump generated source files before attempting to compile themcCs4d|_d|_d|_d|_d|_d|_d|_g|_dS)N�)�compilerZcc�include_dirs�	libraries�library_dirsr
�dump_source�
temp_files��self�r�=/opt/alt/python39/lib64/python3.9/distutils/command/config.py�initialize_options3szconfig.initialize_optionscCs�|jdur|jjpg|_nt|jt�r6|j�tj�|_|jdurHg|_nt|jt�r^|jg|_|jdurpg|_nt|jt�r�|j�tj�|_dS�N)	rZdistribution�
isinstance�str�split�os�pathseprrrrrr�finalize_optionsBs



zconfig.finalize_optionscCsdSrrrrrr�runRsz
config.runcCszddlm}m}t|j|�sv||j|jdd�|_t|j�|jrN|j�|j�|j	rb|j�
|j	�|jrv|j�|j�dS)z^Check that 'self.compiler' really is a CCompiler object;
        if not, make it one.
        r)�	CCompiler�new_compilerr)r�dry_runZforceN)
�distutils.ccompilerr"r#rrr$rrZset_include_dirsrZ
set_librariesrZset_library_dirs)rr"r#rrr�_check_compilerYs�
zconfig._check_compilercCs�dt|}t|d��V}|r>|D]}|�d|�q |�d�|�|�|ddkr^|�d�Wd�n1sr0Y|S)NZ_configtest�wz#include <%s>
�
���)�LANG_EXT�open�write)r�body�headers�lang�filename�file�headerrrr�_gen_temp_sourcefileks

(zconfig._gen_temp_sourcefilecCs<|�|||�}d}|j�||g�|jj|||d�||fS)Nz
_configtest.i�r)r3r�extendrZ
preprocess)rr-r.rr/�src�outrrr�_preprocessws
zconfig._preprocesscCs\|�|||�}|jr"t|d|�|j�|g�\}|j�||g�|jj|g|d�||fS)Nzcompiling '%s':r4)r3r�	dump_filerZobject_filenamesrr5�compile)rr-r.rr/r6�objrrr�_compile~szconfig._compilec
Csr|�||||�\}}tj�tj�|��d}	|jj|g|	|||d�|jjdur\|	|jj}	|j�	|	�|||	fS)Nr)rrZtarget_lang)
r<r�path�splitext�basenamerZlink_executableZ
exe_extensionr�append)
rr-r.rrrr/r6r;�progrrr�_link�s�zconfig._linkc	GsR|s|j}g|_t�dd�|��|D]&}zt�|�Wq&tyJYq&0q&dS)Nzremoving: %s� )rr�info�joinr�remove�OSError)r�	filenamesr0rrr�_clean�sz
config._cleanNrcCsPddlm}|��d}z|�||||�Wn|yBd}Yn0|��|S)aQConstruct a source file from 'body' (a string containing lines
        of C/C++ code) and 'headers' (a list of header files to include)
        and run it through the preprocessor.  Return true if the
        preprocessor succeeded, false if there were any errors.
        ('body' probably isn't of much use, but what the heck.)
        r��CompileErrorTF)r%rKr&r8rI�rr-r.rr/rK�okrrr�try_cpp�s
zconfig.try_cppcCs�|��|�||||�\}}t|t�r0t�|�}t|��8}d}	|��}
|
dkrPqb|�|
�r>d}	qbq>Wd�n1sv0Y|�	�|	S)a�Construct a source file (just like 'try_cpp()'), run it through
        the preprocessor, and return true if any line of the output matches
        'pattern'.  'pattern' should either be a compiled regex object or a
        string containing a regex.  If both 'body' and 'headers' are None,
        preprocesses an empty file -- which can be useful to determine the
        symbols the preprocessor and compiler set by default.
        F�TN)
r&r8rr�rer:r+�readline�searchrI)r�patternr-r.rr/r6r7r1�match�linerrr�
search_cpp�s	



"zconfig.search_cppcCsbddlm}|��z|�||||�d}Wn|yBd}Yn0t�|rPdpRd�|��|S)zwTry to compile a source file built from 'body' and 'headers'.
        Return true on success, false otherwise.
        rrJTF�success!�failure.)r%rKr&r<rrDrIrLrrr�try_compile�s
zconfig.try_compilec
	Csnddlm}m}|��z|�||||||�d}	Wn||fyNd}	Yn0t�|	r\dp^d�|��|	S)z�Try to compile and link a source file, built from 'body' and
        'headers', to executable form.  Return true on success, false
        otherwise.
        r�rK�	LinkErrorTFrWrX)r%rKr[r&rBrrDrI)
rr-r.rrrr/rKr[rMrrr�try_link�s
�
zconfig.try_linkc

Cs�ddlm}m}|��z.|�||||||�\}	}
}|�|g�d}Wn||tfybd}Yn0t�|rpdprd�|�	�|S)z�Try to compile, link to an executable, and run a program
        built from 'body' and 'headers'.  Return true on success, false
        otherwise.
        rrZTFrWrX)
r%rKr[r&rBZspawnrrrDrI)
rr-r.rrrr/rKr[r6r;ZexerMrrr�try_run�s
�

zconfig.try_runrc	Cst|��g}|r|�d|�|�d�|r<|�d|�n|�d|�|�d�d�|�d}|�|||||�S)a�Determine if function 'func' is available by constructing a
        source file that refers to 'func', and compiles and links it.
        If everything succeeds, returns true; otherwise returns false.

        The constructed source file starts out by including the header
        files listed in 'headers'.  If 'decl' is true, it then declares
        'func' (as "int func()"); you probably shouldn't supply 'headers'
        and set 'decl' true in the same call, or you might get errors about
        a conflicting declarations for 'func'.  Finally, the constructed
        'main()' function either references 'func' or (if 'call' is true)
        calls it.  'libraries' and 'library_dirs' are used when
        linking.
        z
int %s ();z
int main () {z  %s();z  %s;�}r()r&r@rEr\)	r�funcr.rrrZdeclZcallr-rrr�
check_funcs


�zconfig.check_funccCs |��|�d|||g||�S)a�Determine if 'library' is available to be linked against,
        without actually checking that any particular symbols are provided
        by it.  'headers' will be used in constructing the source file to
        be compiled, but the only effect of this is to check if all the
        header files listed are available.  Any libraries listed in
        'other_libraries' will be included in the link, in case 'library'
        has symbols that depend on other libraries.
        zint main (void) { })r&r\)rZlibraryrr.rZother_librariesrrr�	check_lib4s


�zconfig.check_libcCs|jd|g|d�S)z�Determine if the system header file named by 'header_file'
        exists and can be found by the preprocessor; return true if so,
        false otherwise.
        z
/* No body */)r-r.r)rN)rr2rrr/rrr�check_headerBs
�zconfig.check_header)NNNr)NNNr)NNr)NNNNr)NNNNr)NNNNrr)NNr)�__name__�
__module__�__qualname__ZdescriptionZuser_optionsrr r!r&r3r8r<rBrIrNrVrYr\r]r`rarbrrrrrs>	
�

�
�
�
�
�rcCsR|durt�d|�n
t�|�t|�}zt�|���W|��n
|��0dS)zjDumps a file content into log.info.

    If head is not None, will be dumped before the file content.
    Nz%s)rrDr+�read�close)r0�headr1rrrr9Ks
r9)N)�__doc__rrPZdistutils.corerZdistutils.errorsrZdistutils.sysconfigrZ	distutilsrr*rr9rrrr�<module>s
8


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
22 Jul 2025 8.33 AM
root / linksafe
0755
__init__.cpython-39.opt-1.pyc
0.477 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
__init__.cpython-39.opt-2.pyc
0.37 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
__init__.cpython-39.pyc
0.477 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist.cpython-39.opt-1.pyc
3.533 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist.cpython-39.opt-2.pyc
3.344 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist.cpython-39.pyc
3.533 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist_dumb.cpython-39.opt-1.pyc
3.517 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist_dumb.cpython-39.opt-2.pyc
3.321 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist_dumb.cpython-39.pyc
3.517 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist_msi.cpython-39.opt-1.pyc
19.254 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist_msi.cpython-39.opt-2.pyc
17.749 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist_msi.cpython-39.pyc
19.319 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist_rpm.cpython-39.opt-1.pyc
11.902 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist_rpm.cpython-39.opt-2.pyc
11.591 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist_rpm.cpython-39.pyc
11.951 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist_wininst.cpython-39.opt-1.pyc
8.309 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist_wininst.cpython-39.opt-2.pyc
8.173 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist_wininst.cpython-39.pyc
8.357 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build.cpython-39.opt-1.pyc
3.803 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build.cpython-39.opt-2.pyc
3.722 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build.cpython-39.pyc
3.803 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build_clib.cpython-39.opt-1.pyc
4.7 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build_clib.cpython-39.opt-2.pyc
4.159 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build_clib.cpython-39.pyc
4.7 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build_ext.cpython-39.opt-1.pyc
15.824 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build_ext.cpython-39.opt-2.pyc
13.913 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build_ext.cpython-39.pyc
15.824 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build_py.cpython-39.opt-1.pyc
10.15 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build_py.cpython-39.opt-2.pyc
8.972 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build_py.cpython-39.pyc
10.201 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build_scripts.cpython-39.opt-1.pyc
4.241 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build_scripts.cpython-39.opt-2.pyc
3.856 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build_scripts.cpython-39.pyc
4.241 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
check.cpython-39.opt-1.pyc
4.806 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
check.cpython-39.opt-2.pyc
4.19 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
check.cpython-39.pyc
4.806 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
clean.cpython-39.opt-1.pyc
2.046 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
clean.cpython-39.opt-2.pyc
1.965 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
clean.cpython-39.pyc
2.046 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
config.cpython-39.opt-1.pyc
9.985 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
config.cpython-39.opt-2.pyc
6.727 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
config.cpython-39.pyc
9.985 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install.cpython-39.opt-1.pyc
13.235 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install.cpython-39.opt-2.pyc
12.205 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install.cpython-39.pyc
13.235 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_data.cpython-39.opt-1.pyc
2.244 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_data.cpython-39.opt-2.pyc
2.103 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_data.cpython-39.pyc
2.244 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_egg_info.cpython-39.opt-1.pyc
2.962 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_egg_info.cpython-39.opt-2.pyc
2.299 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_egg_info.cpython-39.pyc
2.962 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_headers.cpython-39.opt-1.pyc
1.683 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_headers.cpython-39.opt-2.pyc
1.521 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_headers.cpython-39.pyc
1.683 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_lib.cpython-39.opt-1.pyc
4.976 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_lib.cpython-39.opt-2.pyc
4.408 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_lib.cpython-39.pyc
4.976 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_scripts.cpython-39.opt-1.pyc
2.096 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_scripts.cpython-39.opt-2.pyc
1.965 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_scripts.cpython-39.pyc
2.096 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
register.cpython-39.opt-1.pyc
8.268 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
register.cpython-39.opt-2.pyc
7.032 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
register.cpython-39.pyc
8.268 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
sdist.cpython-39.opt-1.pyc
14.153 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
sdist.cpython-39.opt-2.pyc
10.873 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
sdist.cpython-39.pyc
14.153 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
upload.cpython-39.opt-1.pyc
5.119 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
upload.cpython-39.opt-2.pyc
4.996 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
upload.cpython-39.pyc
5.119 KB
19 Jun 2025 12.11 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF