• File: session.cpython-37.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python37/lib/python3.7/site-packages/virtualenv/run/__pycache__/session.cpython-37.pyc
  • Date Modified: 05/26/2022 11:30 AM
  • File size: 3.7 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit
B

a
@sTddlmZmZddlZddlZddlmZGdddeZdZ	GdddeZ
dS)	)absolute_importunicode_literalsN)ensure_textc@seZdZdZddZeddZeddZedd	Zed
dZ	edd
Z
ddZddZddZ
ddZddZddZdS)Sessionz1Represents a virtual environment creation sessioncCs(||_||_||_||_||_||_dS)N)
_verbosity	_app_data_interpreter_creator_seeder_activators)self	verbosityZapp_datainterpretercreatorseeder
activatorsrG/opt/alt/python37/lib/python3.7/site-packages/virtualenv/run/session.py__init__szSession.__init__cCs|jS)zThe verbosity of the run)r)rrrrr
szSession.verbositycCs|jS)z@Create a virtual environment based on this reference interpreter)r)rrrrrszSession.interpretercCs|jS)z[The creator used to build the virtual environment (must be compatible with the interpreter))r	)rrrrrszSession.creatorcCs|jS)zHThe mechanism used to provide the seed packages (pip, setuptools, wheel))r
)rrrrr#szSession.seedercCs|jS)z/Activators used to generate activations scripts)r)rrrrr(szSession.activatorscCs(||||jjdS)N)_create_seed	_activaterZ	pyenv_cfgwrite)rrrrrun-szSession.runcCs@tdtt|j|jtttdt|jdS)Nz!create virtual environment via %sz%s)	logginginforstrrrdebug
_DEBUG_MARKER_Debug)rrrrr3s

zSession._createcCs2|jdk	r.|jjr.td|j|j|jdS)Nzadd seed packages via %s)rZenabledrrrr)rrrrr9sz
Session._seedcCsD|jr@tdddd|jDx|jD]}||jq,WdS)Nzadd activators for %sz, css |]}t|jddVqdS)Z	ActivatorN)type__name__replace).0irrr	<genexpr>Bsz$Session._activate.<locals>.<genexpr>)rrrjoinZgenerater)rZ	activatorrrrr>szSession._activatecCs|S)Nr)rrrr	__enter__GszSession.__enter__cCs|jdS)N)rclose)rexc_typeZexc_valZexc_tbrrr__exit__JszSession.__exit__N)r"
__module____qualname____doc__rpropertyr
rrrrrrrrr(r+rrrrr	s	rzJ============================== target debug ==============================c@s(eZdZdZddZddZddZdS)	rzlazily populate debugcCs
||_dS)N)r)rrrrrrTsz_Debug.__init__cCstt|S)N)rrepr)rrrr__unicode__Wsz_Debug.__unicode__cCstj|jjddS)N)indent)jsondumpsrr)rrrr__repr__Zsz_Debug.__repr__N)r"r,r-r.rr1r6rrrrrQsr)Z
__future__rrr4rZvirtualenv.util.sixrobjectrrrrrrr<module>sE