HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Python311/Scripts/__pycache__/pywin32_postinstall.cpython-311.pyc
�

0h�d����ddlZddlZddlZddlZddlZddlZddlZddlZeej	�
ej��d��d��ZGd�d��Z
e
ej��e_e
ej��e_gd�ZdZdZdejzZd	�Z	d d�Zd�Zd
�Zd�Zd�Zd!d�Zd"d�Zd#d�Zd#d�Zd�Zd�Z d�Z!d�Z"d�Z#de$de$fd�Z%d�Z&e'dkre&��dSdS)$�Nzpywin32_postinstall.log�wc� �eZdZd�Zd�Zd�ZdS)�Teec��||_dS�N)�f)�self�files  �CC:\Python311\Lib\site-packages\../../Scripts/pywin32_postinstall.py�__init__zTee.__init__s
�������c���|j�@	|j�|�dd����n#t$rYnwxYwt�|��dS)N�
z
)r�write�replace�OSError�tee_f)r	�whats  rrz	Tee.writesl���6��
�����T�\�\�$��7�7�8�8�8�8���
�
�
���
����
���D�����s�.8�
A�Ac��|j�+	|j���n#t$rYnwxYwt���dSr)r�flushrr)r	s rrz	Tee.flush#sQ���6��
�����������
�
�
���
����
���
�
�
�
�
s�#�
0�0N)�__name__�
__module__�__qualname__rrr�r
rrrsA����������������r
r))zwin32com.servers.interp�Interpreter)zwin32com.servers.dictionary�DictionaryPolicy)z!win32com.axscript.client.pyscript�PyScript��Software\Python\PythonCore\c��	tjtjtdtj��tjS#t
$rtjcYSwxYw)Nr)�winreg�OpenKey�HKEY_LOCAL_MACHINE�
root_key_name�KEY_CREATE_SUB_KEYr�HKEY_CURRENT_USERrr
r�
get_root_hkeyr'@sa��(����%�}�a��9R�	
�	
�	
��(�(���(�(�(��'�'�'�'�(���s�;>�A�A�c��ddl}ddlm}|�|jd|j|j��}	|	�|��|	�|��|r|	�	|��|r|	�
|��|s|r|	�||��|	�|j
��}
|
�|d��dS)Nr)�shell)�	pythoncom�win32com.shellr*�CoCreateInstance�CLSID_ShellLink�CLSCTX_INPROC_SERVER�IID_IShellLink�SetPath�SetDescription�SetArguments�SetWorkingDirectory�SetIconLocation�QueryInterface�IID_IPersistFile�Save)�path�description�filename�	arguments�workdir�iconpath�	iconindexr+r*�ilink�ipfs           r�create_shortcutrBNs������$�$�$�$�$�$��&�&�
����&�
��	
�
�E�
�M�M�$����	����%�%�%��&�
���9�%�%�%��+�
�!�!�'�*�*�*��3�9�3�
���h�	�2�2�2�
�
�
�y�9�
:�
:�C��H�H�X�q�����r
c���ddlm}m}d���D]1}||kr)t	||��}|�d|d��cS�2t
|�d����)Nr�r*�shellcona>
        CSIDL_COMMON_STARTMENU CSIDL_STARTMENU CSIDL_COMMON_APPDATA
        CSIDL_LOCAL_APPDATA CSIDL_APPDATA CSIDL_COMMON_DESKTOPDIRECTORY
        CSIDL_DESKTOPDIRECTORY CSIDL_COMMON_STARTUP CSIDL_STARTUP
        CSIDL_COMMON_PROGRAMS CSIDL_PROGRAMS CSIDL_PROGRAM_FILES_COMMON
        CSIDL_PROGRAM_FILES CSIDL_FONTSFz is an unknown path ID)r,r*rE�split�getattr�SHGetSpecialFolderPath�
ValueError)�	path_namer*rE�maybe�csidls     r�get_special_folder_pathrMhs���.�.�.�.�.�.�.�.�+�
,1�5�7�7�A�A���I����H�e�,�,�E��/�/��5�%�@�@�@�@�@���	�9�9�9�
:�
:�:r
c�.�ddl}ddl}		|�||d��dS#|j$re}|jdkr�t
r�d|�d|j��}|�d|d|j��}||j	kr�||j
krYd}~dSYd}~nd}~wwxYw��)Nrr�zError zY

If you have any Python applications running, please close them now
and select 'Retry'

zInstallation Error)�win32api�win32con�CopyFile�error�winerror�silent�strerror�
MessageBox�MB_ABORTRETRYIGNORE�IDABORT�IDIGNORE)�desc�src�destrPrQ�details�	full_desc�rcs        r�CopyToraws���O�O�O��O�O�O��	����c�4��+�+�+��F���~�	�	�	���1�$�$���
��S��S�S�@G�@P�S�S�
�
�$�$��9�2�H�4P���B��X�%�%�%���x�(�(�(�������)�(�(�(�(�����!	����	s�$�
B�AB�Bc��ddl}ddl}d|jjvrdnd}d|tjjtjj|fz}tj	�
|d|��}|j�||��}|j�|||���}|j
�|��}|�|��dS)Nrz_d.pyd�_dr(z%s%d%d%s.dll�pywin32_system32)�name�loader�origin)�importlib.machinery�importlib.util�	machinery�EXTENSION_SUFFIXES�sys�version_info�major�minor�osr9�join�ExtensionFileLoader�
ModuleSpec�util�module_from_spec�exec_module)�lib_dir�modname�	importlib�suffixr;rf�spec�mods        r�LoadSystemModuler}�s�������������!4�!G�G�G�T�T�R�F����������	!��H��w�|�|�G�%7��B�B�H�
�
 �
4�
4�W�h�
G�
G�F���)�)�w�v�h�)�W�W�D�
�.�
)�
)�$�
/�
/�C�
���s�����r
c
���t��}tj|t��}	tj||��}	tj||dtj|��tr tdt�d|�d|�d|����|�	��n#|�	��wxYw	|�	��dS#|�	��wxYw)Nrz-> �\�[z]=)
r'r!r"r$�	CreateKey�
SetValueEx�REG_SZ�verbose�print�Close)�key_name�
value_name�value�	root_hkey�root_key�my_keys      r�SetPyKeyValr��s������I��~�i��7�7�H�	��!�(�H�5�5��	���f�j�!�V�]�E�J�J�J��
Q��O�M�O�O�X�O�O�
�O�O�e�O�O�P�P�P��L�L�N�N�N�N��F�L�L�N�N�N�N����N�������������������s$�C�A	B�	C�B4�4C�C$Fc	��t��}tj|t��}	tj||dtj��}	tj||��trtdt�d|�d|�d���|���n#|���wxYw|r6tj	||��trtdt�d|����n4#t$r'}t|d|j��}|dkr�Yd}~nd}~wwxYw|���dS#|���wxYw)Nrz
-> DELETE rr��]rT�)
r'r!r"r$�
KEY_SET_VALUE�DeleteValuer�r�r��	DeleteKeyrrG�errno)r�r��
delete_keyr�r�r��whyrTs        r�
UnsetPyKeyValr��sc�����I��~�i��7�7�H�����(�A�v�7K�L�L��	���v�z�2�2�2��
N��L�=�L�L�H�L�L�z�L�L�L�M�M�M��L�L�N�N�N�N��F�L�L�N�N�N�N�����	@���X�x�0�0�0��
@��>�=�>�>�H�>�>�?�?�?��������3�
�C�I�6�6���q�=�=���=�=�=�=���������
	������������������sG�!C-�:B�C-�B1�1;C-�,D7�-
D�7D�D7�D�D7�7E
Tc�R�ddl}|r|jjj}n|jjj}i}t
sd|d<tD]g\}}t|��tj	|}t|dd��|d<t|dd��|d<t||��}||fi|���hdS)Nrr�quiet�DllRegisterServer�finalize_register�DllUnregisterServer�finalize_unregister)�win32com.server.register�server�register�RegisterClasses�UnregisterClassesr��com_modules�
__import__rl�modulesrG)r��win32com�func�flags�module�
klass_namer|�klasss        r�RegisterCOMObjectsr��s���#�#�#�#��:���'�7�����'�9���E�����g��)�����
��6�����k�&�!��%,�S�2E�t�%L�%L��!�"�'.�s�4I�4�'P�'P��#�$���Z�(�(����U���e�����
�r
c�J�|�tj��d}|rstj�|d��}tj�|��r$t
ddd��t
dd|��|Std��ntddd���dS)N�platlibzPyWin32.chm�HelpzHelp\Pythonwin Referencez@NOTE: PyWin32.chm can not be located, so has not been registeredT)r�)	�	sysconfig�	get_pathsrpr9rq�isfiler�r�r�)r�rw�chm_files   r�RegisterHelpFiler��s������%�'�'�	�2���J��7�<�<���7�7��
�7�>�>�(�#�#�	V����d�+�+�+��3�T�8�D�D�D��O��T�U�U�U�U��1�4�D�I�I�I�I��4r
c�t�ddl}|�tj��d}t��}|j�|dd��}|dz}dd|fd	d
|fdd
|fg}	|rl|D]h\}}}	t
j||��}
|rt
j|
|��}
t
j|
ddtj	|	��|
�
���in�|D]�\}}}		|r>t
j||��}
t
j|
|��|
�
��t
j||���]#t$r'}t|d|j��}|d
kr�Yd}~��d}~wwxYwddlm}
m}|
�|j|jdd��dS#ddlm}
m}|
�|j|jdd��wxYw)z�Add (or remove) Pythonwin to context menu for python scripts.
    ??? Should probably also add Edit command for pys files also.
    Also need to remove these keys on uninstall, but there's no function
    to add registry entries to uninstall log ???
    rNr��	Pythonwinz
Pythonwin.exez -edit "%1"zASoftware\Microsoft\Windows\CurrentVersion\App Paths\Pythonwin.exer(z6Software\Classes\Python.File\shell\Edit with Pythonwin�commandz;Software\Classes\Python.NoConFile\shell\Edit with PythonwinrTr�rD)rpr�r�r'r9rqr!r�r�r�r�r"r�rrGr�r,r*rE�SHChangeNotify�SHCNE_ASSOCCHANGED�SHCNF_IDLIST)r�rwrp�classes_root�
pythonwin_exe�pythonwin_edit_command�	keys_vals�key�sub_key�val�hkeyr�rTr*rEs               r�RegisterPythonwinr��sV���I�I�I����%�'�'�	�2�� �?�?�L��G�L�L��+��G�G�M�*�]�:��
U���	
�
I��"�	
�
N��"�	
��I�$
��	�%.�
�
�!��W�c��'��c�:�:���;�!�+�D�'�:�:�D��!�$��a����D�D�D��
�
�����
�&/�

�

�!��W�c�	��%�%�~�l�C�@�@���(��w�7�7�7��
�
�����$�\�3�7�7�7�7������&�s�J��	�B�B�H��1�}�}��%�}�}�}�}���������	3�2�2�2�2�2�2�2�
����'��)>��d�	
�	
�	
�	
�	
��	3�2�2�2�2�2�2�2�
����'��)>��d�	
�	
�	
�	
���s8�A6F�AD+�*F�+
E�5E�F�E�F�,F7c��t��tjkr0	td��}n.#t$rtd��}YnwxYwtd��}	tjt��tdz��}n5#t$r(dtjj	tjj
fz}YnwxYwtj�
||��S)N�CSIDL_COMMON_PROGRAMS�CSIDL_PROGRAMSz\InstallPath\InstallGroupzPython %d.%d)r'r!r#rMr�
QueryValuer$rlrmrnrorpr9rq)�fldr�
install_groups  r�get_shortcuts_folderr�8s������&�3�3�3�	=�*�+B�C�C�D�D���	=�	=�	=�*�+;�<�<�D�D�D�	=����
'�'7�8�8��
��)��O�O�]�-J�J�
�
�
�
���
�
�
�&���"���"�*
�
�
�
�
�
����
�7�<�<��m�,�,�,s!�.�A
�	A
�)B�/B9�8B9c�`�ddl}	ddl}ddl}ddlm}m}	|���r|�d|j��S|�d|j	��S#|j
|jf$r|���cYSwxYw#t$r|���cYSwxYw)NrrD)rPr+�win32processr,r*rE�IsWow64ProcessrH�CSIDL_SYSTEMX86�CSIDL_SYSTEM�	com_errorrS�GetSystemDirectory�ImportError)rPr+r�r*rEs     r�get_system_dirr�Qs����O�O�O�-���������2�2�2�2�2�2�2�2�	1��*�*�,�,�
Q��3�3�A�x�7O�P�P�P��/�/��8�3H�I�I�I���#�\�%7�8�	1�	1�	1��.�.�0�0�0�0�0�	1������-�-�-��*�*�,�,�,�,�,�-���s4�B�.A!�A!�!%B	�B�B	�	B�B-�,B-c�|�ddl}ddl}tj�tj�|j��d��}tj�tj�|j��d��}tj�tj�|j��d��}||fD]�}|dz}tj�|��r�tj�|��r�	tj�|��r+td|�d|�d���tj	|��n+tj
||��td	|�d
|�d�����#t$r}td|�d
|����Yd}~��d}~wwxYw��dS)Nrzdbi.pydz	dbi_d.pydzdbi.pyz.oldz	Old dbi 'z' already exists - deleting '�'z	renamed 'z'->'z.old'zFAILED to rename 'z': )rPrQrpr9rq�dirname�__file__r�r��remove�renamer)rPrQ�pyd_name�
pyd_d_name�py_name�this_pyd�	this_dest�excs        r�	fixup_dbir�cs����O�O�O��O�O�O��w�|�|�B�G�O�O�H�,=�>�>�	�J�J�H�����b�g�o�o�h�.?�@�@�+�N�N�J��g�l�l�2�7�?�?�8�+<�=�=�x�H�H�G��z�*�
?�
?���v�%�	�
�7�>�>�(�#�#�	?�����w�(?�(?�	?�

?��7�>�>�)�,�,�E��W�I�W�W�H�W�W�W�����I�h�'�'�'�'��I�h�	�2�2�2��C�h�C�C�H�C�C�C�D�D�D����
?�
?�
?��=�8�=�=��=�=�>�>�>�>�>�>�>�>�����
?�����
?�
?s�A5F�
F8�F3�3F8c��
�ddl}tj�tj�t
jd����r<tjtj�t
jd����d���D]?}t
j�	tj�||�����@d���D]�}dt
j
zdz|z}tjtj
fD]R}	tj||dz��n#t$rYnwxYw	tj||���C#t$rY�OwxYw��t!|d��t!|d	��ddl}t%jtj�|d
����}|st'd���t)��t
jfD�]�}d}	|D�]O}	tj�|	��}
tj�||
��}t-d|
z|	|��t.rt1d
|
�d|����d}tj�t
jd��tj�t
jd��g}|t
jkr|�	t
j��|D]U}
tj�|
|
��}tj�|��rtj|���V��Q|rnw��_#|j$rY}|jdkrHtj�|��r#d|z}t1|��t'|���Yd}~����d}~wwxYwt'd���		t9��nA#|j$r4}|jdkr�t1d��t1d��Yd}~nd}~wwxYwn3#t:$r&t1d��|���YnwxYwtjtA��tB��d}	tEd|��}t.rt1d��n3#t:$r&t1d��|���YnwxYwtG��	tId|��t.rt1d��n3#t:$r&t1d��|���YnwxYwtj�|dd��}tj�%|��s-t.rt1d|����tj&|��	tO��}tj�%|��r�tj�|d ��}tQtj�|d!��d"|d#t
j��t.rt1d$��|rItj�|d%��}d&}tQ|||��t.rt1d'��nt.rt1d(|�d)���n&#t:$r}t1|��Yd}~nd}~wwxYw	ddl)}n#tT$rYnwxYwt1d*��dS)+Nrzpywin32.pthzwin32 win32\lib Pythonwinzpythoncom pywintypesrz	\Modules\z\Debug�
pywintypesr+�pywin32_system32\*.*zNo system files to copy!!z
installing %szCopied z to rzLibrary\binzLib\site-packages\win32rOz�The file '%s' exists, but can not be replaced due to insufficient permissions.  You must reinstall this software as an Administratorz=You don't have enough permissions to install the system filesz7You do not have the permissions to install COM objects.z+The sample COM objects were not registered.z)FAILED to register the Python COM objectsTzRegistered help filezFailed to register help filez-Pythonwin has been registered in context menuz&Failed to register pythonwin as editorr��gen_pyzCreating directory �
PythonWin.lnkzPythonwin\Pythonwin.exezThe Pythonwin IDEr(zShortcut for Pythonwin created�$Python for Windows Documentation.lnkz(Documentation for the PyWin32 extensionsz!Shortcut to documentation createdzCan't install shortcuts - z is not a folderz3The pywin32 extensions were successfully installed.)+�	tracebackrpr9r�rqrl�prefix�unlinkrF�append�winverr!r#r&r�rr}rP�glob�RuntimeErrorr��basenamerar�r��existsrSrTr��	Exception�	print_excr�r'r$r�r�r��isdir�mkdirr�rB�win32com.clientr�)rwr�re�keyname�rootrP�files�dest_dir�worked�fname�base�dst�
bad_dest_dirs�bad_dest_dir�	bad_fnamer^�msgr��make_dirr��docr�s                      r�installr}sy������

�w�~�~�b�g�l�l�3�:�}�=�=�>�>�;�
�	�"�'�,�,�s�z�=�9�9�:�:�:�-�2�2�4�4�5�5����������W�d�3�3�4�4�4�4�'�,�,�.�.�
�
��2�S�Z�?�-�O�RV�V���-�v�/G�G�	�	�D�
�� ��w��':�;�;�;�;���
�
�
���
����
�� ��w�/�/�/�/���
�
�
���
����	��W�l�+�+�+��W�k�*�*�*��O�O�O�
�I�b�g�l�l�7�,C�D�D�E�E�E��8��6�7�7�7�$�%�%�s�z�2�,
�,
����%	��
-�
-���w�'�'��.�.���g�l�l�8�T�2�2�����-�u�c�:�:�:��5��3�D�3�3�c�3�3�4�4�4����G�L�L���^�<�<��G�L�L���-H�I�I�!�
��s�z�)�)�!�(�(���4�4�4�$1�-�-�L� "����\�4� @� @�I��w�~�~�i�0�0�-��	�)�,�,�,��	-�
�
���
���~�	�	�	���1�$�$��7�>�>�#�&�&�,�F�HK�L��
�#�J�J�J�&�s�+�+�+�����������	���� �K�
�
�	
�

�	A�� � � � ���~�	A�	A�	A���1�$�$���K�L�L�L��?�@�@�@�@�@�@�@�@�����		A������
����
�9�:�:�:���������������]�_�_�m�4�4�4��H�*�#�D�'�2�2��
�	*��(�)�)�)�������
�,�-�-�-��������������K�K�K�C��$��(�(�(�
�	C��A�B�B�B�������
�6�7�7�7��������������w�|�|�G�Z��:�:�H�
�7�=�=��"�"���	4��2��2�2�3�3�3�
�������$�%�%���7�=�=����	M��'�,�,�t�_�5�5�C������W�&@�A�A�#����
�
�
�
��
8��6�7�7�7��
?��g�l�l�4�)O�P�P��@����#�s�3�3�3��?��=�>�>�>���
M��K�4�K�K�K�L�L�L�������
�g�����������������

��������
�
�
���
����
�
?�@�@�@�@�@s��"D;�;
E�E�E"�"
E/�.E/�:EM�
N6�A
N1�0N1�1N6�
O�P�
P�#*P�
P�P�P�-Q�
Q�7R�-S�
S� T�-T7�6T7�(DZ-�-
[�7[�[�[�
[&�%[&c���t|d��t|d��	td��n)#t$r}td|����Yd}~nd}~wwxYw	t	d|��t
rtd��n)#t$r}td|����Yd}~nd}~wwxYw	t
d|��t
rtd��n)#t$r}td|����Yd}~nd}~wwxYw	tj�	|d	d
��}tj�
|��r-tj|��t
rtd|����tj�	|dd
��}tj
tj�	|d����D]}tj|���	tjtj�	|dd����n#t$rYnwxYw	tjtj�	|dd����n#t$rYnwxYwn)#t$r}td|����Yd}~nd}~wwxYw	t!��}dD]n}tj�	||��}tj�|��r-tj|��t
rtd|�����on)#t$r}td|����Yd}~nd}~wwxYwtj
tj�	|d����}	t%��t&jfD]�}	d}
|D]�}tj�|��}tj�	|	|��}tj�|��rS	tj|��d}
t
rtd|z����#t$rtd|����Y��wxYw��|
rdS��dS#t$r}td|����Yd}~dSd}~wwxYw)Nr�r+Fz"Failed to unregister COM objects: zUnregistered help filez Failed to unregister help file: zUnregistered Pythonwinz Failed to unregister Pythonwin: r�r�zRemoved directory r��pywinz*.cfc�win32zdbi.pyd.oldz
dbi_d.pyd.oldzFailed to remove misc files: )r�r�zRemoved zFailed to remove shortcuts: r�rrzRemoved file %szFAILED to remove zFAILED to remove system files: )r}r�r�r�r�r�r�rpr9rqr��shutil�rmtreer�r�rr�r�r�rlr�r�)
rwr��gen_dir�	pywin_dirr�r��link�fqlinkr�r�r�r�r�s
             r�	uninstallr
's5���W�l�+�+�+��W�k�*�*�*�:��5�!�!�!�!���:�:�:�
�8�3�8�8�9�9�9�9�9�9�9�9�����:����,����(�(�(��	,��*�+�+�+���	�8�8�8�
�6��6�6�7�7�7�7�7�7�7�7�����8����,��%��)�)�)��	,��*�+�+�+���	�8�8�8�
�6��6�6�7�7�7�7�7�7�7�7�����8����5��'�,�,�w�
�H�=�=��
�7�=�=��!�!�	6��M�'�"�"�"��
6��4�7�4�4�5�5�5��G�L�L��+�w�?�?�	��Y�r�w�|�|�I�w�?�?�@�@�	�	�E��I�e�����	��I�b�g�l�l�7�G�]�C�C�D�D�D�D���	�	�	��D�	����	��I�b�g�l�l�7�G�_�E�E�F�F�F�F���	�	�	��D�	�������5�5�5�
�3�c�3�3�4�4�4�4�4�4�4�4�����5����	4�#�%�%��M�	-�	-�D��W�\�\�$��-�-�F��w�~�~�f�%�%�
-��	�&�!�!�!��-��+�T�+�+�,�,�,��	-���4�4�4�
�2�S�2�2�3�3�3�3�3�3�3�3�����4����
�I�b�g�l�l�7�,C�D�D�E�E�E�7�'�)�)�3�:�6�	�	�H��F��

9�

9���w�'�'��.�.���g�l�l�8�T�2�2���7�>�>�#�&�&�9�9��	�#����!"��"�=�!�"3�s�";�<�<�<���$�9�9�9��7�#�7�7�8�8�8�8�8�9����
9��
����
�	�	�� �7�7�7�
�5��5�5�6�6�6�6�6�6�6�6�6�����7���s�2�
A�A�A�B�
B)�
B$�$B)�-C�
C:�C5�5C:�>CI �3H
�	I �

H�I �H�I �3I�I �
I�I �I�I � 
J�*J�J�
A?L
�

L0�L+�+L0�&BQ�'/P�Q�P6�3Q�5P6�6Q�?Q�
Q)�Q$�$Q)�location�returnc��tj�|��}tj�|��st	jd|�d����|S)NzPath "z" is not an existing directory!)rpr9�abspathr��argparse�ArgumentTypeError)rs r�verify_destinationr�sU���w���x�(�(�H�
�7�=�=��"�"�
��(�>�X�>�>�>�
�
�	
��Or
c�H�tjtjd���}|�dddd���|�dddd	���|�d
td���|�d
ddd���|�dddd���|�dtj��dtd���|���}|j	std|����|j|jzs|�
d��|j�,	tj|jd��n#t"$rYnwxYw|j}|j	}|jrt|j��|jrt)|j��dSdS)Na�A post-install script for the pywin32 extensions.

    * Typical usage:

    > python -m pywin32_postinstall -install

    * or (shorter but you don't have control over which python environment is used)

    > pywin32_postinstall -install

    You need to execute this script, with a '-install' parameter,
    to ensure the environment is setup correctly to install COM objects, services, etc.
    )�formatter_classr:z-installF�
store_truez7Configure the Python environment correctly for pywin32.)�default�action�helpz-removez7Try and remove everything that was installed or copied.z-waitz<Wait for the specified process to terminate before starting.)�typerz-silentz?Don't display the "Abort/Retry/Ignore" dialog for files in use.z-quietz Don't display progress messages.z-destinationr�z$Location of the PyWin32 installation)rrrzParsed arguments are: z1You need to either choose to -install or -remove!r)r�ArgumentParser�RawDescriptionHelpFormatter�add_argument�intr�r�r�
parse_argsr�r�rr�rS�waitrp�waitpidrrU�destinationr
)�parser�argsrUr�s    r�mainr&�s&��
�
$� �<�����F� ������
F�	����������
F�	��������
�
K�����
������
O�	����������
/�	���������#�%�%�i�0�
�
3�	���������D��:�/�
�-�t�-�-�.�.�.��<�$�+�%�J����H�I�I�I��y��	��J�t�y�!�$�$�$�$���	�	�	��D�	�����[�F��*�n�G��|�"��� �!�!�!��{�$��$�"�#�#�#�#�#�$�$s�0E�
E�E�__main__)r(r(r(r)F)T)TN)(rr�rprrlr��tempfiler!�openr9rq�
gettempdirrr�stderr�stdoutr�rUr�r�r$r'rBrMrar}r�r�r�r�r�r�r�r�rr
�strrr&rrr
r�<module>r.sj��
��������	�	�	�	�
�
�
�
�
�
�
�
���������
�
�
�
����G�L�L������!����	�	����������*�S���_�_��
�
�S���_�_��
�����
����0�3�:�=�
�	(�	(�	(�ST�����4;�;�;����F���&�������.����&����$=
�=
�=
�=
�@-�-�-�2-�-�-�$?�?�?�4gA�gA�gA�TU7�U7�U7�|��������K$�K$�K$�\�z����D�F�F�F�F�F��r