
                  	           S r SSKJr  SSKJr  SSKJr  SSKJr  SSKrSSKrSSKJ	r	  SSKJ
r
  SSKrS	S
SSSSR                  \R                  " 5       S:X  a  SOS5      S/rSrS rS rS rS rS rS rg)z5Library of methods for manipulating virtualenv setup.    )absolute_import)division)print_function)unicode_literalsN)files)	platformscrcmodgrpciozpyopenssl==24.2.1google_crc32ccertifiznhttps://github.com/googleapis/enterprise-certificate-proxy/releases/download/v0.3.6/cryptography-42.0.7-{}.whlarmz!cp39-abi3-macosx_10_12_universal2zcp37-abi3-macosx_10_12_x86_64
setuptoolsenabledc                  "    [         R                  $ )zDWrap six.PY2, needed because mocking six.PY2 breaks test lib things.)sixPY2     8lib/googlecloudsdk/command_lib/config/virtualenv/util.pyIsPy2r   1   s    	.r   c                  >    [         R                  R                  5       $ )z;Wrapped because mocking directly can break test lib things.)r   OperatingSystem	IsWindowsr   r   r   r   r   6   s    		"	"	,	,	..r   c                 @    [         R                  R                  U 5      $ )z+Returns True if Virtual Env already exists.)ospathisdirve_dirs    r   VirtualEnvExistsr    ;   s    	v	r   c                 h    [         R                  R                  SR                  U [        5      5      $ )z#Returns True if enable file exists.{}/{})r   r   existsformatENABLE_FILEr   s    r   EnableFileExistsr&   @   s     	v{;	<<r   c                 Z    [         R                  " SR                  U [        5      S5        g)zCreate enable file.r"   r   N)r   WriteFileContentsr$   r%   r   s    r   CreateEnableFiler)   E   s    '..=yIr   c                 X    [         R                  " SR                  U [        5      5        g)zRemove enable file.r"   N)r   unlinkr$   r%   r   s    r   RmEnableFiler,   J   s    ))GNN6;/0r   )__doc__
__future__r   r   r   r   r   platformgooglecloudsdk.core.utilr   r   r   r$   	processorMODULESr%   r   r   r    r&   r)   r,   r   r   r   <module>r3      s    < &  % ' 	  * . 
 tV5( 	,,
   
/

=
J
1r   