+
    :1jk'                         R t ^ RI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Ht  ! R	 R
]4      tR R ltR R ltR R ltR# )zjCLI implementation for `conda export`.

Dumps specified environment package specifications to the screen.
N)ArgumentParser	Namespace_SubParsersAction)KNOWN_SUBDIRS)dals)context)NULL)Environment)ENVIRONMENT_JSON_FORMATENVIRONMENT_YAML_FORMATc                       ] tR t^tRtR# )CondaExportWarning N)__name__
__module____qualname____firstlineno____static_attributes__r       5lib/python3.14/site-packages/conda/cli/main_export.pyr   r      s    r   r   c                $    V ^8  d   QhR\         /# )   return)str)formats   "r   __annotate__r      s          r   c                    ^RI Hp Hp \        P                  P                  4       pV! V4      p. R	OpV'       d8   VP                  R4       VP                  R4       VP                  RV R24       V'       d<   VP                  R4       VP                  R4       VP                  V ! V^R7      4       RP                  V4      # )
zGBuild ``conda export`` epilog (examples and plugin-driven format list).)!get_available_environment_formatsget_multiplatform_lockfile z+  Export a lockfile for multiple platforms:z    conda export --file z) --platform linux-64 --platform osx-arm64zAvailable output formats:)indent
)z	Examples:z  Export an environment spec:z1    conda export --from-history > environment.ymlr   z*  Export a lockfile for the same platform:z$    conda export --file explicit.txt)formatsr   r   r   plugin_manager!get_environment_exporters_groupedappendjoin)r   r   r"   multiplatform_lockfileexampless        r   epilogr)      s    V $$FFHG 8@H EF&'=&> ?7 7	

 349'!LM99Xr   c                0    V ^8  d   QhR\         R\        /# )r   sub_parsersr   )r   r   )r   s   "r   r   r   B   s     r r"3 r. rr   c           
      f   ^RI HpHpHp Rp\	        R4      P                  4       pV P                  ! R+RVRVR\        4       /VB pVP                  RRR	R
R7       VP                  RRRRR7       VP                  RRR	RRR7       VP                  RRRR7       V! V4       VP                  RRRRRR7       VP                  R\        RVR RR R!7       VP                  R"RRRR#R$7       VP                  R%RRRR&R$7       V! V4       VP                  R'RRRR(R$7       VP                  R)R*7       V# ),   )LazyChoicesActionadd_parser_jsonadd_parser_prefixz%Export a conda environment to a file.a&  
        Export a conda environment to a file. The set of supported formats
        depends on the plugins installed in your environment. Both portable
        environment specs and reproducible lockfiles may be available. See
        the epilog for the list of formats available here.
        helpdescriptionr)   z-cz	--channelr%   z+Additional channel to include in the export)actionr1   z-Oz--override-channels
store_truez Do not include .condarc channelsz
--platformz--subdirexport_platformszTarget platform(s)/subdir(s) for export (e.g. linux-64, osx-arm64, win-64). For formats that support multi-platform output, repeat the flag to produce a single file covering every platform.)r3   destr1   z--override-platformsz/Override the platforms specified in the condarcz-fz--fileNFzFile name or path for the exported environment. Standard filenames registered by the installed format plugins are auto-detected. Custom filenames require --format. Existing files are overwritten silently.)defaultrequiredr1   z--formatc                  P    \        \        P                  P                  4       4      # )N)sortedr   r#   get_exporter_format_mappingr   r   r   <lambda>"configure_parser.<locals>.<lambda>   s    V"">>@
r   FORMATzOverride the output format. When omitted, the format is detected from --file. See the epilog for the formats available in your installation.)r7   r8   r3   choices_funcmetavarr1   z--no-buildsz,Remove build specification from dependencies)r7   r3   r8   r1   z--ignore-channelsz0Do not include channel names with package names.z--from-historyz5Build environment spec from explicit specs in historyzconda.cli.main_export.execute)func)export)helpersr.   r/   r0   r   rstrip
add_parserr)   add_argumentr   set_defaults)r+   kwargsr.   r/   r0   summaryr2   ps   &,      r   configure_parserrK   B   s   NN5G	 fh  	 		  	 x		
 	A NN:	   NN/	   NNI  
 NN>  
 aNN   NN 
     NN;   NN?   ANND   NN7N8Hr   c                <    V ^8  d   QhR\         R\        R\        /# )r   argsparserr   )r   r   int)r   s   "r   r   r      s&     r r) r^ r rr   c                 V   ^RI Hp ^RIHp ^RIHp ^RIHp ^RIH	p \        \        P                  4      \        \        4      ,
          pV'       dC   V! RRP                  \        V4      4       RRP                  \        \        4      4       24      hV P                   pR	p	V\"        Jd   MgV P$                  '       d7   \        P&                  P)                  V P$                  4      p	V	P*                  pMV P,                  '       d   \.        pM\0        pV	'       g    \        P&                  P3                  V4      p	\5        \        P                  4      ^8  d)   V	P6                  '       g   V! R
V	P*                   R24      h\        P8                  p
\:        P<                  ! V
V! V
4      \        P>                  V P@                  V PB                  V PD                  \        PF                  R7      pV! V
RR7      pVPI                  4       pR	pV'       dK   R\5        V4       R\5        V4      ^8  d   RMR RT! V Uu. uF  qPK                  4       NK  	  up4       R2p\        P                   Uu. uF  pVPM                  V4      NK  	  ppV	P6                  '       d   V	P7                  V4      pMAV	PN                  '       d   V	PO                  V^ ,          4      pMV! RV	P*                   R24      hVPQ                  4       R,           pV P$                  '       d   \S        V P$                  R4      ;_uu_ 4       pVPU                  V4       R	R	R	4       V P,                  '       d(   T! RRRV P$                  RTRV'       d   V.M. /4       ^ # V'       d2   \        PV                  '       g   \X        PZ                  ! V\\        4       ^ # V'       d2   \        PV                  '       g   \X        PZ                  ! V\\        4       \_        VRR7       ^ # u upi u upi   + '       g   i     L; i)r   )env_name)dashlist)
PrefixData)CondaValueError)stdout_jsonzCould not find platform(s): z, z. Valid platforms include: Nz.Multiple platforms are not supported for the `z
` exporter)prefixnameplatformfrom_history	no_buildsignore_channelschannelsT)interoperabilityzXThe exported environment contains 3rd party Python packages.

Your environment contains z packagesr   zp installed via pip. Conda cannot reliably lock these packages for reproducible environments.

Detected packages:zo

Learn more: https://docs.conda.io/projects/conda/en/stable/user-guide/configuration/pip-interoperability.htmlzNo export method found for z	 exporterr!   wsuccessfiler   warnings)end)0base.contextrQ   	common.iorR   core.prefix_datarS   
exceptionsrT   commonrU   setr   r5   r   r&   r:   r   r   ra   r#   detect_environment_exporterrW   jsonr
   r   "get_environment_exporter_by_formatlenmultiplatform_exporttarget_prefixr	   from_prefixsubdirrY   rZ   r[   r\   get_python_packagesto_simple_match_specextrapolaterB   rD   openwritequietrb   warnr   print)rM   rN   rQ   rR   rS   rT   rU   unknowntarget_formatenvironment_exporterrV   envpdpypi_packageswarningpackagerX   envsexported_contentfps   &&                  r   executer      st   '$-,#'**+c-.@@G*499VG_+E*F G((,		&2G(H'IK
 	
 KKM D 	&55QQII 
 -11	/ 0  ""EEmT 	 	G$$%)$999<=Q=V=V<WWab
 	
 ""F 
!
!f&&..,,!!C 
FT	2B**,MG)),]);(<HCP]L^abLbShjDk l! }U}G557}UVW@ 	 7>6N6NO6N(COOH%6NDO000/DDTJ		$	$	$/66tAw?)*>*C*C)DIN
 	

 (..047 yyy$))S!!RHH%& "999tDIImW	"	  W]]]MM'#56 	 7===MM'#56B'M V
 P "!s   <P0P8PP(	)__doc__rb   argparser   r   r   conda.base.constantsr   
auxlib.ishr   rd   r   common.constantsr   models.environmentr	   -plugins.environment_exporters.environment_ymlr
   r   Warningr   r)   rK   r   r   r   r   <module>r      sN   
   /  " # ,	 	 Frlrr   