HEX
Server: Apache/2.4.68 (Debian)
System: Linux as-cs-widget-demo-us-central1 6.1.0-44-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
User: root (0)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: //lib/google-cloud-sdk/platform/gsutil/__pycache__/gsutil.cpython-312.pyc
�

������dZddlmZddlmZddlmZddlmZddlZddlZddlZejZ
e
jdk7se
jdkse
jd	kDr6ejd
je
je
j��ejjdk(rdZnd
Zd�Zd�Zej$j'ej$j)ej$j+e���Zesed�ej$j1ed�Zej$j1ed�ZdZej8ded��ej8ded��ddddddddd d!d"d#d$d%efd&d'd(d)d*d+d,d-d.d/d0gZej$j1ed�ZeD]�\ZZ ej$jCej$j1ee��sed1e�d2e�d3��ej$jEdej$j1eee ����ej$j1ed4e�Z#ej$j1ed5�Z$	ddl%Z%d7�Z+e,d8k(re+�yy#e&$rEd6e'ejP�jS�vre$ne#Z*ej$jEde*�Y�ZwxYw)9zGWrapper module for running gslib.__main__.main() from the command line.�)�absolute_import)�print_function)�division)�unicode_literalsN��	�
a�Error: gsutil requires Python version 3.9-3.13, but a different version is installed.
You are currently running Python {}.{}
Follow the steps below to resolve this issue:
	1. Switch to Python 3.9-3.13 using your Python version manager or install an appropriate version.
	2. If you are unsure how to manage Python versions, visit [https://cloud.google.com/storage/docs/gsutil_install#specifications] for detailed instructions.��python2�python3c�r�tjjd|z�tjd�y)Nz%s
�)�sys�stderr�write�exit)�messages �platform/gsutil/gsutil.py�
OutputAndExitr.s$���*�*���6�G�#�$��(�(�1�+�c�v�dtjvryddl}|jtjd�y)a�Reloads the google module to prefer our third_party copy.

  When Python is not invoked with the -S option, it may preload the google module via .pth file.
  This leads to the "site_packages" version being preferred over gsutil "third_party" version.
  To force the "third_party" version, insert the path at the start of sys.path and reload the google module.

  This is a hacky. Reloading is required for the rare case that users have
  google-auth already installed in their Python environment.
  Note that this reload may cause an issue for Python 3.5.3 and lower
  because of the weakref issue, fixed in Python 3.5.4:
  https://github.com/python/cpython/commit/9cd7e17640a49635d1c1f8c2989578a8fc2c1de6.
  �googleNr)r�modules�	importlib�reload)rs r�_fix_google_moduler3s-���S�[�[� �
�����3�;�;�x�(�)rzYUnable to determine where gsutil is installed. Sorry, cannot run correctly without this.
�third_party�vendoredF�ignorez%.* httplib2 was already imported from)�categoryrz).* oauth2client was already imported from)�argcomplete�)�mockr")�funcsigsr")zgoogle-reauth-pythonr")�pyu2fr")�pyasn1r")zpyasn1-modulesr")�rsar")�apitoolsr")zgcs-oauth2-boto-pluginr")�	fastenersr")�	monotonicr")�	pyparsingr"�httplib2)zretry-decoratorr")�sixr")�
cachetools�src)�urllib3r/)�charset_normalizerr")�chardetr")�certifir")�idnar")�requestsr/)zgoogle-auth-library-pythonr")z#google-auth-library-python-httplib2r"zThere is no z1 library under the gsutil third-party directory (z).
The gsutil command cannot work properly when installed this way.
Please re-install gsutil per the installation instructions.�crcmod�
crcmod_osx�darwinc�z�t�ddl}tj|jj��y)Nr)r�gslib.__main__rr�__main__�main)�gslibs r�RunMainr>�s$������(�(�5�>�>��� �!rr;)-�__doc__�
__future__rrrr�osr�warnings�version_info�ver�major�minorr�format�submodule_pyversrr�path�dirname�abspath�realpath�__file__�
GSUTIL_DIR�join�THIRD_PARTY_DIR�VENDORED_DIR�MEASURING_TIME_ACTIVE�filterwarnings�UserWarning�THIRD_PARTY_LIBS�libdir�subdir�isdir�insert�CRCMOD_PATH�CRCMOD_OSX_PATHr6�ImportError�str�platform�lower�local_crcmod_pathr>�__name__�rr�<module>rcs��� N�&�%��'�	�
��
�����9�9��>�S�Y�Y��]�c�i�i�"�n�
�#�(�(�c�dj�dj�kn�kt�kt�vy�v�v�d@�������Q�������
*�&�W�W�_�_�R�W�W�_�_�R�W�W�-=�-=�h�-G�H�
I�
���7�8�
�'�'�,�,�z�=�9���w�w�|�|�O�Z�8���������!,� H�J������!,� L�N���� ������"�����!�"����������&�/�3��D�'�'�,�,�z�=�9��&�N�F�F�	�����r�w�w�|�|�O�V�<�	=��
��	"�#�
�(�(�/�/�!�R�W�W�\�\�/�6�6�B�C�'��g�g�l�l�?�H�6F�G���'�'�,�,���=��	(��"��z��	�)���!�(�+3�c�#�,�,�6G�6M�6M�6O�*O��'���(�(�/�/�!�&�'�
(�s�-J�AK�K