Current File : //usr/lib/python3/dist-packages/setuptools/_distutils/command/__pycache__/build.cpython-312.pyc |
�
_�d� � �X � d Z ddlZddlZddlmZ ddlmZ ddlmZ d� Z G d� d e� Z
y)
zBdistutils.command.build
Implements the Distutils 'build' command.� N� )�Command)�DistutilsOptionError)�get_platformc � � ddl m} | � y )Nr ��show_compilers)� ccompilerr r s �E/usr/lib/python3/dist-packages/setuptools/_distutils/command/build.pyr r s � �*��� c � � e Zd ZdZdddddddd d
e� z fddd
ddgZddgZdddefgZd� Z d� Z
d� Zd� Zd� Z
d� Zd� Zdefde
fdefdefgZy) �buildz"build everything needed to install)zbuild-base=�bz base directory for build library)zbuild-purelib=Nz2build directory for platform-neutral distributions)zbuild-platlib=Nz3build directory for platform-specific distributions)z
build-lib=NzWbuild directory for all distribution (defaults to either build-purelib or build-platlib)zbuild-scripts=Nzbuild directory for scripts)zbuild-temp=�tztemporary build directoryz
plat-name=�pz6platform name to build for, if supported (default: %s))z compiler=�czspecify the compiler type)z parallel=�jznumber of parallel build jobs)�debug�gz;compile extensions and libraries with debugging information)�force�fz2forcibly build everything (ignore file timestamps))zexecutable=�ez5specify final destination interpreter path (build.py)r r z
help-compilerNzlist available compilersc � � d| _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d| _ d | _
d | _ y )Nr r )�
build_base�
build_purelib�
build_platlib� build_lib�
build_temp�
build_scripts�compiler� plat_namer r �
executable�parallel��selfs r �initialize_optionszbuild.initialize_options4 s[ � �!��� "���!���������!�����
������
���
������
r c �� � | j �t � | _ nt j dk7 rt d� �dj | j t j j � }t t d� r|dz
}| j �/t j j | j d� | _
| j �2t j j | j d|z � | _ | j �=| j j# � r| j | _ n| j | _ | j$ �2t j j | j d|z � | _ | j&