• File: bdist.cpython-36.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/proc/self/root/usr/lib64/python3.6/distutils/command/__pycache__/bdist.cpython-36.pyc
  • Date Modified: 11/20/2026 11:26 PM
  • File size: 3.67 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit
3


 \@sHdZddlZddlmZddlTddlmZddZGdd	d	eZdS)
zidistutils.command.bdist

Implements the Distutils 'bdist' command (create a built [binary]
distribution).N)Command)*)get_platformcCsTddlm}g}x,tjD]"}|jd|dtj|dfqW||}|jddS)zFPrint list of available formats (arguments to "--format" option).
    r)FancyGetoptzformats=Nz'List of available distribution formats:)Zdistutils.fancy_getoptrbdistformat_commandsappendformat_commandZ
print_help)rformatsformatZpretty_printerr
/usr/lib64/python3.6/bdist.pyshow_formatssrc
@seZdZdZd6dddefd7d8d9d:d;gZdgZdd	defgZd<Z	dddZ
dddddd d!dd"g	Zd=d>d?d@dAdBdCdDdEd/	Zd0d1Z
d2d3Zd4d5Zd	S)Frz$create a built (binary) distributionbdist-base=b4temporary directory for creating built distributionsz
plat-name=pz;platform name to embed in generated filenames (default: %s)formats=N/formats for distribution (comma-separated list)	dist-dir=d=directory to put final built distributions in [default: dist]
skip-build2skip rebuilding everything (for testing/debugging)owner=u@Owner name used when creating a tar file [default: current user]group=gAGroup name used when creating a tar file [default: current group]zhelp-formatsz$lists available distribution formats	bdist_rpmgztarzip)posixntrpmbztarxztarztartarwininstmsiRPM distribution
bdist_dumbgzip'ed tar filebzip2'ed tar filexz'ed tar filecompressed tar filetar file
bdist_wininstWindows executable installerZIP file	bdist_msiMicrosoft Installer)	r&r"r'r(r)r*r+r#r,cCs.d|_d|_d|_d|_d|_d|_d|_dS)Nr)
bdist_base	plat_namerdist_dir
skip_buildgroupowner)selfr
r
rinitialize_optionsQszbdist.initialize_optionscCs|jdkr(|jrt|_n|jdj|_|jdkrT|jdj}tjj|d|j|_|j	d|j
dkry|jtjg|_
Wn"t
k
rtdtjYnX|jdkrd|_dS)NZbuildzbdist.rz;don't know how to create built distributions on platform %sZdist)r:r<rZget_finalized_commandr9
build_baseospathjoinZensure_string_listrdefault_formatnameKeyErrorZDistutilsPlatformErrorr;)r?rAr
r
rfinalize_optionsZs$





zbdist.finalize_optionscCsg}xH|jD]>}y|j|j|dWqtk
rHtd|YqXqWxztt|jD]h}||}|j|}||jkr|j||_	|dkr|j
|_
|j|_|||ddkrd|_|j
|q^WdS)Nrzinvalid format '%s'r.r)rr	r
rGZDistutilsOptionErrorrangelenZreinitialize_commandno_format_optionrr>r=Z	keep_tempZrun_command)r?ZcommandsriZcmd_nameZsub_cmdr
r
rrunvs"

z	bdist.run)rrr)rNr)rrr)rNr)rrr)rrr )r!)r!r-)r.r/)r.r0)r.r1)r.r2)r.r3)r4r5)r.r6)r7r8)__name__
__module____qualname__descriptionrZuser_optionsZboolean_optionsrZhelp_optionsrKrErr
r@rHrMr
r
r
rrsJ

	r)	__doc__rBZdistutils.corerZdistutils.errorsZdistutils.utilrrrr
r
r
r<module>s