
    i]
                         S SK r S SKrS SKrSSKJr  S rS rS rS r\	S:X  a	   \" 5         gg! \
 a    \" S	5         gf = f)
    N   )ModuleGraphc            	         [         R                  " SS[        R                  R	                  [
        R                  5      -  S9n U R                  SSSSSS	9  U R                  S
SSSSS9  U R                  SSSSSSS	9  U R                  SSSS/ SS9  U R                  SSSS/ SS9  U R                  S S!SS"S#S$S9  U R                  S%S&SS"S'S(S9  U R                  S)S*S+S,S-9  U R                  5       nU$ ).Nresolvez%s -mmodulegraph)conflict_handlerprogz-dcountdebugr   zIncrease debug level)actiondestdefaulthelpz-qstore_constr   zClear debug level)r   r   constr   z-mz	--modules
store_truedomodsFz,arguments are module names, not script filesz-xNAMEappendexcludeszAdd NAME to the excludes list)metavarr   r   r   r   z-pPATHaddpathz"Add PATH to the module search path)r   r   r   r   r   z-gz--dotoutputdotzOutput a .dot graphz-hz--htmlhtmlzOutput a HTML filescriptsSCRIPT+zscripts to analyse)r   nargsr   )	argparseArgumentParserospathbasenamesys
executableadd_argument
parse_args)parseroptss     QC:\des-py\RoboSAPF\venv\Lib\site-packages\PyInstaller/lib/modulegraph/__main__.pyparse_argumentsr,      s]   $$");GGS^^,*./F W7A#  % ]   " k,u;  = fXJ8  : XvIr1  3 gm(%"  $ h}V*>  @ 835I  K DK    c                    [         R                  S S  nU(       a  US	 O%[        R                  R                  U S   5      US'   XE-   nUS:  aC  [	        S[         R
                  S9  U H%  n[	        S[        U5      [         R
                  S9  M'     [        XSUS9nU  HP  nU(       a5  USS  S:X  a  UR                  US S S S	/5        M,  UR                  U5        M?  UR                  U5        MR     U$ )
Nr   r   zpath:)filez   )r   r
   z.**)
r%   r#   r"   dirnameprintstderrreprr   import_hook
add_script)	r   r   
debuglevelr   path_extrasr#   itemmfargs	            r+   create_graphr=   (   s    88A;DG''//'!*-QDA~gCJJ'D%d#**5  
TJ	?B23x4s3Bxu5s#MM#  Ir-   c                     U S:X  a  UR                  5         g U S:X  a  UR                  5         g UR                  5         g )Nr   r   )graphreportcreate_xrefreport)output_formatr;   s     r+   output_graphrC   D   s/    
	&	 

		r-   c                      [        5       n [        U R                  U R                  U R                  U R
                  U R                  5      n[        U R                  U5        g )N)	r,   r=   r   r   r
   r   r   rC   r   )r*   r;   s     r+   mainrE   M   sD    D	dkk4::t||
%B b!r-   __main__z
[interrupt])r%   r"   r    modulegraphr   r,   r=   rC   rE   __name__KeyboardInterruptr3    r-   r+   <module>rK      sX    
 	  $B8" z   os   / A A 