+
    :1j?                        R t ^ RIHt ^ RIHt ^ RIHt ^RIHt ]'       d   ^ RIH	t	H
t
Ht ]! ]4      tR R ltR R	 lt]R
 R l4       tR# )zdCLI implementation for `conda create`.

Creates new conda environments with the specified packages.
)annotations)	getLogger)TYPE_CHECKING)notices)ArgumentParser	Namespace_SubParsersActionc                   V ^8  d   QhRR/# )   returnstr )formats   "5lib/python3.14/site-packages/conda/cli/main_create.py__annotate__r      s           c                     ^RI Hp  ^RIHp V P                  P                  4       p. ROpV'       d<   VP                  R4       VP                  R4       VP                  V! V^R7      4       RP                  V4      # )zGBuild ``conda create`` epilog (examples and plugin-driven format list).context)!get_available_environment_formats zAvailable input formats:)indent
)z	Examples:z  Create from package specs:z+    conda create -n myenv python=3.12 numpyr   z;  Create from an environment spec (solved at install time):z0    conda create -n myenv --file environment.ymlr   z8  Create from a lockfile (no solve, exact reproduction):z-    conda create -n myenv --file explicit.txtr   z   Clone an existing environment:z%    conda create -n env2 --clone env1)base.contextr   formatsr   plugin_manager"get_environment_specifiers_groupedappendjoin)r   r   r   exampless       r   epilogr       sf    &: $$GGIGH 239'!LM99Xr   c                    V ^8  d   QhRRRR/# )r
   sub_parsersr   r   r   r   )r   s   "r   r   r   4   s     7 7"3 7. 7r   c           
     ^   ^RI Hp ^RIHp ^RIHp ^RIHpHpH	pH
p Rp	V! RV	 R24      p
V P                  ! RRV	R	V
R
\        4       /VB pVP                  RRRRR7       V! V4      w  rpV! V4       V! V4       V! V4       VP                  RVRRVR7       VP                  RR7       V# )r
   )dals)NULL)NullCountAction) add_parser_create_install_updateadd_parser_default_packagesadd_parser_platformadd_parser_solverzACreate a new conda environment from a list of specified packages.z	
        a  

        Environments can be created from package specs on the command line,
        from an input file whose format is detected from its name or
        contents, or as a clone of an existing environment. See the epilog
        for the input formats available in your installation.

        To use the newly-created environment, use 'conda activate envname'.
        This command requires either the -n NAME or -p PREFIX option unless
        --dry-run or --download-only is specified.
        helpdescriptionr    z--clonestorezDCreate a new environment as a copy of an existing local environment.ENV)actionr+   metavarz--devzUse `sys.executable -m conda` in wrapper scripts instead of CONDA_EXE. This is mainly for use during tests where we test new conda sources against old Python versions.dev)r/   r+   destdefaultzconda.cli.main_create.execute)func)create)
auxlib.ishr$   common.constantsr%   actionsr&   helpersr'   r(   r)   r*   
add_parserr    add_argumentset_defaults)r"   kwargsr$   r%   r&   r'   r(   r)   r*   summaryr,   psolver_mode_options_channel_optionss   &,             r   configure_parserrC   4   s    !'(  RG			 
		K 	 		  	 x		
 	A NNS	   /Oq.Q+O 34()*NN'    NN7N8Hr   c               $    V ^8  d   QhRRRRRR/# )r
   argsr   parserr   r   intr   )r   s   "r   r   r   o   s&     m m) m^ m mr   c                   ^ RI p^ RIHp ^RIHp ^RIHp ^RIHp ^RI	H
pHpHp	 ^RIHp
 ^RIHp ^R	IHpHpHpHpHp ^R
IHpHp V P2                  '       d   V P4                  '       d2   V	! ^ \7        V P4                  4      \9        V P4                  4      R4      hV P:                  '       d2   V	! ^ \7        V P:                  4      \9        V P:                  4      R4      hV P4                   F  pV! V4       K  	  V! V P4                  4       V P<                  '       EgH   V P>                  '       Eg5   V P4                  '       d#   \7        V P4                  4      ^8  d	   V! R4      hV P4                  '       dA   V! V P4                  ^ ,          4      w  ppVe   VV n        Ve   V P<                  f   VV n        V P<                  f   V P>                  e   VPA                  V R7       MV P4                  '       d	   V! R4      hVPB                  '       g   VPD                  '       d:   VPF                  PI                  V! 4       V4      V n        VPA                  V R7       MV! R4      hVPK                  RR7      pVPM                  4       '       dg   VPB                  '       d	   V! R4      hV! RVPN                   R2RRR7       \P        PS                  RVPN                  4       V
! VPN                  4       M/VPU                  4       '       d   V! RVPN                   R2RRR7       V! 4        V P2                  '       d
   V! W4       M	V! WR4       VPW                  4        T! V P<                  ;'       g    VPN                  4       ^ # )    N)mktemp)UNUSED_ENV_NAMEr   )
PrefixData)ArgumentErrorCondaValueErrorTooManyArgumentsError)rm_rf)
confirm_yn)get_name_prefix_from_env_fileprint_activate&validate_environment_files_consistencyvalidate_file_existsvalidate_subdir_config)installinstall_clonez8`--file` and `--clone` arguments are mutually exclusive.z;Did not expect any new packages or arguments for `--clone`.zMultiple environment files were specified but no name or prefix was provided. Please provide -n/--name or -p/--prefix when using multiple --file arguments.)argparse_argsziThe environment file(s) do not specify a name or prefix. Please provide one via -n/--name or -p/--prefix.z6one of the arguments -n/--name -p/--prefix is requiredT)validatez<Cannot `create --dry-run` with an existing conda environmentz0WARNING: A conda environment already exists at 'z'

Remove existing environment?
This will remove ALL directories contained within this specified prefix directory, including any other conda environments.

noF)r3   dry_runz Removing existing environment %sz<WARNING: A directory already exists at the target location 'zB'
but it is not a conda environment.
Continue creating environmentr5   ),ostempfilerJ   base.constantsrK   r   r   core.prefix_datarL   
exceptionsrM   rN   rO   gateways.disk.deleterP   	reportersrQ   commonrR   rS   rT   rU   rV   rW   rX   clonefilelenlistpackagesnameprefix__init__r\   download_onlypathr   from_contextis_environmenttarget_prefixloginfoexistsset_nonadmin)rE   rF   r]   rJ   rK   r   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   fpathrj   rk   prefix_datas   &&                     r   executerx   n   s   0&-RR,&  0 zzz999'DIITYYJ	  ==='DMM"T]]#M	  U# *4995999T[[[999TYY!+` 
 99981FLD& 	!dii&7$99 DKK$;40YYYC  ___ 5 5 5'',,vxADK40H  ))4)8K!!##??? "N  	>w?T?T>U V[ [ 	
 	3W5J5JKg##$					J7K`K`Ja b, , 	
  zzzd#h'49955 5 56r   N)__doc__
__future__r   loggingr   typingr   r   argparser   r   r   __name__rr   r    rC   rx   r   r   r   <module>r      sL   
 #    EE>7t 	m 	mr   