JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3RbrJFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr ٓgdddlmZddlZddlZddlmZddlmZddlm Z ddl m Z m Z ddl mZddlmZdd lmZd d lmZd d lmZd d lmZd dlmZddZddZddZddZdZdZ dZ!dZ"ddgZ#y)) annotationsN)partial) make_app_data)VirtualEnvConfigParser)LEVELS setup_report)Session)manual_upgrade) __version__)ActivationSelector)CreatorSelector) get_discover)SeederSelectorc|tjn|}t||||}|5|jddd|S#1swY|SxYw)a Create a virtual environment given some command line interface arguments. :param args: the command line arguments :param options: passing in a ``VirtualEnvOptions`` object allows return of the parsed options :param setup_logging: ``True`` if setup logging handlers, ``False`` to use handlers already registered :param env: environment variables to use :return: the session object of the creation (its structure for now is experimental and might change on short notice) N)osenvironsession_via_clirun)argsoptions setup_loggingenv of_sessions F/opt/hc_python/lib/python3.12/site-packages/virtualenv/run/__init__.pycli_runrsG "**C w sCJ     s AA c|tjn|}t|||\}}|j|t fd|D\}}}t j j|j|||S)aq Create a virtualenv session (same as cli_run, but this does not perform the creation). Use this if you just want to query what the virtual environment would look like, but not actually create it. :param args: the command line arguments :param options: passing in a ``VirtualEnvOptions`` object allows return of the parsed options :param setup_logging: ``True`` if setup logging handlers, ``False`` to use handlers already registered :param env: environment variables to use :return: the session object of the creation (its structure for now is experimental and might change on short notice) c3@K|]}|jywN)create).0ers r z"session_via_cli..3s'L8a(98s) rr build_parser parse_argstupler verbosityapp_data _interpreter) rrrrparserelementscreatorseeder activatorss ` rrr%s "**C#D'=#FFH%G"''L8'L"LGVZ   ct||tjn|}t||j dddddt |||t |||}t|t||}|jx|_ }|d|}t|t||t||t||g}|j|\}} |D]} | j!||j#||fS)Nz--with-tracebackwith_traceback store_trueFz>on failure also display the stacktrace internals of virtualenv)destactiondefaulthelpzfailed to find interpreter for )rrradd_version_flag add_argument_do_report_setup load_app_datahandle_extra_commandsr interpreterr) RuntimeErrorrrr parse_known_argshandle_selected_arg_parse enable_help) rrrrr*discoverr<msgr+_elements rr$r$>s  #G3;RZZC PFV   M VT=1D&'2G'"FD)H(0(<(<  $r/c |jddd|j||\}}|jddtt|j|j td|j|j  |jd dd |jd dd |j||\}}|j r|jj|S)Nz--read-only-app-datar2zMuse app data folder in read-only mode (write operations will fail with error))r4r6) namespacez --app-dataz-a data folder used as cache by the virtualenv) read_onlyr)r6typer5z--reset-app-dataz start with empty app data folderz--upgrade-embed-wheelsz.trigger a manual update of the embedded wheels) r8r>rrread_only_app_datarreset_app_datar(reset)rr*rrCs rr:r:hs  \ (((AJGQ  < ]g.H.Hgkk Zdg.H.HgkkZ    /    = (((AJGQ Nr/c^ddl}|jdddtd|jdy)Nrz --versionversionz %(prog)s z from zIdisplay the version of the virtualenv package and its location, then exit)r4rSr6) virtualenvr8r __file__)r*rTs rr7r7s8 K=z/B/B.CD X r/c djdttjD}d}|j d|j t jtd|}|j}|jddd d d d |jddd ddd |j|\}}|rt|jyy)Nz, c3VK|]!\}}tj|d|#yw)=N)logging getLevelName)r!clines rr#z#_do_report_setup..s.dMc'!TW11$78!=Mcs')z6verbosity = verbose - quiet, default {}, mapping => {}r')title descriptionz-vz --verbosecountverbosezincrease verbosity)r4r3r6r5z-qz--quietquietzdecrease verbosityr) joinsortedritemsadd_argument_groupformatrYrZadd_mutually_exclusive_groupr8r>rr') r*rr level_maprBverbosity_groupr'optionrCs rr9r9s dVTZT`T`TbMcddI BC//JJw33F1I> J0O <<>I 4W9Sgqrs 47Ocmno''-IFAV%%&r/rr)NTN)NNTNr)$ __future__rrYr functoolsrvirtualenv.app_datarvirtualenv.config.cli.parserrvirtualenv.reportrrvirtualenv.run.sessionr &virtualenv.seed.wheels.periodic_updater virtualenv.versionr plugin.activatorsr plugin.creatorsrplugin.discoveryrplugin.seedersrrrr$rFr;r:r7r9__all__r/rr{sf" -?2*A*1,**"2>! ! > '  r/