• File: bdist.cpython-38.opt-1.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python38/lib64/python3.8/distutils/command/__pycache__/bdist.cpython-38.opt-1.pyc
  • Date Modified: 10/26/2026 8:15 PM
  • File size: 3.59 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit
U

if@sHdZddlZddlmZddlTddlmZddZGdd	d	eZdS)
zidistutils.command.bdist

Implements the Distutils 'bdist' command (create a built [binary]
distribution).N)Command)*)get_platformcCsPddlm}g}tjD]"}|d|dtj|dfq||}|ddS)zFPrint list of available formats (arguments to "--format" option).
    r)FancyGetoptformats=Nz'List of available distribution formats:)Zdistutils.fancy_getoptrbdistformat_commandsappendformat_commandZ
print_help)rformatsformatZpretty_printerr</opt/alt/python38/lib64/python3.8/distutils/command/bdist.pyshow_formatss
rc
@seZdZdZddddefdddd	d
gZdgZdd
defgZdZ	dddZ
dddddddddg	Zddddddd d!d"d#	Zd$d%Z
d&d'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_rpmgztarzip)posixntrpmbztarxztarztartarwininstmsi)rzRPM distribution)
bdist_dumbzgzip'ed tar file)r#zbzip2'ed tar file)r#zxz'ed tar file)r#zcompressed tar file)r#ztar file)Z
bdist_wininstzWindows executable installer)r#zZIP file)Z	bdist_msizMicrosoft Installer)	rrrrrr r!rr"cCs.d|_d|_d|_d|_d|_d|_d|_dS)Nr)
bdist_base	plat_namerdist_dir
skip_buildgroupowner)selfrrrinitialize_optionsQszbdist.initialize_optionscCs|jdkr(|jrt|_n|dj|_|jdkrT|dj}tj|d|j|_|	d|j
dkrz|jtjg|_
Wn"t
k
rtdtjYnX|jdkrd|_dS)NZbuildzbdist.rz;don't know how to create built distributions on platform %sZdist)r%r'rZget_finalized_commandr$
build_baseospathjoinZensure_string_listrdefault_formatnameKeyErrorZDistutilsPlatformErrorr&)r*r,rrrfinalize_optionsZs*






zbdist.finalize_optionsc	Csg}|jD]>}z||j|dWq
tk
rFtd|Yq
Xq
tt|jD]h}||}||}||jkr|j||_	|dkr|j
|_
|j|_|||ddkrd|_|
|qXdS)Nrzinvalid format '%s'r#r)rr
rr2ZDistutilsOptionErrorrangelenZreinitialize_commandno_format_optionr
r)r(Z	keep_tempZrun_command)r*Zcommandsr
iZcmd_nameZsub_cmdrrrrunvs"


z	bdist.run)__name__
__module____qualname__ZdescriptionrZuser_optionsZboolean_optionsrZhelp_optionsr6r0r	rr+r3r8rrrrrsR
	r)	__doc__r-Zdistutils.corerZdistutils.errorsZdistutils.utilrrrrrrr<module>s