$96 GRAYBYTE WORDPRESS FILE MANAGER $74

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

/opt/alt/python27/lib64/python2.7/distutils/command/

HOME
Current File : /opt/alt/python27/lib64/python2.7/distutils/command//config.pyc
�
�V~gc@s�dZdZddlZddlZddlmZddlmZddlm	Z	ddl
mZidd	6d
d6Zdefd
��YZ
ed�ZdS(s�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".
s$Id$i����N(tCommand(tDistutilsExecError(tcustomize_compiler(tlogs.ctcs.cxxsc++tconfigcBs.eZdZd,d-d.d/d0d1d2d3d4g	Zd�Zd�Zd�Zd�Zd�Z	d�Z
d�Zd�Zd �Z
d+d+d+d!d"�Zd+d+d+d!d#�Zd+d+d!d$�Zd+d+d+d+d!d%�Zd+d+d+d+d!d&�Zd+d+d+d+d'd'd(�Zd+d+d+gd)�Zd+d+d!d*�ZRS(5sprepare to builds	compiler=sspecify the compiler typescc=sspecify the compiler executables
include-dirs=tIs.list of directories to search for header filessdefine=tDsC preprocessor macros to definesundef=tUs!C preprocessor macros to undefines
libraries=tls!external C libraries to link withs
library-dirs=tLs.directories to search for external C librariestnoisys1show every action (compile, link, run, ...) takensdump-sources=dump generated source files before attempting to compile themcCsLd|_d|_d|_d|_d|_d|_d|_g|_dS(Ni(	tNonetcompilertcctinclude_dirst	librariestlibrary_dirsRtdump_sourcet
temp_files(tself((s=/opt/alt/python27/lib64/python2.7/distutils/command/config.pytinitialize_options6s							cCs�|jdkr'|jjpg|_n-t|jt�rT|jjtj�|_n|jdkrog|_n$t|jt�r�|jg|_n|j	dkr�g|_	n-t|j	t�r�|j	jtj�|_	ndS(N(
RRtdistributiont
isinstancetstrtsplittostpathsepRR(R((s=/opt/alt/python27/lib64/python2.7/distutils/command/config.pytfinalize_optionsEscCsdS(N((R((s=/opt/alt/python27/lib64/python2.7/distutils/command/config.pytrunUscCs�ddlm}m}t|j|�s�|d|jd|jdd�|_t|j�|jrx|jj|j�n|j	r�|jj
|j	�n|jr�|jj|j�q�ndS(s^Check that 'self.compiler' really is a CCompiler object;
        if not, make it one.
        i����(t	CCompilertnew_compilerR
tdry_runtforceiN(
tdistutils.ccompilerRRRR
R RRtset_include_dirsRt
set_librariesRtset_library_dirs(RRR((s=/opt/alt/python27/lib64/python2.7/distutils/command/config.pyt_check_compiler]s
			cCs�dt|}t|d�}|rUx|D]}|jd|�q*W|jd�n|j|�|ddkr�|jd�n|j�|S(Nt_configtesttws#include <%s>
s
i����(tLANG_EXTtopentwritetclose(Rtbodytheaderstlangtfilenametfiletheader((s=/opt/alt/python27/lib64/python2.7/distutils/command/config.pyt_gen_temp_sourcefileps


cCsT|j|||�}d}|jj||g�|jj||d|�||fS(Ns
_configtest.iR(R3RtextendR
t
preprocess(RR-R.RR/tsrctout((s=/opt/alt/python27/lib64/python2.7/distutils/command/config.pyt_preprocess}s
cCs�|j|||�}|jr2t|d|�n|jj|g�\}|jj||g�|jj|gd|�||fS(Nscompiling '%s':R(R3Rt	dump_fileR
tobject_filenamesRR4tcompile(RR-R.RR/R6tobj((s=/opt/alt/python27/lib64/python2.7/distutils/command/config.pyt_compile�s	c
	Cs�|j||||�\}}tjjtjj|��d}	|jj|g|	d|d|d|�|jjdk	r�|	|jj}	n|j	j
|	�|||	fS(NiRRttarget_lang(R=RtpathtsplitexttbasenameR
tlink_executablet
exe_extensionRRtappend(
RR-R.RRRR/R6R<tprog((s=/opt/alt/python27/lib64/python2.7/distutils/command/config.pyt_link�s"cGsn|s|j}g|_ntjddj|��x3|D]+}ytj|�Wq;tk
req;Xq;WdS(Nsremoving: %st (RRtinfotjoinRtremovetOSError(Rt	filenamesR0((s=/opt/alt/python27/lib64/python2.7/distutils/command/config.pyt_clean�s	

RcCsbddlm}|j�d}y|j||||�Wn|k
rSd}nX|j�|S(sQConstruct 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.)
        i����(tCompileErrorii(R"RNR&R8RM(RR-R.RR/RNtok((s=/opt/alt/python27/lib64/python2.7/distutils/command/config.pyttry_cpp�s



cCs�|j�|j||||�\}}t|t�rItj|�}nt|�}d}	x9|j�}
|
dkrzPn|j|
�r^d}	Pq^q^W|j	�|j
�|	S(s�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.
        iti(R&R8RRtreR;R*treadlinetsearchR,RM(RtpatternR-R.RR/R6R7R1tmatchtline((s=/opt/alt/python27/lib64/python2.7/distutils/command/config.pyt
search_cpp�s 	


cCs{ddlm}|j�y |j||||�d}Wn|k
rSd}nXtj|rfdpid�|j�|S(swTry to compile a source file built from 'body' and 'headers'.
        Return true on success, false otherwise.
        i����(RNiissuccess!sfailure.(R"RNR&R=RRHRM(RR-R.RR/RNRO((s=/opt/alt/python27/lib64/python2.7/distutils/command/config.pyttry_compile�s




c
Cs�ddlm}m}|j�y&|j||||||�d}	Wn||fk
red}	nXtj|	rxdp{d�|j�|	S(s�Try to compile and link a source file, built from 'body' and
        'headers', to executable form.  Return true on success, false
        otherwise.
        i����(RNt	LinkErroriissuccess!sfailure.(R"RNRZR&RFRRHRM(
RR-R.RRRR/RNRZRO((s=/opt/alt/python27/lib64/python2.7/distutils/command/config.pyttry_link�s




c
Cs�ddlm}m}|j�yA|j||||||�\}	}
}|j|g�d}Wn ||tfk
r�d}nXtj|r�dp�d�|j	�|S(s�Try to compile, link to an executable, and run a program
        built from 'body' and 'headers'.  Return true on success, false
        otherwise.
        i����(RNRZiissuccess!sfailure.(
R"RNRZR&RFtspawnRRRHRM(
RR-R.RRRR/RNRZR6R<texeRO((s=/opt/alt/python27/lib64/python2.7/distutils/command/config.pyttry_runs



ic	Cs�|j�g}|r*|jd|�n|jd�|rQ|jd|�n|jd|�|jd�dj|�d}|j|||||�S(s�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.
        s
int %s ();s
int main () {s  %s();s  %s;t}s
(R&RDRIR[(	RtfuncR.RRRtdecltcallR-((s=/opt/alt/python27/lib64/python2.7/distutils/command/config.pyt
check_funcs


cCs*|j�|jd|||g||�S(s�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.
        sint main (void) { }(R&R[(RtlibraryRR.Rtother_libraries((s=/opt/alt/python27/lib64/python2.7/distutils/command/config.pyt	check_lib?s

	cCs|jddd|gd|�S(s�Determine if the system header file named by 'header_file'
        exists and can be found by the preprocessor; return true if so,
        false otherwise.
        R-s
/* No body */R.R(RP(RR2RRR/((s=/opt/alt/python27/lib64/python2.7/distutils/command/config.pytcheck_headerNsN(s	compiler=Nsspecify the compiler type(scc=Nsspecify the compiler executable(s
include-dirs=Rs.list of directories to search for header files(sdefine=RsC preprocessor macros to define(sundef=Rs!C preprocessor macros to undefine(s
libraries=R	s!external C libraries to link with(s
library-dirs=R
s.directories to search for external C libraries(RNs1show every action (compile, link, run, ...) taken(sdump-sourceNs=dump generated source files before attempting to compile them(t__name__t
__module__tdescriptionRtuser_optionsRRRR&R3R8R=RFRMRPRXRYR[R^RcRfRg(((s=/opt/alt/python27/lib64/python2.7/distutils/command/config.pyRsT						
								!cCsb|dkr tjd|�n
tj|�t|�}ztj|j��Wd|j�XdS(sjDumps a file content into log.info.

    If head is not None, will be dumped before the file content.
    s%sN(RRRHR*treadR,(R0theadR1((s=/opt/alt/python27/lib64/python2.7/distutils/command/config.pyR9Xs
(t__doc__t__revision__RRRtdistutils.coreRtdistutils.errorsRtdistutils.sysconfigRt	distutilsRR)RRR9(((s=/opt/alt/python27/lib64/python2.7/distutils/command/config.pyt<module>
s�A


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
24 Jan 2025 9.35 AM
root / linksafe
0755
__init__.py
0.803 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
__init__.pyc
0.662 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
__init__.pyo
0.662 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
bdist.py
5.465 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
bdist.pyc
5.124 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
bdist.pyo
5.124 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
bdist_dumb.py
5.074 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
bdist_dumb.pyc
4.93 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
bdist_dumb.pyo
4.93 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
bdist_msi.py
34.368 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
bdist_msi.pyc
23.615 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
bdist_msi.pyo
23.511 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
bdist_rpm.py
20.556 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
bdist_rpm.pyc
17.31 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
bdist_rpm.pyo
17.228 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
bdist_wininst.py
14.647 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
bdist_wininst.pyc
10.601 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
bdist_wininst.pyo
10.523 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
build.py
5.328 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
build.pyc
5.152 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
build.pyo
5.152 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
build_clib.py
7.94 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
build_clib.pyc
6.325 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
build_clib.pyo
6.325 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
build_ext.py
31.74 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
build_ext.py.debug-build
31.514 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
build_ext.pyc
19.132 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
build_ext.pyo
19.132 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
build_py.py
15.955 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
build_py.pyc
11.49 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
build_py.pyo
11.42 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
build_scripts.py
4.49 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
build_scripts.pyc
4.461 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
build_scripts.pyo
4.461 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
check.py
5.539 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
check.pyc
6.268 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
check.pyo
6.268 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
clean.py
2.748 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
clean.pyc
3.061 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
clean.pyo
3.061 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
command_template
0.702 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
config.py
12.822 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
config.pyc
12.642 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
config.pyo
12.642 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
install.py
25.648 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
install.pyc
16.729 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
install.pyo
16.729 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
install_data.py
2.778 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
install_data.pyc
3.134 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
install_data.pyo
3.134 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
install_egg_info.py
2.526 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
install_egg_info.pyc
3.771 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
install_egg_info.pyo
3.771 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
install_headers.py
1.314 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
install_headers.pyc
2.291 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
install_headers.pyo
2.291 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
install_lib.py
8.143 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
install_lib.pyc
6.677 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
install_lib.pyo
6.677 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
install_scripts.py
2.02 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
install_scripts.pyc
2.948 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
install_scripts.pyo
2.948 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
register.py
11.562 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
register.pyc
10.134 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
register.pyo
10.134 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
sdist.py
18.122 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
sdist.pyc
16.533 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
sdist.pyo
16.533 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
upload.py
6.836 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
upload.pyc
6.236 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
upload.pyo
6.236 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
wininst-6.0.exe
60 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
wininst-7.1.exe
64 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
wininst-8.0.exe
60 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
wininst-9.0-amd64.exe
218.5 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
wininst-9.0.exe
191.5 KB
8 Jan 2025 10.43 AM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF