AlkantarClanX12

Your IP : 3.138.135.201


Current Path : /opt/alt/python310/lib64/python3.10/distutils/command/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib64/python3.10/distutils/command/__pycache__/bdist.cpython-310.opt-2.pyc

o

6��f9�@sF	ddlZddlmZddlTddlmZdd�ZGdd�de�ZdS)	�N)�Command)�*)�get_platformcCsR	ddlm}g}tjD]}|�d|dtj|df�q||�}|�d�dS)Nr)�FancyGetopt�formats=�z'List of available distribution formats:)Zdistutils.fancy_getoptr�bdist�format_commands�append�format_commandZ
print_help)r�formats�formatZpretty_printer�r�>/opt/alt/python310/lib64/python3.10/distutils/command/bdist.py�show_formatss
�rc	@s�eZdZdZdddde�fdddd	d
gZdgZdd
defgZdZ	ddd�Z
gd�Zddddddddd�Zdd�Z
dd�Zd d!�Zd
S)"rz$create a built (binary) distribution)zbdist-base=�bz4temporary directory for creating built distributionsz
plat-name=�pz;platform name to embed in generated filenames (default: %s))rNz/formats for distribution (comma-separated list))z	dist-dir=�dz=directory to put final built distributions in [default: dist])�
skip-buildNz2skip rebuilding everything (for testing/debugging))zowner=�uz@Owner name used when creating a tar file [default: current user])zgroup=�gzAGroup name used when creating a tar file [default: current group]rzhelp-formatsNz$lists available distribution formats)�	bdist_rpm�gztar�zip)�posix�nt)ZrpmrZbztarZxztarZztarZtarrZmsi)rzRPM distribution)�
bdist_dumbzgzip'ed tar file)rzbzip2'ed tar file)rzxz'ed tar file)rzcompressed tar file)rztar file)rzZIP file)Z	bdist_msizMicrosoft InstallercCs.d|_d|_d|_d|_d|_d|_d|_dS)Nr)�
bdist_base�	plat_namer�dist_dir�
skip_build�group�owner)�selfrrr�initialize_optionsOs
zbdist.initialize_optionscCs�|jdur|jr
t�|_n|�d�j|_|jdur*|�d�j}tj�|d|j�|_|�	d�|j
durMz
|jtjg|_
Wnt
yLtdtj��w|jdurWd|_dSdS)NZbuildzbdist.rz;don't know how to create built distributions on platform %sZdist)rr rZget_finalized_commandr�
build_base�os�path�joinZensure_string_listr�default_format�name�KeyErrorZDistutilsPlatformErrorr)r#r%rrr�finalize_optionsXs.


�

���

�zbdist.finalize_optionsc	Cs�g}|jD]}z|�|j|d�Wqty td|��wtt|j��D]4}||}|�|�}||jvr>|j||_	|dkrJ|j
|_
|j|_|||dd�vrWd|_|�
|�q(dS)Nrzinvalid format '%s'rr)rr
rr+ZDistutilsOptionError�range�lenZreinitialize_command�no_format_optionr
r"r!Z	keep_tempZrun_command)r#Zcommandsr
�iZcmd_nameZsub_cmdrrr�runts&
�

�z	bdist.run)�__name__�
__module__�__qualname__�descriptionrZuser_optionsZboolean_optionsrZhelp_optionsr/r)r	rr$r,r1rrrrrsH�������	r)r&Zdistutils.corerZdistutils.errorsZdistutils.utilrrrrrrr�<module>s