Salome HOME
restructuration of prerequisites detection as in SMESH, add GDAL info for reloaded...
[modules/hydrosolver.git] / tests / boundaryConditionsDlgTest.py
index 05a6dcde1aeff18d2bfb152727c16ed034233ef0..fd759e6c90fbe4f84921b219e340f40cfad9293b 100644 (file)
@@ -7,8 +7,9 @@ from PyQt5.QtWidgets import *
 cur_dir = os.path.dirname(os.path.realpath(__file__))
 data_dir = os.path.join(cur_dir, "data")
 
-hydro_solver_root = os.path.join(os.environ['HYDROSOLVER_ROOT_DIR'], 'lib', 'python2.7', 'site-packages', 'salome')
-sys.path.append(hydro_solver_root)
+#import sysconfig
+#pythonVersion = 'python' + sysconfig.get_python_version()
+#hydro_solver_root = os.path.join(os.environ['HYDROSOLVER_ROOT_DIR'], 'lib', pythonVersion, 'site-packages', 'salome', 'salome', 'hydro')
 from BndConditionsDialog import BoundaryConditionsDialog
 
 # Show the dialog