Hacked By AnonymousFox

Current Path : /opt/alt/python36/lib64/python3.6/distutils/command/__pycache__/
Upload File :
Current File : //opt/alt/python36/lib64/python3.6/distutils/command/__pycache__/bdist.cpython-36.opt-2.pyc

3

��2a��@sDddlZddlmZddlTddlmZdd�ZGdd�de�ZdS)	�N)�Command)�*)�get_platformcCsTddlm}g}x,tjD]"}|jd|dtj|df�qW||�}|jd�dS)Nr)�FancyGetoptzformats=�z'List of available distribution formats:)Zdistutils.fancy_getoptr�bdist�format_commands�append�format_command�
print_help)r�formats�formatZpretty_printer�r�*/opt/alt/python36/lib64/python3.6/bdist.py�show_formatssrc
@s�eZdZdZd6ddde�fd7d8d9d:d;gZdgZdd	defgZd<Z	ddd�Z
dddddd d!dd"g	Zd=d>d?d@dAdBdCdDdEd/�	Zd0d1�Z
d2d3�Zd4d5�Zd	S)Frz$create a built (binary) distribution�bdist-base=�b�4temporary 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-build�2skip rebuilding everything (for testing/debugging)�owner=�u�@Owner name used when creating a tar file [default: current user]�group=�g�AGroup name used when creating a tar file [default: current group]zhelp-formatsz$lists available distribution formats�	bdist_rpm�gztar�zip)�posix�nt�rpm�bztar�xztar�ztar�tar�wininst�msi�RPM distribution�
bdist_dumb�gzip'ed tar file�bzip2'ed tar file�xz'ed tar file�compressed tar file�tar file�
bdist_wininst�Windows executable installer�ZIP file�	bdist_msi�Microsoft Installer)	r'r#r(r)r*r+r,r$r-cCs.d|_d|_d|_d|_d|_d|_d|_dS)Nr)�
bdist_base�	plat_namer�dist_dir�
skip_build�group�owner)�selfrrr�initialize_optionsQszbdist.initialize_optionscCs�|jdkr(|jrt�|_n|jd�j|_|jdkrT|jd�j}tjj|d|j�|_|j	d�|j
dkr�y|jtjg|_
Wn"t
k
r�tdtj��YnX|jdkr�d|_dS)NZbuildzbdist.rz;don't know how to create built distributions on platform %sZdist)r;r=rZget_finalized_commandr:�
build_base�os�path�joinZensure_string_listr�default_format�name�KeyErrorZDistutilsPlatformErrorr<)r@rBrrr�finalize_optionsZs$





zbdist.finalize_optionscCs�g}xH|jD]>}y|j|j|d�Wqtk
rHtd|��YqXqWxztt|j��D]h}||}|j|�}||jkr�|j||_	|dkr�|j
|_
|j|_|||dd�kr�d|_|j
|�q^WdS)Nrzinvalid format '%s'r/r)rr	r
rHZDistutilsOptionError�range�lenZreinitialize_command�no_format_optionr
r?r>Z	keep_tempZrun_command)r@Zcommandsr
�iZcmd_nameZsub_cmdrrr�runvs"

z	bdist.run)rrr)rNr)rrr)rNr)rrr)rr r!)r")r"r.)r/r0)r/r1)r/r2)r/r3)r/r4)r5r6)r/r7)r8r9)�__name__�
__module__�__qualname__�descriptionrZuser_optionsZboolean_optionsrZhelp_optionsrLrFrr
rArIrNrrrrrsJ

	r)rCZdistutils.corerZdistutils.errorsZdistutils.utilrrrrrrr�<module>s


Hacked By AnonymousFox1.0, Coded By AnonymousFox