$88 GRAYBYTE WORDPRESS FILE MANAGER $58

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.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python311/lib64/python3.11/distutils/command/__pycache__/

HOME
Current File : /opt/alt/python311/lib64/python3.11/distutils/command/__pycache__//config.cpython-311.pyc
�

���h=3��x�dZddlZddlZddlmZddlmZddlmZddl	m
Z
ddd	�ZGd
�de��Zd
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��eZdZdZgd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
dd�Z		dd�Zdd�Z		dd�Z		dd�Z		dd�Zdddgfd�Z		dd�ZdS)�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 themc�v�d|_d|_d|_d|_d|_d|_d|_g|_dS)N�)�compiler�cc�include_dirs�	libraries�library_dirsr�dump_source�
temp_files��selfs �?/opt/alt/python311/lib64/python3.11/distutils/command/config.py�initialize_optionszconfig.initialize_options3sE����
���� ������ �����
���������c���|j�|jjpg|_nCt|jt��r)|j�t
j��|_|j�g|_n't|jt��r
|jg|_|j�	g|_dSt|jt��r+|j�t
j��|_dSdS�N)	r�distribution�
isinstance�str�split�os�pathseprrrs r�finalize_optionszconfig.finalize_optionsBs�����$� $� 1� >� D�"�D���
��)�3�
/�
/�	D� $� 1� 7� 7��
� C� C�D���>�!��D�N�N�
����
,�
,�	.�"�n�-�D�N���$� "�D����
��)�3�
/�
/�	D� $� 1� 7� 7��
� C� C�D����	D�	Drc��dSr�rs r�runz
config.runRs���rc��ddlm}m}t|j|��s�||j|jd���|_t
|j��|jr|j�|j��|j	r|j�
|j	��|jr#|j�|j��dSdSdS)z^Check that 'self.compiler' really is a CCompiler object;
        if not, make it one.
        r)�	CCompiler�new_compilerr)r�dry_run�forceN)
�distutils.ccompilerr+r,r!rr-rr�set_include_dirsr�
set_librariesr�set_library_dirs)rr+r,s   r�_check_compilerzconfig._check_compilerYs���	@�?�?�?�?�?�?�?��$�-��3�3�		B�(�L�$�-�15��Q�H�H�H�D�M��t�}�-�-�-�� �
B��
�.�.�t�/@�A�A�A��~�
<��
�+�+�D�N�;�;�;�� �
B��
�.�.�t�/@�A�A�A�A�A�		B�		B�
B�
Brc�J�dt|z}t|d��5}|r2|D]}|�d|z���|�d��|�|��|ddkr|�d��ddd��n#1swxYwY|S)N�_configtest�wz#include <%s>
�
���)�LANG_EXT�open�write)r�body�headers�lang�filename�file�headers       r�_gen_temp_sourcefilezconfig._gen_temp_sourcefileks��� �8�D�>�1��
�(�C�
 �
 �	!�D��
!�%�;�;�F��J�J�0�6�9�:�:�:�:��
�
�4� � � ��J�J�t�����B�x�4����
�
�4� � � �	!�	!�	!�	!�	!�	!�	!�	!�	!�	!�	!����	!�	!�	!�	!��s�A+B�B�Bc��|�|||��}d}|j�||g��|j�|||���||fS)Nz
_configtest.i�r)rBr�extendr�
preprocess)rr<r=rr>�src�outs       r�_preprocesszconfig._preprocessws_���'�'��g�t�<�<���������S�z�*�*�*��
� � ��c�� �E�E�E��S�z�rc��|�|||��}|jrt|d|z��|j�|g��\}|j�||g��|j�|g|���||fS)Nzcompiling '%s':rD)rBr�	dump_filer�object_filenamesrrE�compile)rr<r=rr>rG�objs       r�_compilezconfig._compile~s����'�'��g�t�<�<����	4��c�,�s�2�3�3�3���/�/���6�6��������S�z�*�*�*��
���s�e�,��?�?�?��S�z�rc�p�|�||||��\}}tj�tj�|����d}	|j�|g|	|||���|jj�|	|jjz}	|j�	|	��|||	fS)Nr)rr�target_lang)
rOr$�path�splitext�basenamer�link_executable�
exe_extensionr�append)
rr<r=rrrr>rGrN�progs
          r�_linkzconfig._link�s����]�]�4��,��E�E�
��c��w����� 0� 0�� 5� 5�6�6�q�9���
�%�%�s�e�T�09�3?�26�	&�	8�	8�	8�
�=�&�2��$�-�5�5�D�����t�$�$�$��S�$��rc���|s|j}g|_tjdd�|����|D]'}	t	j|���#t$rY�$wxYwdS)Nzremoving: %s� )rr�info�joinr$�remove�OSError)r�	filenamesr?s   r�_cleanz
config._clean�s����	!���I� �D�O�������)�!4�!4�5�5�5�!�	�	�H�
��	�(�#�#�#�#���
�
�
���
����	�	s�A�
A �A Nrc��ddlm}|���d}	|�||||��n
#|$rd}YnwxYw|���|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/rdr3rIra�rr<r=rr>rd�oks       r�try_cppzconfig.try_cpp�s���	5�4�4�4�4�4�������
��	����T�7�L�$�?�?�?�?���	�	�	��B�B�B�	����	
���
�
�
��	s�7�A�Ac��|���|�||||��\}}t|t��rt	j|��}t
|��5}d}		|���}
|
dkrn|�|
��rd}	n�4ddd��n#1swxYwY|�	��|	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.
        FT�N)
r3rIr!r"�rerMr:�readline�searchra)r�patternr<r=rr>rGrHr@�match�lines           r�
search_cppzconfig.search_cpp�s
��	
�������#�#�D�'�<��F�F���S��g�s�#�#�	*��j��)�)�G�
�#�Y�Y�	�$��E�
��}�}�����2�:�:���>�>�$�'�'�� �E��

�	�	�	�	�	�	�	�	�	�	�	����	�	�	�	�	
���
�
�
��s�(8B,�,B0�3B0c���ddlm}|���	|�||||��d}n
#|$rd}YnwxYwt	j|rdpd��|���|S)zwTry to compile a source file built from 'body' and 'headers'.
        Return true on success, false otherwise.
        rrcTF�success!�failure.)r/rdr3rOrr\rares       r�try_compilezconfig.try_compile�s���	5�4�4�4�4�4�������	��M�M�$���t�<�<�<��B�B���	�	�	��B�B�B�	����	���"�
�0�j�1�1�1����
�
�
��	s�7�A�Ac���ddlm}m}|���	|�||||||��d}	n#||f$rd}	YnwxYwtj|	rdpd��|���|	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�rd�	LinkErrorTFrrrs)r/rdrwr3rYrr\ra)
rr<r=rrrr>rdrwrfs
          r�try_linkzconfig.try_link�s���	@�?�?�?�?�?�?�?�������	��J�J�t�W�l� �,��
6�
6�
6��B�B���i�(�	�	�	��B�B�B�	����	���"�
�0�j�1�1�1����
�
�
��	s�;�	A�Ac�0�ddlm}m}|���	|�||||||��\}	}
}|�|g��d}n#||tf$rd}YnwxYwtj|rdpd��|�	��|S)z�Try to compile, link to an executable, and run a program
        built from 'body' and 'headers'.  Return true on success, false
        otherwise.
        rrvTFrrrs)
r/rdrwr3rY�spawnrrr\ra)
rr<r=rrrr>rdrwrGrN�exerfs
             r�try_runzconfig.try_run�s���	@�?�?�?�?�?�?�?�������	� �J�J�t�W�l�'0�,��F�F�M�C��c��J�J��u�����B�B���i�);�<�	�	�	��B�B�B�	����	���"�
�0�j�1�1�1����
�
�
��	s�6A�A'�&A'rc�~�|���g}|r|�d|z��|�d��|r|�d|z��n|�d|z��|�d��d�|��dz}|�|||||��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;�}r7)r3rWr]rx)	r�funcr=rrr�decl�callr<s	         r�
check_funczconfig.check_funcs���	
���������	-��K�K��t�+�,�,�,����O�$�$�$��	(��K�K�	�D�(�)�)�)�)��K�K��$��'�'�'����C�����y�y�����%���}�}�T�7�L�&��6�6�	6rc�d�|���|�d|||g|z|��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) { })r3rx)r�libraryrr=r�other_librariess      r�	check_libzconfig.check_lib4sB��	
�������}�}�2�G�\�%�Y��8�,�H�H�	Hrc�4�|�d|g|���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)rg)rrArrr>s     r�check_headerzconfig.check_headerBs(���|�|��6�(�)5��7�7�	7r)NNNr)NNr)NNNNr)NNNNrr)�__name__�
__module__�__qualname__�description�user_optionsrr&r)r3rBrIrOrYrargrprtrxr|r�r�r�r(rrr	r	s�������$�K�
�
�
�L�4
�
�
�D�D�D� 
�
�
�B�B�B�$
�
�
�������
 �
 �
 �	�	�	�,����$IM������8���� IM�),�����&HL�(+�����2;?�CD�6�6�6�6�</3�D�#�R�H�H�H�H�DH��7�7�7�7�7�7rr	c�$�|�tjd|��ntj|��t|��}	tj|�����|���dS#|���wxYw)zjDumps a file content into log.info.

    If head is not None, will be dumped before the file content.
    Nz%s)rr\r:�read�close)r?�headr@s   rrKrKKsv��
�|����x� � � � ���������>�>�D�������������
�
��������
�
�������s�&A9�9Br)�__doc__r$rj�distutils.corer�distutils.errorsr�distutils.sysconfigr�	distutilsrr9r	rKr(rr�<module>r�s���	�	��
�
�
�
�
�
�
�"�"�"�"�"�"�/�/�/�/�/�/�2�2�2�2�2�2��������f�%�%��t7�t7�t7�t7�t7�W�t7�t7�t7�l	
�
�
�
�
�
r


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
10 Feb 2026 9.36 AM
root / linksafe
0755
__init__.cpython-311.opt-1.pyc
0.5 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
__init__.cpython-311.opt-2.pyc
0.393 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
__init__.cpython-311.pyc
0.5 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
bdist.cpython-311.opt-1.pyc
5.274 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
bdist.cpython-311.opt-2.pyc
5.089 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
bdist.cpython-311.pyc
5.274 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
bdist_dumb.cpython-311.opt-1.pyc
5.571 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
bdist_dumb.cpython-311.opt-2.pyc
5.375 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
bdist_dumb.cpython-311.pyc
5.571 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
bdist_rpm.cpython-311.opt-1.pyc
22.451 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
bdist_rpm.cpython-311.opt-2.pyc
22.15 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
bdist_rpm.cpython-311.pyc
22.61 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
build.cpython-311.opt-1.pyc
5.886 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
build.cpython-311.opt-2.pyc
5.804 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
build.cpython-311.pyc
5.886 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
build_clib.cpython-311.opt-1.pyc
7.598 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
build_clib.cpython-311.opt-2.pyc
7.063 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
build_clib.cpython-311.pyc
7.598 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
build_ext.cpython-311.opt-1.pyc
29.596 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
build_ext.cpython-311.opt-2.pyc
27.739 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
build_ext.cpython-311.pyc
29.596 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
build_py.cpython-311.opt-1.pyc
18.477 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
build_py.cpython-311.opt-2.pyc
17.334 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
build_py.cpython-311.pyc
18.602 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
build_scripts.cpython-311.opt-1.pyc
7.522 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
build_scripts.cpython-311.opt-2.pyc
7.144 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
build_scripts.cpython-311.pyc
7.522 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
check.cpython-311.opt-1.pyc
7.722 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
check.cpython-311.opt-2.pyc
7.132 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
check.cpython-311.pyc
7.722 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
clean.cpython-311.opt-1.pyc
3.134 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
clean.cpython-311.opt-2.pyc
3.052 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
clean.cpython-311.pyc
3.134 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
config.cpython-311.opt-1.pyc
15.836 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
config.cpython-311.opt-2.pyc
12.645 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
config.cpython-311.pyc
15.836 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
install.cpython-311.opt-1.pyc
23.694 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
install.cpython-311.opt-2.pyc
22.752 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
install.cpython-311.pyc
23.694 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
install_data.cpython-311.opt-1.pyc
3.658 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
install_data.cpython-311.opt-2.pyc
3.516 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
install_data.cpython-311.pyc
3.658 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
install_egg_info.cpython-311.opt-1.pyc
4.794 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
install_egg_info.cpython-311.opt-2.pyc
4.151 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
install_egg_info.cpython-311.pyc
4.794 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
install_headers.cpython-311.opt-1.pyc
2.277 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
install_headers.cpython-311.opt-2.pyc
2.114 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
install_headers.cpython-311.pyc
2.277 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
install_lib.cpython-311.opt-1.pyc
8.47 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
install_lib.cpython-311.opt-2.pyc
7.915 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
install_lib.cpython-311.pyc
8.47 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
install_scripts.cpython-311.opt-1.pyc
3.054 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
install_scripts.cpython-311.opt-2.pyc
2.922 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
install_scripts.cpython-311.pyc
3.054 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
register.cpython-311.opt-1.pyc
15.26 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
register.cpython-311.opt-2.pyc
14.057 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
register.cpython-311.pyc
15.26 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
sdist.cpython-311.opt-1.pyc
23.262 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
sdist.cpython-311.opt-2.pyc
20.066 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
sdist.cpython-311.pyc
23.262 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
upload.cpython-311.opt-1.pyc
10.144 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
upload.cpython-311.opt-2.pyc
10.02 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
upload.cpython-311.pyc
10.144 KB
7 Jan 2026 10.45 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF