<!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>
B
    Re                 @   sT   d Z 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 )
zBdistutils.command.build

Implements the Distutils 'build' command.    N)Command)DistutilsOptionError)get_platformc              C   s   ddl m}  |   d S )Nr   )show_compilers)distutils.ccompilerr   )r    r   /builddir/build/BUILDROOT/alt-python37-setuptools-58.3.0-4.el8.x86_64/opt/alt/python37/lib/python3.7/site-packages/setuptools/_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_scriptscompiler	plat_namer   r   
executableparallel)selfr   r   r   initialize_options8   s    zbuild.initialize_optionsc             C   sd  | j d krt | _ ntjdkr&tdd| j ftjd d  }ttdrR|d7 }| jd krntj	
| jd| _| jd krtj	
| jd| | _| jd kr| j r| j| _n| j| _| jd krtj	
| jd| | _| jd krtj	
| jd	tjd d  | _| jd kr"tjr"tj	tj| _t| jtr`yt| j| _W n tk
r^   td
Y nX d S )NntzW--plat-name only supported on Windows (try using './configure --help' on your platform)z	.%s-%d.%d   gettotalrefcountz-pydebuglibtempzscripts-%d.%dzparallel should be an integer)r   r   osnamer   sysversion_infohasattrr   pathjoinr   r   r   distributionhas_ext_modulesr   r   r   normpath
isinstancer   strint
ValueError)r   plat_specifierr   r   r   finalize_optionsH   s<    













zbuild.finalize_optionsc             C   s    x|   D ]}| | q
W d S )N)get_sub_commandsrun_command)r   cmd_namer   r   r   run   s    z	build.runc             C   s
   | j  S )N)r,   has_pure_modules)r   r   r   r   r9      s    zbuild.has_pure_modulesc             C   s
   | j  S )N)r,   has_c_libraries)r   r   r   r   r:      s    zbuild.has_c_librariesc             C   s
   | j  S )N)r,   r-   )r   r   r   r   r-      s    zbuild.has_ext_modulesc             C   s
   | j  S )N)r,   has_scripts)r   r   r   r   r;      s    zbuild.has_scriptsbuild_py
build_clib	build_extr   )__name__
__module____qualname__descriptionr   user_optionsboolean_optionsr   help_optionsr   r4   r8   r9   r:   r-   r;   sub_commandsr   r   r   r   r	      s:   
8r	   )__doc__r'   r%   distutils.corer   distutils.errorsr   distutils.utilr   r   r	   r   r   r   r   <module>   s   