
    A                        d Z ddlZddlmZ ddlmZ ddlmZ ddlmZ dZdZ	g d	Z
ej                  j                  ej                  j                  e            Z eej                  j#                  ed
      d      5 Zej'                         j)                         Zddd        eej                  j#                  ed      d      5 Zej'                         Zddd       d Z G d dej                        Z G d dej                        Z ed5i dddedddddddddddd d!e	d"ed#d$d%g d&d'd(d)d*d+ ed,g-      d.d$d/d0d1gid2e
d3eed4 y# 1 sw Y   xY w# 1 sw Y   xY w)6z%Setup installation module for gsutil.    N)find_packages)setup)build_py)sdistz
text/plainay  
gsutil is a Python application that lets you access Google Cloud Storage from
the command line. You can use gsutil to do a wide range of bucket and object
management tasks, including:
 * Creating and deleting buckets.
 * Uploading, downloading, and deleting objects.
 * Listing buckets and objects.
 * Moving, copying, and renaming objects.
 * Editing object and bucket ACLs.
)zargcomplete>=3.6.2zcrcmod>=1.7zfasteners>=0.14.1zgcs-oauth2-boto-plugin>=3.3zgoogle-apitools>=0.5.32zhttplib2==0.20.4zgoogle-reauth>=0.1.0z,mock>=2.0.0, <=3.0.5; python_version < "3.3"zmonotonic>=1.4zpyOpenSSL>=0.13, <=24.2.1zretry_decorator>=1.0.0zsix>=1.17.0zgoogle-auth[aiohttp]==2.39.0zgoogle-auth-httplib2>=0.2.0VERSIONrCHECKSUMc                    t         j                  j                  |d      }| j                  |       t	        t         j                  j                  |d      d      5 }|j                  t               ddd       t	        t         j                  j                  |d      d      5 }|j                  t               ddd       y# 1 sw Y   RxY w# 1 sw Y   yxY w)zFPopulates necessary files into the gslib module and unit test modules.gslibr   wNr	   )ospathjoinmkpathopenwriter   r	   )self
target_dirfps      platform/gsutil/setup.pyPlaceNeededFilesr   C   s    ww||J0*++j BGGLLY/5HHW 6 BGGLLZ0#6"HHX 76	 65 76s   C$CCCc                       e Zd ZdZd Zd Zy)CustomBuildPyzBExcludes update command from package-installed versions of gsutil.c                     |D ]  }d|v st        j                  |        t        j                  j                  | |       y )Nzgslib/commands/update.py)r   unlinkr   byte_compile)r   filesfilenames      r   r   zCustomBuildPy.byte_compileT   s:    
 
$x	/
		(  ""4/    c                     | j                   s6t        | | j                         t        j                  j	                  |        y y N)dry_runr   	build_libr   run)r   s    r   r$   zCustomBuildPy.run^   s0    <<tT^^,D! r   N)__name__
__module____qualname____doc__r   r$    r   r   r   r   Q   s    J0"r   r   c                       e Zd Zd Zy)CustomSDistc                 ^    t         j                   j                  | ||       t        | |       y r!   )r   make_release_treer   )r   base_dirr   s      r   r-   zCustomSDist.make_release_treef   s"    	KK!!$%8T8$r   N)r%   r&   r'   r-   r)   r   r   r+   r+   d   s    %r   r+   namegsutilversionurlz,https://cloud.google.com/storage/docs/gsutildownload_urlz4https://cloud.google.com/storage/docs/gsutil_installlicensez
Apache 2.0authorzGoogle Inc.author_emailz"buganizer-system+187143@google.comdescriptionz@A command line tool for interacting with cloud storage services.long_descriptionlong_description_content_typezip_safeTclassifiers)z+Development Status :: 5 - Production/StablezEnvironment :: ConsolezIntended Audience :: Developersz*Intended Audience :: System Administratorsz2License :: OSI Approved :: Apache Software LicensezNatural Language :: EnglishzProgramming Language :: Pythonz#Programming Language :: Python :: 3z%Programming Language :: Python :: 3.9z&Programming Language :: Python :: 3.10z&Programming Language :: Python :: 3.11z&Programming Language :: Python :: 3.12z&Programming Language :: Python :: 3.13zTopic :: System :: FilesystemszTopic :: Utilitiespython_requiresz>=3.9, <3.14	platformsanypackagesthird_party)excludeinclude_package_dataentry_pointsconsole_scriptszgsutil = gslib.__main__:maininstall_requirescmdclass)r   r   r)   )r(   r   
setuptoolsr   r   setuptools.commandr   r   long_desc_content_type	long_descrequiresr   abspathdirname__file__CURDIRr   r   freadstripr   r	   r   r   r+   r)   r   r   <module>rS      s    , 	 $  ' $% 		( 
2	3	"'',,vy
)3/1FFHNN' 0 
"'',,vz
*C0AVVX( 1"H%% "&%%++ %  3	33 	73 H	3
 3 3 633 3 #93 33> #?3@ A3B  
C3T U3X 	:<W3\ ]3` "_3_ 0/ 10s   >EE*E'*E3