
                  	           d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlZddlZddlm	Z	 ddlm
Z
 ddlZd	d
ddddj                   ej                         dk(  rdnd      dgZdZd Zd Zd Zd Zd Zd Zy)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                  "    t         j                  S )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                  >    t         j                  j                         S )z;Wrapped because mocking directly can break test lib things.)r   OperatingSystem	IsWindowsr   r   r   r   r   6   s    		"	"	,	,	..r   c                 @    t         j                  j                  |       S )z+Returns True if Virtual Env already exists.)ospathisdirve_dirs    r   VirtualEnvExistsr    ;   s    	v	r   c                 h    t         j                  j                  dj                  | t                    S )z#Returns True if enable file exists.{}/{})r   r   existsformatENABLE_FILEr   s    r   EnableFileExistsr&   @   s     	v{;	<<r   c                 X    t        j                  dj                  | t              d       y)zCreate enable file.r"   r   N)r   WriteFileContentsr$   r%   r   s    r   CreateEnableFiler)   E   s    '..=yIr   c                 V    t        j                  dj                  | t                     y)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85( 	,,
   
/

=
J
1r   