
                             S r SSKJr  SSKJr  SSKJr  SSKrSSKJr  SSKJ	r	  SSK
Jr  \R                   " S	 S
\R                  5      5       rg)z0`gcloud components copy-bundled-python` command.    )absolute_import)division)unicode_literalsN)base)util)update_managerc                   .    \ rS rSrSr\S 5       rS rSrg)CopyBundledPython   zMake a temporary copy of bundled Python installation.

Also print its location.

If the Python installation used to execute this command is *not* bundled, do
not make a copy. Instead, print the location of the current Python
installation.
c                 :    U R                   R                  S5        g )Nzvalue(python_location))display_info	AddFormat)parsers    -lib/surface/components/copy_bundled_python.pyArgsCopyBundledPython.Args(   s    
!!":;    c                     [         R                  " U5      nUR                  5       (       a  [        R                  " 5       nSU0$ [
        R                  nSU0$ )Npython_location)r   GetUpdateManagerIsPythonBundledr   
CopyPythonsys
executable)selfargsmanagerr   s       r   RunCopyBundledPython.Run,   sT    ##D)G  &113o
 // o //r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r   __static_attributes__r    r   r   r
   r
      s      < <0r   r
   )r%   
__future__r   r   r   r   googlecloudsdk.callioper   %googlecloudsdk.command_lib.componentsr   googlecloudsdk.core.updaterr   HiddenCommandr
   r    r   r   <module>r.      sB     7 &  ' 
 ( 6 6 0 0 0r   