3
\ @ sH d Z ddlZddlmZ ddlT ddlmZ dd ZG dd d eZdS )
zidistutils.command.bdist
Implements the Distutils 'bdist' command (create a built [binary]
distribution). N)Command)*)get_platformc C sT ddl m} g }x,tjD ]"}|jd| dtj| d f qW | |}|jd dS )zFPrint list of available formats (arguments to "--format" option).
r )FancyGetoptzformats=N z'List of available distribution formats:)Zdistutils.fancy_getoptr bdistformat_commandsappendformat_commandZ
print_help)r formatsformatZpretty_printer r
/usr/lib64/python3.6/bdist.pyshow_formats s r c
@ s e Zd ZdZd6ddde fd7d8d9d:d;gZdgZdd defgZd<Z dddZ
dddddd d!dd"g Zd=d>d?d@dAdBdCdDdEd/ Zd0d1 Z
d2d3 Zd4d5 Zd S )Fr z$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]zhelp-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&