From: PASCALE NOYRET Date: Fri, 13 May 2022 13:05:04 +0000 (+0200) Subject: enleve le test python 3.- et remplace par python3 X-Git-Tag: merge_uncertainty_odysee_1210~62^2~12^2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9b8f263632686ffb52a6fbf55452f330f78cd339;p=tools%2Feficas.git enleve le test python 3.- et remplace par python3 --- diff --git a/InterfaceQT4/eficas_go.py b/InterfaceQT4/eficas_go.py index 308aa513..775e252e 100755 --- a/InterfaceQT4/eficas_go.py +++ b/InterfaceQT4/eficas_go.py @@ -36,11 +36,11 @@ if ihmDir not in sys.path : sys.path.append(ihmDir) if ihmQTDir not in sys.path : sys.path.append(ihmQTDir) if editeurDir not in sys.path : sys.path.append(editeurDir) -# if sys.version_info[0] < 3: + if sys.version_info[0] < 3: # print('----------- sys.executable : ',sys.executable,' --------------') -EFICAS_PYTHON_VERSION_MIN=30600 -if sys.version_info[0]*10000+sys.version_info[1]*100 < EFICAS_PYTHON_VERSION_MIN: - print("Must be using at least Python 3.6") +#EFICAS_PYTHON_VERSION_MIN=30500 +#if sys.version_info[0]*10000+sys.version_info[1]*100 < EFICAS_PYTHON_VERSION_MIN: + print("Must be using at least Python 3") sys.exit() def lanceEficas(code=None, multi=False, langue='en', labelCode=None):