<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
a
    XC?h‡  ã                   @   sP   d dl Z d dlZd dlmZ d dlmZ d dlmZ dd„ ZG dd„ deƒZ	dS )	é    N)ÚCommand)ÚDistutilsOptionError)Úget_platformc                  C   s   ddl m}  | ƒ  d S )Nr   ©Úshow_compilers)Zdistutils.ccompilerr   r   © r   ú</opt/alt/python39/lib64/python3.9/distutils/command/build.pyr      s    r   c                   @   s¢   e Zd ZdZdddddddd	d
eƒ  fdddddgZddgZdddefgZdd„ Z	dd„ Z
dd„ Zdd„ Zdd„ Zdd „ Zd!d"„ Zd#efd$efd%efd&efgZdS )'Úbuildz"build everything needed to install)zbuild-base=Úbz base directory for build library)zbuild-purelib=Nz2build directory for platform-neutral distributions)zbuild-platlib=Nz3build directory for platform-specific distributions)z
build-lib=NzWbuild directory for all distribution (defaults to either build-purelib or build-platlib)zbuild-scripts=Nzbuild directory for scripts)zbuild-temp=Útztemporary build directoryz
plat-name=Úpz6platform name to build for, if supported (default: %s))z	compiler=Úczspecify the compiler type)z	parallel=Újznumber of parallel build jobs)ÚdebugÚgz;compile extensions and libraries with debugging information)ÚforceÚfz2forcibly build everything (ignore file timestamps))zexecutable=Úez5specify final destination interpreter path (build.py)r   r   zhelp-compilerNzlist available compilersc                 C   sL   d| _ d | _d | _d | _d | _d | _d | _d | _d | _d| _	d | _
d | _d S )Nr	   r   )Ú
build_baseÚbuild_purelibÚbuild_platlibÚ	build_libÚ
build_tempÚbuild_scriptsZcompilerÚ	plat_namer   r   Ú
executableÚparallel©Úselfr   r   r   Úinitialize_options8   s    zbuild.initialize_optionsc                 C   sb  | j d u rtƒ | _ ntjdkr&tdƒ‚d| j gtjd d… ¢R  }ttdƒrT|d7 }| jd u rptj	 
| jd¡| _| jd u rtj	 
| jd| ¡| _| jd u r´| jjr¬| j| _n| j| _| jd u rÔtj	 
| jd| ¡| _| jd u rþtj	 
| jd	tjd d…  ¡| _| jd u r"tjr"tj	 tj¡| _t| jtƒr^zt| jƒ| _W n ty\   td
ƒ‚Y n0 d S )NÚntzW--plat-name only supported on Windows (try using './configure --help' on your platform)z	.%s-%d.%dé   Zgettotalrefcountz-pydebugÚlibZtempzscripts-%d.%dzparallel should be an integer)r   r   ÚosÚnamer   ÚsysÚversion_infoÚhasattrr   ÚpathÚjoinr   r   r   ÚdistributionZext_modulesr   r   r   ÚnormpathÚ
isinstancer   ÚstrÚintÚ
ValueError)r   Zplat_specifierr   r   r   Úfinalize_optionsH   sD    


ÿ



ÿ



ÿ

ÿzbuild.finalize_optionsc                 C   s   |   ¡ D ]}|  |¡ qd S ©N)Zget_sub_commandsZrun_command)r   Zcmd_namer   r   r   Úrun€   s    z	build.runc                 C   s
   | j  ¡ S r1   )r*   Úhas_pure_modulesr   r   r   r   r3   Œ   s    zbuild.has_pure_modulesc                 C   s
   | j  ¡ S r1   )r*   Úhas_c_librariesr   r   r   r   r4      s    zbuild.has_c_librariesc                 C   s
   | j  ¡ S r1   )r*   Úhas_ext_modulesr   r   r   r   r5   ’   s    zbuild.has_ext_modulesc                 C   s
   | j  ¡ S r1   )r*   Úhas_scriptsr   r   r   r   r6   •   s    zbuild.has_scriptsZbuild_pyZ
build_clibZ	build_extr   )Ú__name__Ú
__module__Ú__qualname__Zdescriptionr   Zuser_optionsZboolean_optionsr   Zhelp_optionsr   r0   r2   r3   r4   r5   r6   Zsub_commandsr   r   r   r   r	      sF   ÿÿçÿÿ8ýr	   )
r%   r#   Zdistutils.corer   Zdistutils.errorsr   Zdistutils.utilr   r   r	   r   r   r   r   Ú<module>   s
   