• File: bdist.cpython-37.opt-2.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python37/lib64/python3.7/distutils/command/__pycache__/bdist.cpython-37.opt-2.pyc
  • Date Modified: 10/26/2026 8:08 PM
  • File size: 3.38 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit
B

YI~d@sDddlZddlmZddlTddlmZddZGdddeZdS)	N)Command)*)get_platformcCsTddlm}g}x,tjD]"}|d|dtj|dfqW||}|ddS)Nr)FancyGetoptzformats=z'List of available distribution formats:)Zdistutils.fancy_getoptrbdistformat_commandsappendformat_command
print_help)rformatsformatZpretty_printerr</opt/alt/python37/lib64/python3.7/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))zformats=Nz/formats for distribution (comma-separated list))z	dist-dir=dz=directory to put final built distributions in [default: dist])z
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]z
skip-buildz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)	rrrrrrr 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
dkry|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}xH|jD]>}y||j|dWqtk
rHtd|YqXqWxztt|jD]h}||}||}||jkr|j||_	|dkr|j
|_
|j|_|||ddkrd|_|
|q^WdS)Nrzinvalid format '%s'r"r)rr	r
r1ZDistutilsOptionErrorrangelenZreinitialize_commandno_format_optionr
r(r'Z	keep_tempZrun_command)r)Zcommandsr
iZcmd_nameZsub_cmdrrrrunvs"

z	bdist.run)__name__
__module____qualname__descriptionrZuser_optionsZboolean_optionsrZhelp_optionsr5r/rr
r*r2r7rrrrrs<

	r)r,Zdistutils.corerZdistutils.errorsZdistutils.utilrrrrrrr<module>s