g vddlmZddlZddlZejeZGddZdZGddZ dgZ y)) annotationsNceZdZdZddZedZedZedZedZ edZ dZ d Z d Z d Zd Zd Zy)Sessionz2Represents a virtual environment creation session.cX||_||_||_||_||_||_yN) _verbosity _app_data _interpreter_creator_seeder _activators)self verbosityapp_data interpretercreatorseeder activatorss E/opt/hc_python/lib/python3.12/site-packages/virtualenv/run/session.py__init__zSession.__init__ s.#!'  %c|jS)zThe verbosity of the run.)rrs rrzSession.verbositysrc|jS)zACreate a virtual environment based on this reference interpreter.)r rs rrzSession.interpreters   rc|jS)z\The creator used to build the virtual environment (must be compatible with the interpreter).)r rs rrzSession.creators}}rc|jS)zIThe mechanism used to provide the seed packages (pip, setuptools, wheel).)r rs rrzSession.seeder#s||rc|jS)z0Activators used to generate activations scripts.)r rs rrzSession.activators(src|j|j|j|jjj yr)_create_seed _activater pyenv_cfgwriters rrunz Session.run-s4    $$&rctjd|j|jjtj t tj dt |jy)Nz!create virtual environment via %sz%s)LOGGERinforr$debug _DEBUG_MARKER_Debugrs rrzSession._create3sH 7F  ]# T6$,,/0rc|j]|jjrFtjd|j|jj |j yyy)Nzadd seed packages via %s)renabledr&r'r$rrs rr z Session._seed9sG ;; "t{{':': KK2DKK @ KKOODLL )(; "rc|jredjd|jD}tjd||jD]}|j |j yy)Nz, c3fK|])}t|jjdd+yw) ActivatorN)type__name__replace).0is r z$Session._activate..@s*bRaQtAw//77 RHRas/1zadd activators for %s)rjoinr&r'generater)ractive activators rr!zSession._activate>sX ??YYbRVRaRabbF KK/ 8!__ ""4<<0- rc|Srrs r __enter__zSession.__enter__Es rc8|jjyr)r close)rexc_typeexc_valexc_tbs r__exit__zSession.__exit__Hs rNreturnNone)r2 __module__ __qualname____doc__rpropertyrrrrrr$rr r!r=rCr<rrrr s<&!!  ' 1 * 1rrzJ============================== target debug ==============================c eZdZdZddZddZy)r*zlazily populate debug.c||_yr)r)rrs rrz_Debug.__init__Rs  rcXtj|jjdS)N)indent)jsondumpsrr(rs r__repr__z_Debug.__repr__Uszz$,,,,Q77rNrD)rEstr)r2rGrHrIrrRr<rrr*r*Os 8rr*) __future__rrPlogging getLoggerr2r&rr)r*__all__r<rrrXsJ"    8 $@@F7 88 r