%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/opt/alt/python27/lib/python2.7/site-packages/clselect/clselectpython/
Upload File :
Create Path :
Current File : //proc/self/root/opt/alt/python27/lib/python2.7/site-packages/clselect/clselectpython/__init__.pyc

�
i�B^c@`s�ddlmZddlmZddlmZddlZddlZddlZddlmZm	Z	m
Z
dZdZdZ
d	efd
��YZdefd��YZd
�Zd�Zd�ZdZdS(i(tprint_function(tdivision(tabsolute_importN(tSTDOUTtcheck_outputtCalledProcessErrors"/usr/share/l.v.e-manager/cl.pythons
alt-pythons/opt/alt/pythontPythonErrorcB`seZdZRS(s9Top level error class for admin's part of Python selector(t__name__t
__module__t__doc__(((sQ/opt/alt/python27/lib/python2.7/site-packages/clselect/clselectpython/__init__.pyRstPythonConfigErrorcB`seZdZRS(s$Generic error class for PythonConfig(RRR	(((sQ/opt/alt/python27/lib/python2.7/site-packages/clselect/clselectpython/__init__.pyR
scC`sFytjt�Wn.tk
rA}|jtjjkrB�qBnXdS(N(tostmakedirst
CONFIG_DIRtOSErrorterrnotEEXIST(te((sQ/opt/alt/python27/lib/python2.7/site-packages/clselect/clselectpython/__init__.pytcreate_config_dirs s
cC`s-t|t�stStjd|�s)tStS(s>Return True if specified MAJOR version is valid for processings
^\d+\.\d+$(t
isinstancetstrtFalsetretmatchtTrue(tver((sQ/opt/alt/python27/lib/python2.7/site-packages/clselect/clselectpython/__init__.pytis_major_version(s
cC`s�i}x�tjdjt��D]�}dj|d�}dj||�}tjj|�sbqny%tdj|�dtdt	�}Wnt
k
r�qnX|j�d}i|d	6|d
6||<qW|S(sD Search CL python interpreters and return dict with info about them s{}*t.i����s{}/bin/python{}s{} -Vtshelltstderritfull_versiont	root_path(tglobtformattALT_PYTHON_PREFIXtjoinRtpathtisfileRRRRtsplit(trestfoldertmaj_vert
python_bintfull_ver((sQ/opt/alt/python27/lib/python2.7/site-packages/clselect/clselectpython/__init__.pytscan_python_versions1s%
R
t	ALT_NAMESR"RRR,(R
R-R"RR
RRR,(t
__future__RRRR RRt
subprocessRRRR
R-R"t	ExceptionRR
RRR,t__all__(((sQ/opt/alt/python27/lib/python2.7/site-packages/clselect/clselectpython/__init__.pyt<module>s,				

Zerion Mini Shell 1.0