⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.177
Server IP:
50.6.168.112
Server:
Linux server-617809.webnetzimbabwe.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.4.10
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib64
/
python3.9
/
distutils
/
command
/
__pycache__
/
View File Name :
config.cpython-39.pyc
a ÕDOg=3 ã @ sl d Z ddlZddlZddlmZ ddlmZ ddlmZ ddl m Z ddd œZG d d„ deƒZddd „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¸ e Zd ZdZg d¢Zdd„ Zdd„ Zdd„ Zd d „ Zdd„ Z d d„ Z dd„ Zdd„ Zdd„ Z d(dd„Zd)dd„Zd*dd„Zd+dd„Zd,dd „Zd-d"d#„Zdddg fd$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 themc C s4 d | _ d | _d | _d | _d | _d| _d| _g | _d S )Né )ÚcompilerZccÚinclude_dirsÚ librariesÚlibrary_dirsr Údump_sourceÚ temp_files©Úself© r ú0/usr/lib64/python3.9/distutils/command/config.pyÚinitialize_options3 s zconfig.initialize_optionsc C s | j d u r| jj pg | _ nt| j tƒr6| j tj¡| _ | jd u rHg | _nt| jtƒr^| jg| _| jd u rpg | _nt| jtƒrŒ| j tj¡| _d S ©N) r ZdistributionÚ isinstanceÚstrÚsplitÚosÚpathsepr r r r r r Úfinalize_optionsB s zconfig.finalize_optionsc C s d S r r r r r r ÚrunR s z config.runc C sz ddl m}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_runÚforceN) Údistutils.ccompilerr" r# r r r$ r r Zset_include_dirsr Z set_librariesr Zset_library_dirs)r r" r# r r r Ú_check_compilerY s ÿ zconfig._check_compilerc C s€ dt | }t|dƒV}|r>|D ]}| d| ¡ q | d¡ | |¡ |d dkr^| d¡ W d ƒ n1 sr0 Y |S )NZ_configtestÚwz#include <%s> Ú éÿÿÿÿ)ÚLANG_EXTÚopenÚwrite)r ÚbodyÚheadersÚlangÚfilenameÚfileÚheaderr r r Ú_gen_temp_sourcefilek s (zconfig._gen_temp_sourcefilec C s<