+
     hu  c                   s    ^ RI t ^ RIHt ^ RIHtHtHt ^ RIHt ^ RI	H
t
 ^ RIHt ^ RIHt ^ RIHt ^ R	IHt ^ R
IHtHt ^ RIHt ^ RIHt ] P4                  ! ]4      t ! R R]4      tR# )i    N)Values)AnyDictList)default_environment)
print_json)__version__)
cmdoptions)Command)SUCCESS)BaseDistributionget_environment)stdlib_pkgs)path_to_urlc                   sb   a  ] tR t^t o RtRtRtV 3R lR ltV 3R lR ltV 3R lR	 lt	R
t
V tR# )InspectCommandzR
Inspect the content of a Python environment and produce a report in JSON format.
Tz
      %prog [options]c                s   < V ^8  d   QhRR/# )   returnN Zformat__classdict__   "C/usr/lib/python3.14/site-packages/pip/_internal/commands/inspect.py__annotate__InspectCommand.__annotate__   s     : :T :    c                s,   V P                   P                  R RRRR7       V P                   P                  RRRRRR7       V P                   P                  \        P                  ! 4       4       V P                  P                  ^ V P                   4       R	# )
z--localZ
store_trueFzSIf in a virtualenv that has global access, do not list globally-installed packages.)actiondefaulthelpz--useruserz,Only output packages installed in user-site.)Zdestr   r   r   N)Zcmd_optsZ
add_optionr   Z	list_pathZparserZinsert_option_group)selfs   &r   add_optionsZInspectCommand.add_options   s      / 	! 	
 	  ? 	! 	
 	  !5!5!78''4==9r   c                s<   < V ^8  d   QhRS[ RS[S[,          RS[/# )r   optionsargsr   )r    r   strZintr   r   r   r   r   0   s&      6 c s r   c                sT   \         P                  ! V4       \        VP                  4      P	                  VP
                  VP                  \        \        4      R 7      pRRR\        RV Uu. uF  q@P                  V4      NK  	  upR\        4       /p\        VR7       \        # u upi ))Z
local_onlyZ	user_onlyZskipZversionZ1Zpip_versionZ	installedZenvironment)Zdata)r   Zcheck_list_path_optionr   ZpathZiter_installed_distributionsZlocalr   Zsetr   r   _dist_to_dictr   r   r	   )r   r   r    ZdistsdistZoutputs   &&&   r   runZInspectCommand.run0   s    ))'2-JJ}}ll[! K 
 s;uEut,,T2uE.0	
 	 Fs   ,B%c                s<   < V ^8  d   QhRS[ RS[S[S[3,          /# )r   r#   r   )r
   r   r!   r   r   r   r   r   r   A   s$      "2 tCH~ r   c                sP   R VP                   RVP                  /pVP                  pVe   VP                  4       VR&   M$VP                  pVe   R\        V4      RRR//VR&   VP                  pVP                  '       d   WRR&   VP                  '       d   VP                  VR&   V# )	ZmetadataZmetadata_location
direct_urlZurlZdir_infoZeditableT	installer	requested)	Zmetadata_dictZinfo_locationr%   Zto_dicteditable_project_locationr   r&   Zinstalled_with_dist_infor'   )r   r#   Zresr%   r(   r&   s   &&    r   r"   ZInspectCommand._dist_to_dictA   s    **!3!3
 __
! * 2 2 4C )-(F(F%(4;'@A"D!%L! NN	>>>((((#~~C
r   r   N)__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__Zignore_require_venvZusager   r$   r"   Z__static_attributes__Z__classdictcell__)r   s   @r   r   r      s7      E: :( " r   r   )ZloggingZoptparser    Ztypingr   r   r   Zpip._vendor.packaging.markersr   Zpip._vendor.richr   Zpipr   Zpip._internal.clir   Zpip._internal.cli.base_commandr   Zpip._internal.cli.status_codesr	   Zpip._internal.metadatar
   r   Zpip._internal.utils.compatr   Zpip._internal.utils.urlsr   Z	getLoggerr)   Zloggerr   r   r   r   <module>r*      sJ      " " = '  ( 2 2 D 2 0			8	$IW Ir   