File: //snap/core20/current/lib/python3.8/distutils/command/__pycache__/bdist_wininst.cpython-38.pyc
U
�A�``? � @ sx d Z ddlZddlZddlZddlmZ ddlmZ ddlm Z m
Z
ddlT ddlm
Z
ddlmZ G d d
� d
e�ZdS )zzdistutils.command.bdist_wininst
Implements the Distutils 'bdist_wininst' command: create a windows installer
exe-program.� N)�Command)�get_platform)�create_tree�remove_tree)�*)�get_python_version)�logc
s� e Zd ZdZdddde� fdddd d
ddd
dddg
ZddddgZejdkZ � fdd�Z
dd� Zdd� Zdd� Z
dd� Zd'd!d"�Zd#d$� Zd%d&� Z� ZS )(�
bdist_wininstz-create an executable installer for MS Windows)z
bdist-dir=Nz1temporary directory for creating the distributionz
plat-name=�pz;platform name to embed in generated filenames (default: %s))� keep-temp�kzPkeep the pseudo-installation tree around after creating the distribution archive)ztarget-version=Nz6require a specific python version on the target system)�no-target-compile�cz/do not compile .py to .pyc on the target system)�no-target-optimize�oz;do not compile .py to .pyo (optimized) on the target system)z dist-dir=�dz-directory to put final built distributions in)zbitmap=�bz>bitmap to use for the installer instead of python-powered logo)ztitle=�tz?title to display on the installer background instead of default)�
skip-buildNz2skip rebuilding everything (for testing/debugging))zinstall-script=NzUbasename of installation script to be run after installation or before deinstallation)zpre-install-script=Nz{Fully qualified filename of a script to be run before any files are installed. This script need not be in the distribution)zuser-access-control=Nz�specify Vista's UAC handling - 'none'/default=no handling, 'auto'=use UAC if target Python installed for all users, 'force'=always use UACr r
r r �win32c s t � j||� t�dtd� d S )Nz^bdist_wininst command is deprecated since Python 3.8, use bdist_wheel (wheel packages) instead� )�super�__init__�warnings�warn�DeprecationWarning)�self�args�kw�� __class__� �5/usr/lib/python3.8/distutils/command/bdist_wininst.pyr ? s
�zbdist_wininst.__init__c C sR d | _ d | _d| _d| _d| _d | _d | _d | _d | _d | _ d | _
d | _d | _d S )Nr )
� bdist_dir� plat_name� keep_temp�no_target_compile�no_target_optimize�target_version�dist_dir�bitmap�title�
skip_build�install_script�pre_install_script�user_access_control)r r! r! r"