vayukah@vayu-ubuntu:~/Desktop/salome_latest/SALOME-9.12.0-199e46fd182dbe93514b9ec2beb64400/SALOME-9.12.0$ salome_folder=SALOME-9.12.0 vayukah@vayu-ubuntu:~/Desktop/salome_latest/SALOME-9.12.0-199e46fd182dbe93514b9ec2beb64400/SALOME-9.12.0$ cd .. vayukah@vayu-ubuntu:~/Desktop/salome_latest/SALOME-9.12.0-199e46fd182dbe93514b9ec2beb64400$ cd $salome_folder vayukah@vayu-ubuntu:~/Desktop/salome_latest/SALOME-9.12.0-199e46fd182dbe93514b9ec2beb64400/SALOME-9.12.0$ sed 's|# context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/system_dep/gl")|# context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/system_dep/gl")\n context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/extra_libs")|' "./mesa_salome" #! /usr/bin/env python3 ################################################################ # WARNING: this file is automatically generated by SalomeTools # # WARNING: and so could be overwritten at any time. # ################################################################ import os import sys import subprocess import os.path # Add the pwdPath to able to run the launcher after unpacking a package # Used only in case of a salomeTools package out_dir_Path=os.path.dirname(os.path.realpath(__file__)) # Preliminary work to initialize path to SALOME Python modules def __initialize(): sys.path[:0] = [ out_dir_Path + r'/BINARIES-CO7/KERNEL/bin/salome' ] # define folder to store omniorb config (initially in virtual application folder) try: from salomeContextUtils import setOmniOrbUserPath setOmniOrbUserPath() except Exception as e: print(e) sys.exit(1) # End of preliminary work # salome doc only works for virtual applications. Therefore we overwrite it with this function def _showDoc(modules): for module in modules: modulePath = os.getenv(module+"_ROOT_DIR") if modulePath != None: baseDir = os.path.join(modulePath, "share", "doc", "salome") docfile = os.path.join(baseDir, "gui", module.upper(), "index.html") if not os.path.isfile(docfile): docfile = os.path.join(baseDir, "tui", module.upper(), "index.html") if not os.path.isfile(docfile): docfile = os.path.join(baseDir, "dev", module.upper(), "index.html") if os.path.isfile(docfile): out, err = subprocess.Popen(["xdg-open", docfile]).communicate() else: print("Online documentation is not accessible for module:", module) else: print(module+"_ROOT_DIR not found!") def main(args): # Identify application path then locate configuration files __initialize() if '--help' in args: from salomeContext import usage usage() sys.exit(0) reinitialise_paths=True if '--keep-paths' in args: reinitialise_paths=False args.remove('--keep-paths') #from salomeContextUtils import getConfigFileNames #configFileNames, args, unexisting = getConfigFileNames( args, checkExistence=True ) #if len(unexisting) > 0: # print("ERROR: unexisting configuration file(s): " + ', '.join(unexisting)) # sys.exit(1) # Create a SalomeContext which parses configFileNames to initialize environment try: from salomeContext import SalomeContext, SalomeContextException if 'appendVariable' not in dir(SalomeContext): # check whether the appendVariable method is implemented def appendVariable(self, name, value, separator=os.pathsep): if value == '': return value = os.path.expandvars(value) # expand environment variables env = os.getenv(name, None) if env is None: os.environ[name] = value else: os.environ[name] = env + separator + value return SalomeContext.appendVariable = appendVariable context = SalomeContext(None) # Here set specific variables, if needed # context.addToPath('mypath') # context.addToLdLibraryPath('myldlibrarypath') # context.addToPythonPath('mypythonpath') # context.setVariable('myvarname', 'value') context.setVariable(r"LD_LIBRARY_PATH", "", overwrite=True) # Logger level error context.getLogger().setLevel(40) context.setVariable(r"PRODUCT_ROOT_DIR", out_dir_Path + r"", overwrite=True) # PRODUCT environment context.setVariable(r"SALOME_trace", r"local", overwrite=True) context.setVariable(r"SALOME_MODULES", r"SHAPER,SHAPERSTUDY,GEOM,SMESH,PARAVIS,YACS,JOBMANAGER", overwrite=True) context.setVariable(r"PYTHONIOENCODING", r"UTF_8", overwrite=True) context.setVariable(r"SALOME_MODULES_ORDER", r"SHAPER:SHAPERSTUDY:GEOM:SMESH", overwrite=True) context.setVariable(r"ROOT_SALOME_INSTALL", r"$PRODUCT_ROOT_DIR", overwrite=True) context.setVariable(r"SALOME_ON_DEMAND", r"HIDE", overwrite=True) context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/system_dep") # embedded sys libs comming from CentOS7 to make the archive universal # uncomment the line to also embed GL libs (not recommended unless you do not have them installed on your system) # context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/system_dep/gl") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/extra_libs") #[Python] context.setVariable(r"PYTHONHOME", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.setVariable(r"PYTHON_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.setVariable(r"PYTHON_INSTALL_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.setVariable(r"PYTHON_VERSION", r"3.6", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/Python") context.addToPath(out_dir_Path + r"/BINARIES-CO7/Python/bin") if reinitialise_paths: context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/Python/lib") else: context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/Python/lib") context.setVariable(r"PYTHON_INCLUDE", out_dir_Path + r"/BINARIES-CO7/Python/include/python3.6", overwrite=True) if reinitialise_paths: context.setVariable(r"PYTHONPATH", out_dir_Path + r"/BINARIES-CO7/Python/lib/python3.6", overwrite=True) else: context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python3.6") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python3.6/site-packages") context.setVariable(r"PYTHONBIN", out_dir_Path + r"/BINARIES-CO7/Python/bin/python3", overwrite=True) context.setVariable(r"PYTHON_LIBDIR", r"lib/python${PYTHON_VERSION}/site-packages", overwrite=True) #[lapack] context.setVariable(r"LAPACKHOME", out_dir_Path + r"/BINARIES-CO7/lapack", overwrite=True) context.setVariable(r"LAPACK_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/lapack", overwrite=True) context.setVariable(r"LAPACK_SRC", out_dir_Path + r"/BINARIES-CO7/lapack/SRC", overwrite=True) context.setVariable(r"BLAS_SRC", out_dir_Path + r"/BINARIES-CO7/lapack/BLAS/SRC", overwrite=True) context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/lapack/lib") context.setVariable(r"BLAS", out_dir_Path + r"/BINARIES-CO7/lapack/lib", overwrite=True) context.setVariable(r"LAPACK", out_dir_Path + r"/BINARIES-CO7/lapack/lib", overwrite=True) context.setVariable(r"ATLAS", out_dir_Path + r"/BINARIES-CO7/lapack/lib", overwrite=True) #[openmpi] context.setVariable(r"OPENMPIDIR", out_dir_Path + r"/BINARIES-CO7/openmpi", overwrite=True) context.setVariable(r"OPAL_PREFIX", out_dir_Path + r"/BINARIES-CO7/openmpi", overwrite=True) context.setVariable(r"MPI_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/openmpi", overwrite=True) context.setVariable(r"MPI_ROOT", out_dir_Path + r"/BINARIES-CO7/openmpi", overwrite=True) context.setVariable(r"MPI_INCLUDE_DIR", out_dir_Path + r"/BINARIES-CO7/openmpi/include", overwrite=True) context.setVariable(r"MPI_C_COMPILER", out_dir_Path + r"/BINARIES-CO7/openmpi/bin/mpicc", overwrite=True) context.setVariable(r"MPI_CXX_COMPILER", out_dir_Path + r"/BINARIES-CO7/openmpi/bin/mpicxx", overwrite=True) context.setVariable(r"MPI_Fortran_COMPILER", out_dir_Path + r"/BINARIES-CO7/openmpi/bin/mpifort", overwrite=True) context.setVariable(r"MPIEXEC_EXECUTABLE", out_dir_Path + r"/BINARIES-CO7/openmpi/bin/mpiexec", overwrite=True) context.setVariable(r"MPI_C_FOUND", out_dir_Path + r"/BINARIES-CO7/openmpi/lib/libmpi.so", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/openmpi/bin") context.addToPath(out_dir_Path + r"/BINARIES-CO7/openmpi/include") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/openmpi/lib") if reinitialise_paths: context.setVariable(r"C_INCLUDE_PATH", out_dir_Path + r"/BINARIES-CO7/openmpi/include", overwrite=True) else: context.addToVariable(r"C_INCLUDE_PATH", out_dir_Path + r"/BINARIES-CO7/openmpi/include",separator=":") #[hdf5] context.setVariable(r"HDF5HOME", out_dir_Path + r"/BINARIES-CO7/hdf5", overwrite=True) context.setVariable(r"HDF5_DIR", out_dir_Path + r"/BINARIES-CO7/hdf5", overwrite=True) context.setVariable(r"HDF5_ROOT", out_dir_Path + r"/BINARIES-CO7/hdf5", overwrite=True) context.setVariable(r"HDF5_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/hdf5", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/hdf5/bin") context.setVariable(r"HDF5_LIBRARIES", out_dir_Path + r"/BINARIES-CO7/hdf5/lib", overwrite=True) context.setVariable(r"HDF5_INCLUDE_DIRS", out_dir_Path + r"/BINARIES-CO7/hdf5/include", overwrite=True) context.setVariable(r"HDF5_VERSION", r"1.10.3", overwrite=True) context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/hdf5/lib") #[cgns] context.setVariable(r"CGNS_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/cgns", overwrite=True) context.setVariable(r"CGNS_INCLUDE_DIR", out_dir_Path + r"/BINARIES-CO7/cgns/include", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/cgns/bin") context.setVariable(r"CGNS_LIBRARY", out_dir_Path + r"/BINARIES-CO7/cgns/lib/libcgns.so", overwrite=True) context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/cgns/lib") #[llvm] context.setVariable(r"LLVMROOT", out_dir_Path + r"/BINARIES-CO7/llvm", overwrite=True) context.setVariable(r"LLVM_HOME", out_dir_Path + r"/BINARIES-CO7/llvm", overwrite=True) context.setVariable(r"LLVM_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/llvm", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/llvm/include/llvm") context.addToPath(out_dir_Path + r"/BINARIES-CO7/llvm/bin") context.addToPath(out_dir_Path + r"/BINARIES-CO7/llvm/lib") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/llvm/lib") #[ispc] context.setVariable(r"ISPC_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/ispc", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/ispc/bin") #[tbb] context.setVariable(r"TBB_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/tbb", overwrite=True) context.setVariable(r"TBB_ROOT", out_dir_Path + r"/BINARIES-CO7/tbb", overwrite=True) context.setVariable(r"TBBROOT", out_dir_Path + r"/BINARIES-CO7/tbb", overwrite=True) context.setVariable(r"TBB_INSTALL_DIR", out_dir_Path + r"/BINARIES-CO7/tbb", overwrite=True) context.setVariable(r"TBB_INCLUDE_DIR", out_dir_Path + r"/BINARIES-CO7/tbb/include", overwrite=True) context.setVariable(r"TBB_LIBRARY_DIR", out_dir_Path + r"/BINARIES-CO7/tbb/lib", overwrite=True) context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/tbb/lib") #[setuptools] context.setVariable(r"SETUPTOOLDIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.setVariable(r"SETUPTOOLS_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/bin") #[Cython] context.setVariable(r"CYTHON_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[numpy] context.setVariable(r"NUMPY_INCLUDE_DIR", out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages", overwrite=True) context.setVariable(r"NUMPY_INCLUDE_DIR2", out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages/numpy/core/include", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[nlopt] context.setVariable(r"NLOPT_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/nlopt", overwrite=True) context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/nlopt/lib") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/nlopt/lib/python${PYTHON_VERSION}/site-packages") #[libxml2] context.setVariable(r"LIBXML_DIR", out_dir_Path + r"/BINARIES-CO7/libxml2", overwrite=True) context.setVariable(r"LIBXML2_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/libxml2", overwrite=True) if reinitialise_paths: context.setVariable(r"INCLUDE", out_dir_Path + r"/BINARIES-CO7/libxml2/include", overwrite=True) else: context.addToVariable(r"INCLUDE", out_dir_Path + r"/BINARIES-CO7/libxml2/include",separator=":") context.addToPath(out_dir_Path + r"/BINARIES-CO7/libxml2/bin") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/libxml2/lib/python${PYTHON_VERSION}/site-packages") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/libxml2/lib") #[eigen] context.setVariable(r"EIGEN_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/eigen", overwrite=True) context.setVariable(r"Eigen3_DIR", out_dir_Path + r"/BINARIES-CO7/eigen", overwrite=True) #[netcdf] context.setVariable(r"NETCDF_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/netcdf", overwrite=True) context.setVariable(r"NETCDF_INSTALL_DIR", out_dir_Path + r"/BINARIES-CO7/netcdf", overwrite=True) context.setVariable(r"NETCDF_VERSION", r"4.6.2", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/netcdf/bin") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/netcdf/lib") #[gdal] context.setVariable(r"GDAL_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/gdal", overwrite=True) context.setVariable(r"GDALHOME", out_dir_Path + r"/BINARIES-CO7/gdal", overwrite=True) context.setVariable(r"GDAL_ROOT", out_dir_Path + r"/BINARIES-CO7/gdal", overwrite=True) context.setVariable(r"GDAL_DIR", out_dir_Path + r"/BINARIES-CO7/gdal", overwrite=True) context.setVariable(r"GDAL_VERSION", r"2.4.0", overwrite=True) context.setVariable(r"GDAL_DATA", out_dir_Path + r"/BINARIES-CO7/gdal/share/gdal", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/gdal/bin") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/gdal/lib") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/gdal/lib/python${PYTHON_VERSION}/site-packages") #[boost] context.setVariable(r"BOOSTDIR", out_dir_Path + r"/BINARIES-CO7/boost", overwrite=True) context.setVariable(r"BOOST_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/boost", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/boost/include") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/boost/lib") #[docutils] context.setVariable(r"DOCUTILSDIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.setVariable(r"DOCUTILS_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[six] context.setVariable(r"SIX_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[Pygments] context.setVariable(r"PYGMENTS_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.setVariable(r"PYGMENTSDIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[markupsafe] context.setVariable(r"MARKUPSAFE_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[Jinja2] context.setVariable(r"JINJADIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.setVariable(r"JINJA_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[sphinxcontrib_websupport] context.setVariable(r"SPHINXCONTRIB_WEBSUPPORT_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[pyparsing] context.setVariable(r"PYPARSING_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[packaging] context.setVariable(r"PACKAGING_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[certifi] context.setVariable(r"CERTIFI_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[urllib3] context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") context.setVariable(r"URLLIB3_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) #[idna] context.setVariable(r"IDNA_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[chardet] context.setVariable(r"CHARDET_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[requests] context.setVariable(r"REQUESTS_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[imagesize] context.setVariable(r"IMAGESIZE_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[alabaster] context.setVariable(r"ALABASTER_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[pytz] context.setVariable(r"PYTZ_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[Babel] context.setVariable(r"BABEL_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[snowballstemmer] context.setVariable(r"SNOWBALLSTEMMER_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[Sphinx] context.setVariable(r"SPHINXDIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.setVariable(r"SPHINX_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.setVariable(r"SPHINX_INSTALL_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.setVariable(r"SPHINX_EXECUTABLE", out_dir_Path + r"/BINARIES-CO7/Python/Scripts/sphinx-build.exe", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/Python/Scripts") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[omniORB] context.setVariable(r"OMNIORB_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/omniORB", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/omniORB/bin") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/omniORB/lib") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/omniORB/lib/python${PYTHON_VERSION}/site-packages") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/omniORB/lib64/python${PYTHON_VERSION}/site-packages") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/omniORB/lib") context.setVariable(r"OMNIORB_USER_PATH", r"/tmp", overwrite=True) #[omniORBpy] context.setVariable(r"OMNIORBPY_ROOT_DIR", r"${OMNIORB_ROOT_DIR}", overwrite=True) #[CONFIGURATION] context.setVariable(r"CONFIGURATION_ROOT_DIR", out_dir_Path + r"/SOURCES/CONFIGURATION", overwrite=True) context.setVariable(r"CONFIGURATION_SRC_DIR", out_dir_Path + r"/SOURCES/CONFIGURATION", overwrite=True) #[cppunit] context.setVariable(r"CPPUNITHOME", out_dir_Path + r"/BINARIES-CO7/cppunit", overwrite=True) context.setVariable(r"CPPUNIT_ROOT", out_dir_Path + r"/BINARIES-CO7/cppunit", overwrite=True) context.setVariable(r"CPPUNIT_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/cppunit", overwrite=True) context.setVariable(r"CPPUNITINSTDIR", out_dir_Path + r"/BINARIES-CO7/cppunit", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/cppunit/bin") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/cppunit/lib") #[click] context.setVariable(r"CLICK_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[sphinxintl] context.setVariable(r"SPHINXINTL_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[LIBBATCH] context.setVariable(r"LIBBATCH_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/LIBBATCH", overwrite=True) context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/LIBBATCH/lib") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/LIBBATCH/lib/python${PYTHON_VERSION}") #[psutil] context.setVariable(r"PSUTIL_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[SALOMEBOOTSTRAP] context.setVariable(r"SALOMEBOOTSTRAP_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/SALOMEBOOTSTRAP", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/SALOMEBOOTSTRAP/__SALOME_BOOTSTRAP__") #[KERNEL] context.setVariable(r"KERNEL_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/KERNEL", overwrite=True) context.addToPath(r"${KERNEL_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${KERNEL_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${KERNEL_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${KERNEL_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${KERNEL_ROOT_DIR}/${PYTHON_LIBDIR}/salome") #[freetype] context.setVariable(r"FREETYPEDIR", out_dir_Path + r"/BINARIES-CO7/freetype", overwrite=True) context.setVariable(r"FREETYPE_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/freetype", overwrite=True) context.setVariable(r"FREETYPE_BIN", out_dir_Path + r"/BINARIES-CO7/freetype/bin", overwrite=True) context.setVariable(r"FREETYPE_LIBRARY", out_dir_Path + r"/BINARIES-CO7/freetype/lib", overwrite=True) context.setVariable(r"FREETYPE_INCLUDE_DIR", out_dir_Path + r"/BINARIES-CO7/freetype/include", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/freetype/bin") if reinitialise_paths: context.setVariable(r"PKG_CONFIG_PATH", out_dir_Path + r"/BINARIES-CO7/freetype/lib/pkgconfig", overwrite=True) else: context.addToVariable(r"PKG_CONFIG_PATH", out_dir_Path + r"/BINARIES-CO7/freetype/lib/pkgconfig",separator=":") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/freetype/lib") #[qt] context.setVariable(r"QTDIR", out_dir_Path + r"/BINARIES-CO7/qt", overwrite=True) context.setVariable(r"QT5_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/qt", overwrite=True) if reinitialise_paths: context.setVariable(r"QT_PLUGIN_PATH", out_dir_Path + r"/BINARIES-CO7/qt/plugins", overwrite=True) else: context.addToVariable(r"QT_PLUGIN_PATH", out_dir_Path + r"/BINARIES-CO7/qt/plugins",separator=":") if reinitialise_paths: context.setVariable(r"QT_QPA_PLATFORM_PLUGIN_PATH", out_dir_Path + r"/BINARIES-CO7/qt/plugins", overwrite=True) else: context.addToVariable(r"QT_QPA_PLATFORM_PLUGIN_PATH", out_dir_Path + r"/BINARIES-CO7/qt/plugins",separator=":") context.addToPath(out_dir_Path + r"/BINARIES-CO7/qt/bin") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/qt/lib") #[toml] context.setVariable(r"TOML_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[sip] context.setVariable(r"PYQT_SIPS_DIR", r"${PYQTDIR}", overwrite=True) context.setVariable(r"SIPDIR", out_dir_Path + r"/BINARIES-CO7/sip", overwrite=True) context.setVariable(r"SIP_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/sip", overwrite=True) context.setVariable(r"SIPDIR", out_dir_Path + r"/BINARIES-CO7/sip", overwrite=True) context.setVariable(r"SIP_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/sip", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/sip/bin") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/sip/lib/python${PYTHON_VERSION}/site-packages") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/sip/lib/python${PYTHON_VERSION}/site-packages") if reinitialise_paths: context.setVariable(r"CPLUS_INCLUDE_PATH", out_dir_Path + r"/BINARIES-CO7/sip/include/python${PYTHON_VERSION}", overwrite=True) else: context.addToVariable(r"CPLUS_INCLUDE_PATH", out_dir_Path + r"/BINARIES-CO7/sip/include/python${PYTHON_VERSION}",separator=":") #[PyQt] context.setVariable(r"PYQTDIR", out_dir_Path + r"/BINARIES-CO7/PyQt", overwrite=True) context.setVariable(r"PYQT5_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/PyQt", overwrite=True) context.setVariable(r"PYQT_SIPS", out_dir_Path + r"/BINARIES-CO7/PyQt/sip", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/PyQt/bin") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/PyQt") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/PyQt/lib/python${PYTHON_VERSION}/site-packages") context.setVariable(r"PYUIC5", out_dir_Path + r"/BINARIES-CO7/PyQt/bin/pyuic5", overwrite=True) context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/PyQt") #[freeimage] context.setVariable(r"FREEIMAGEDIR", out_dir_Path + r"/BINARIES-CO7/freeimage", overwrite=True) context.setVariable(r"FREEIMAGE_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/freeimage", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/freeimage/bin") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/freeimage/lib") #[CAS] context.setVariable(r"CSF_ShadersDirectory", out_dir_Path + r"/BINARIES-CO7/CAS/share/opencascade/resources/Shaders", overwrite=True) context.setVariable(r"CSF_UnitsLexicon", out_dir_Path + r"/BINARIES-CO7/CAS/share/opencascade/resources/UnitsAPI/Lexi_Expr.dat", overwrite=True) context.setVariable(r"CSF_UnitsDefinition", out_dir_Path + r"/BINARIES-CO7/CAS/share/opencascade/resources/UnitsAPI/Units.dat", overwrite=True) context.setVariable(r"CSF_SHMessage", out_dir_Path + r"/BINARIES-CO7/CAS/share/opencascade/resources/SHMessage", overwrite=True) context.setVariable(r"CSF_XSMessage", out_dir_Path + r"/BINARIES-CO7/CAS/share/opencascade/resources/XSMessage", overwrite=True) context.setVariable(r"CSF_MDTVTexturesDirectory", out_dir_Path + r"/BINARIES-CO7/CAS/share/opencascade/resources/Textures", overwrite=True) context.setVariable(r"MMGT_REENTRANT", r"1", overwrite=True) context.setVariable(r"CSF_StandardDefaults", out_dir_Path + r"/BINARIES-CO7/CAS/share/opencascade/resources/StdResource", overwrite=True) context.setVariable(r"CSF_PluginDefaults", out_dir_Path + r"/BINARIES-CO7/CAS/share/opencascade/resources/StdResource", overwrite=True) context.setVariable(r"CASROOT", out_dir_Path + r"/BINARIES-CO7/CAS", overwrite=True) context.setVariable(r"CAS_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/CAS", overwrite=True) context.setVariable(r"OPENCASCADE_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/CAS", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/CAS") context.addToPath(out_dir_Path + r"/BINARIES-CO7/CAS/bin") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/CAS/lib") #[qwt] context.setVariable(r"QWTHOME", out_dir_Path + r"/BINARIES-CO7/qwt", overwrite=True) context.setVariable(r"QWT_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/qwt", overwrite=True) context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/qwt/lib") #[dateutil] context.setVariable(r"DATEUTIL_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[cycler] context.setVariable(r"CYCLER_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[kiwisolver] context.setVariable(r"KIWISOLVER_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[Pillow] context.setVariable(r"PILLOW_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[matplotlib] context.setVariable(r"MATPLOTLIB_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/matplotlib", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/matplotlib/lib/python${PYTHON_VERSION}/site-packages") context.setVariable(r"MPLCONFIGDIR", out_dir_Path + r"/BINARIES-CO7/matplotlib", overwrite=True) #[embree] context.setVariable(r"EMBREE_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/embree", overwrite=True) context.setVariable(r"EMBREE_VERSION", r"3.12.2", overwrite=True) context.setVariable(r"embree_DIR", out_dir_Path + r"/BINARIES-CO7/embree", overwrite=True) context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/embree/lib") #[rkCommon] context.setVariable(r"RKCOMMON_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/rkCommon", overwrite=True) context.setVariable(r"rkcommon_DIR", out_dir_Path + r"/BINARIES-CO7/rkCommon/lib/cmake/rkcommon-1.5.1", overwrite=True) context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/rkCommon/lib") #[openVKL] context.setVariable(r"OPENVKL_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/openVKL", overwrite=True) context.setVariable(r"openvkl_DIR", out_dir_Path + r"/BINARIES-CO7/openVKL/lib/cmake/openvkl-0.11.0", overwrite=True) context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/openVKL/lib") #[ospray] context.setVariable(r"OSPRAY_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/ospray", overwrite=True) context.setVariable(r"ospray_DIR", out_dir_Path + r"/BINARIES-CO7/ospray/lib/cmake/ospray-2.4.0", overwrite=True) context.setVariable(r"OSPRAY_VERSION", r"2.4.0", overwrite=True) context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/ospray/lib") #[cminpack] context.setVariable(r"CMINPACK_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/cminpack", overwrite=True) context.setVariable(r"CMINPACK_DIR", out_dir_Path + r"/BINARIES-CO7/cminpack/share/cmake/Cminpack", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/cminpack/bin") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/cminpack/lib") #[FMILibrary] context.setVariable(r"FMILIBRARY_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/FMILibrary", overwrite=True) context.setVariable(r"FMIL_HOME", out_dir_Path + r"/BINARIES-CO7/FMILibrary", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/FMILibrary/bin") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/FMILibrary/lib") #[PyFMI] context.setVariable(r"PYFMI_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/PyFMI", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/PyFMI/lib/python${PYTHON_VERSION}/site-packages") #[pandas] context.setVariable(r"PANDAS_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[scipy] context.setVariable(r"SCIPY_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[patsy] #[statsmodels] #[openturns] context.setVariable(r"OT_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/openturns", overwrite=True) context.setVariable(r"OPENTURNS_HOME", out_dir_Path + r"/BINARIES-CO7/openturns", overwrite=True) context.setVariable(r"OT_HOME", out_dir_Path + r"/BINARIES-CO7/openturns", overwrite=True) context.setVariable(r"OT_VERSION", r"1.21", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/openturns/bin") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/openturns/lib") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/openturns/lib/python${PYTHON_VERSION}/site-packages") #[catalyst] context.setVariable(r"CATALYST_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/catalyst", overwrite=True) context.setVariable(r"catalyst_DIR", out_dir_Path + r"/BINARIES-CO7/catalyst/lib/cmake/catalyst-2.0", overwrite=True) context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/catalyst/lib") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/catalyst/lib/catalyst") #[ParaView] context.setVariable(r"PVHOME", out_dir_Path + r"/BINARIES-CO7/ParaView", overwrite=True) context.setVariable(r"VTKHOME", out_dir_Path + r"/BINARIES-CO7/ParaView", overwrite=True) context.setVariable(r"PVVERSION", r"5.11", overwrite=True) context.setVariable(r"PARAVIEW_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/ParaView", overwrite=True) context.setVariable(r"PARAVIEW_VERSION", r"5.11", overwrite=True) context.setVariable(r"ParaView_DIR", r"${PVHOME}/lib/paraview-5.11", overwrite=True) context.addToPath(r"${PVHOME}/bin") if reinitialise_paths: context.setVariable(r"PV_PLUGIN_PATH", r"${PVHOME}/lib/paraview-5.11", overwrite=True) else: context.addToVariable(r"PV_PLUGIN_PATH", r"${PVHOME}/lib/paraview-5.11",separator=":") context.addToVariable(r"PV_PLUGIN_PATH", r"${PVHOME}/lib/paraview-5.11/plugins",separator=":") context.addToPythonPath(r"${PVHOME}/lib/paraview-5.11/site-packages") context.addToPythonPath(r"${PVHOME}/lib/paraview-5.11/site-packages/vtk") context.addToPath(r"${PVHOME}/include/paraview-5.11") context.addToLdLibraryPath(r"${PVHOME}/lib/paraview-5.11") context.addToPythonPath(r"${PVHOME}/lib/paraview-5.11") context.setVariable(r"VTK_ROOT_DIR", r"${VTKHOME}", overwrite=True) context.setVariable(r"VTK_DIR", r"${VTKHOME}/lib/cmake/paraview-5.11", overwrite=True) context.addToLdLibraryPath(r"${VTKHOME}/lib") context.addToPythonPath(r"${VTKHOME}/lib/python${PYTHON_VERSION}/site-packages") #[sphinx_rtd_theme] context.setVariable(r"SPHINX_RTD_THEME_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[swig] context.setVariable(r"SWIG_ROOT", out_dir_Path + r"/BINARIES-CO7/swig", overwrite=True) context.setVariable(r"SWIG_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/swig", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/swig/bin") context.setVariable(r"SWIG_LIB", out_dir_Path + r"/BINARIES-CO7/swig/share/swig/4.0.2", overwrite=True) #[graphviz] context.setVariable(r"GRAPHVIZROOT", out_dir_Path + r"/BINARIES-CO7/graphviz", overwrite=True) context.setVariable(r"GRAPHVIZ_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/graphviz", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/graphviz/bin") context.addToPath(out_dir_Path + r"/BINARIES-CO7/graphviz/include/graphviz") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/graphviz/lib") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/graphviz/lib/graphviz") #[GUI] context.setVariable(r"GUI_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/GUI", overwrite=True) context.addToPath(r"${GUI_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${GUI_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${GUI_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${GUI_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${GUI_ROOT_DIR}/${PYTHON_LIBDIR}/salome") if reinitialise_paths: context.setVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/GUI/share/salome/resources/gui", overwrite=True) else: context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/GUI/share/salome/resources/gui",separator=":") #[EFICAS_TOOLS] context.setVariable(r"EFICAS_TOOLS_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS", overwrite=True) context.setVariable(r"EFICAS_TOOLS_ROOT", out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/Accas") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/Accas") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/Aide") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/Aide") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/convert") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/convert") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/Doc") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/Doc") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/Editeur") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/Editeur") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/Efi2Xsd") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/Efi2Xsd") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/Extensions") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/Extensions") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/generator") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/generator") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/Ihm") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/Ihm") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/InterfaceQT4") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/InterfaceQT4") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/Noyau") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/Noyau") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/Telemac") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/Telemac") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/Traducteur") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/Traducteur") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/UiQT5") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/UiQT5") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/EFICAS_TOOLS/lib/python${PYTHON_VERSION}/site-packages/salome") #[EFICAS] context.setVariable(r"EFICAS_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/EFICAS", overwrite=True) context.addToPath(r"${EFICAS_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${EFICAS_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${EFICAS_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${EFICAS_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${EFICAS_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.appendVariable(r"SALOME_MODULES", r"EFICAS",separator=",") context.setVariable(r"EFICAS_ROOT", out_dir_Path + r"/BINARIES-CO7/EFICAS", overwrite=True) context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/EFICAS/share/salome/resources/eficas",separator=":") #[pmml] context.setVariable(r"PMML_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/pmml", overwrite=True) context.setVariable(r"PMML_INCLUDE_DIR", out_dir_Path + r"/BINARIES-CO7/pmml/include", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/pmml/bin") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/pmml/lib") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/pmml/lib/python${PYTHON_VERSION}/site-packages") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/pmml/bin") #[YACS] context.setVariable(r"YACS_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/YACS", overwrite=True) context.addToPath(r"${YACS_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${YACS_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${YACS_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${YACS_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${YACS_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/YACS/share/salome/resources/yacs",separator=":") #[ADAO] context.setVariable(r"ADAO_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/ADAO", overwrite=True) context.addToPath(r"${ADAO_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${ADAO_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${ADAO_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${ADAO_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${ADAO_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.appendVariable(r"SALOME_MODULES", r"ADAO",separator=",") context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/ADAO/share/salome/resources/adao",separator=":") context.setVariable(r"ADAO_ENGINE_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/ADAO", overwrite=True) context.setVariable(r"ADAO_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/ADAO", overwrite=True) context.setVariable(r"CURRENT_SOFTWARE_INSTALL_DIR", out_dir_Path + r"/BINARIES-CO7/ADAO", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/ADAO/lib/python${PYTHON_VERSION}/site-packages") #[numpydoc] context.setVariable(r"NUMPYDOC_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[PY2CPP] context.setVariable(r"PY2CPP_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/PY2CPP", overwrite=True) context.setVariable(r"Py2cpp_DIR", out_dir_Path + r"/BINARIES-CO7/PY2CPP/lib/cmake/py2cpp", overwrite=True) context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/PY2CPP/lib") #[YDEFX] context.setVariable(r"YDEFX_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/YDEFX", overwrite=True) context.addToPath(r"${YDEFX_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${YDEFX_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${YDEFX_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${YDEFX_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${YDEFX_ROOT_DIR}/${PYTHON_LIBDIR}/salome") #[PERSALYS] context.setVariable(r"PERSALYS_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/PERSALYS", overwrite=True) context.setVariable(r"PERSALYS_VERSION", r"v14.1", overwrite=True) context.setVariable(r"OTGUI_DIR", out_dir_Path + r"/BINARIES-CO7/PERSALYS", overwrite=True) context.setVariable(r"OTGUI_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/PERSALYS", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/PERSALYS/bin") context.addToVariable(r"PV_PLUGIN_PATH", out_dir_Path + r"/BINARIES-CO7/PERSALYS/lib/paraview-${PARAVIEW_VERSION}/plugins",separator=":") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/PERSALYS/lib") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/PERSALYS/lib/python${PYTHON_VERSION}/site-packages") context.setVariable(r"OTGUI_HTML_DOCUMENTATION_PATH", out_dir_Path + r"/BINARIES-CO7/PERSALYS/share/otgui/doc/html/", overwrite=True) context.setVariable(r"PERSALYS_HTML_DOCUMENTATION_PATH", out_dir_Path + r"/BINARIES-CO7/PERSALYS/share/persalys/doc/html/", overwrite=True) #[MeshGems] context.setVariable(r"LICENCE_FILE", r"/home/salome-public/prerequis/LICENCE/libSalomeMeshGemsKeyGenerator", overwrite=True) # Here you can define your license parameters for MeshGems # DASSAULT MeshGems KeyGenerator based License context.setVariable(r"SALOME_MG_KEYGEN_LIB_PATH", r"/home/salome-public/prerequis/LICENCE/libSalomeMeshGemsKeyGenerator-2.15-1-CO7.so", overwrite=True) context.setVariable(r"MESHGEMSHOME", out_dir_Path + r"/BINARIES-CO7/MeshGems", overwrite=True) context.setVariable(r"MESHGEMS_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/MeshGems", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/MeshGems/bin") context.addToPath(out_dir_Path + r"/BINARIES-CO7/MeshGems/bin/Linux_64") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/MeshGems/lib/Linux_64") context.setVariable(r"MESHGEMS_VERSION", r"2.15-1", overwrite=True) context.setVariable(r"MESHGEMS_VERSION_MAJOR", r"2", overwrite=True) context.setVariable(r"MESHGEMS_VERSION_MINOR", r"15", overwrite=True) context.setVariable(r"MESHGEMS_VERSION_PATCH", r"1", overwrite=True) #[opencv] context.setVariable(r"OPENCV_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/opencv", overwrite=True) context.setVariable(r"OPENCV_HOME", out_dir_Path + r"/BINARIES-CO7/opencv", overwrite=True) context.setVariable(r"OPENCV_DIR", out_dir_Path + r"/BINARIES-CO7/opencv", overwrite=True) context.setVariable(r"OpenCV_DIR", out_dir_Path + r"/BINARIES-CO7/opencv", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/opencv/bin") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/opencv/lib") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/opencv/lib/python${PYTHON_VERSION}/site-packages") #[tcl] context.setVariable(r"TCL_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/tcl", overwrite=True) context.setVariable(r"TCLHOME", out_dir_Path + r"/BINARIES-CO7/tcl", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/tcl/bin") context.addToVariable(r"INCLUDE", out_dir_Path + r"/BINARIES-CO7/tcl/include",separator=":") context.setVariable(r"TCL_SHORT_VERSION", r"8.6", overwrite=True) if reinitialise_paths: context.setVariable(r"TCLLIBPATH", out_dir_Path + r"/BINARIES-CO7/tcl/lib", overwrite=True) else: context.addToVariable(r"TCLLIBPATH", out_dir_Path + r"/BINARIES-CO7/tcl/lib",separator=" ") context.addToVariable(r"TCLLIBPATH", out_dir_Path + r"/BINARIES-CO7/tcl/lib/tcl${TCL_SHORT_VERSION}",separator=" ") context.setVariable(r"TCL_LIBRARY", out_dir_Path + r"/BINARIES-CO7/tcl/lib/tcl${TCL_SHORT_VERSION}", overwrite=True) context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/tcl/lib") #[tk] context.setVariable(r"TK_ROOT_DIR", r"${TCL_ROOT_DIR}", overwrite=True) context.setVariable(r"TKHOME", r"${TCL_ROOT_DIR}", overwrite=True) context.addToPath(r"${TKHOME}/bin") if reinitialise_paths: context.setVariable(r"TKLIBPATH", r"${TKHOME}/lib", overwrite=True) else: context.addToVariable(r"TKLIBPATH", r"${TKHOME}/lib",separator=" ") context.addToVariable(r"TKLIBPATH", r"${TKHOME}/lib/tk${TCL_SHORT_VERSION}",separator=" ") context.setVariable(r"TK_LIBRARY", r"${TKHOME}/lib/tk${TCL_SHORT_VERSION}", overwrite=True) context.addToLdLibraryPath(r"${TKHOME}/lib") #[ADAO_INTERFACE] context.setVariable(r"ADAO_INTERFACE_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/ADAO_INTERFACE", overwrite=True) context.addToPath(r"${ADAO_INTERFACE_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${ADAO_INTERFACE_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${ADAO_INTERFACE_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${ADAO_INTERFACE_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${ADAO_INTERFACE_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.appendVariable(r"SALOME_MODULES", r"ADAO_INTERFACE",separator=",") context.setVariable(r"ADAO_INTERFACE_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/ADAO_INTERFACE", overwrite=True) context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/ADAO_INTERFACE/lib") #[planegcs] context.setVariable(r"PLANEGCS_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/planegcs", overwrite=True) context.addToLdLibraryPath(r"${PLANEGCS_ROOT_DIR}/lib") #[packagespy] context.setVariable(r"PACKAGESPY_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/packagespy", overwrite=True) context.setVariable(r"WORKDIR4LOG", r"tmp/s-sac-dm2s-salome", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/packagespy/packagespy") context.addToPath(out_dir_Path + r"/BINARIES-CO7/packagespy/packagespy/bin") #[netgen] context.setVariable(r"NETGENHOME", out_dir_Path + r"/BINARIES-CO7/netgen", overwrite=True) context.setVariable(r"NETGEN_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/netgen", overwrite=True) context.setVariable(r"NETGEN_BIN", out_dir_Path + r"/BINARIES-CO7/netgen/bin", overwrite=True) context.setVariable(r"NETGEN_LIBRARY", out_dir_Path + r"/BINARIES-CO7/netgen/lib", overwrite=True) context.setVariable(r"NETGEN_LIBRARIES", out_dir_Path + r"/BINARIES-CO7/netgen/lib", overwrite=True) context.setVariable(r"NETGEN_INCLUDE_DIR", out_dir_Path + r"/BINARIES-CO7/netgen/include", overwrite=True) context.setVariable(r"NETGEN_INCLUDE_DIRS", out_dir_Path + r"/BINARIES-CO7/netgen/include", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/netgen/bin") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/netgen/lib") #[SALOME] context.setVariable(r"SALOME_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/SALOME", overwrite=True) context.addToPath(r"${SALOME_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${SALOME_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${SALOME_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${SALOME_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${SALOME_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.addToVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/SALOME/share/salome/resources/salome",separator=":") #[nose] context.setVariable(r"NOSE_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages") #[medfile] context.setVariable(r"MED3HOME", out_dir_Path + r"/BINARIES-CO7/medfile", overwrite=True) context.setVariable(r"MED2HOME", out_dir_Path + r"/BINARIES-CO7/medfile", overwrite=True) context.setVariable(r"MEDFILE_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/medfile", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/medfile/bin") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/medfile/lib") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/medfile/lib/python${PYTHON_VERSION}/site-packages") #[scotch] context.setVariable(r"SCOTCH_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/scotch", overwrite=True) context.setVariable(r"PTSCOTCH_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/scotch", overwrite=True) context.setVariable(r"PTSCOTCHDIR", out_dir_Path + r"/BINARIES-CO7/scotch", overwrite=True) context.setVariable(r"SCOTCHDIR", out_dir_Path + r"/BINARIES-CO7/scotch", overwrite=True) context.setVariable(r"PTSCOTCH_INCLUDE_DIR", out_dir_Path + r"/BINARIES-CO7/scotch/include", overwrite=True) #[metis] context.setVariable(r"METISDIR", out_dir_Path + r"/BINARIES-CO7/metis", overwrite=True) context.setVariable(r"METIS_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/metis", overwrite=True) context.setVariable(r"METIS_BIN", out_dir_Path + r"/BINARIES-CO7/metis/bin", overwrite=True) context.setVariable(r"METIS_LIBRARY", out_dir_Path + r"/BINARIES-CO7/metis/lib", overwrite=True) context.setVariable(r"METIS_LIBRARIES", out_dir_Path + r"/BINARIES-CO7/metis/lib", overwrite=True) context.setVariable(r"METIS_INCLUDE_DIR", out_dir_Path + r"/BINARIES-CO7/metis/include", overwrite=True) #[MEDCOUPLING] context.setVariable(r"MEDCOUPLING_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/MEDCOUPLING", overwrite=True) context.addToPath(r"${MEDCOUPLING_ROOT_DIR}/bin") context.addToLdLibraryPath(r"${MEDCOUPLING_ROOT_DIR}/lib") context.addToPythonPath(r"${MEDCOUPLING_ROOT_DIR}/bin") context.addToPythonPath(r"${MEDCOUPLING_ROOT_DIR}/lib") context.addToPythonPath(r"${MEDCOUPLING_ROOT_DIR}/${PYTHON_LIBDIR}") #[FIELDS] context.setVariable(r"FIELDS_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/FIELDS", overwrite=True) context.addToPath(r"${FIELDS_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${FIELDS_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${FIELDS_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${FIELDS_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${FIELDS_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.appendVariable(r"SALOME_MODULES", r"FIELDS",separator=",") context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/FIELDS/share/salome/resources/fields",separator=":") #[GEOM] context.setVariable(r"GEOM_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/GEOM", overwrite=True) context.addToPath(r"${GEOM_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${GEOM_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${GEOM_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${GEOM_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${GEOM_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.setVariable(r"PARALLEL_VISU", r"1", overwrite=True) context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/GEOM/share/salome/resources/geom",separator=":") context.setVariable(r"GEOM_PluginsList", r"BREPPlugin:STEPPlugin:IGESPlugin:STLPlugin:XAOPlugin:VTKPlugin:AdvancedGEOM", overwrite=True) context.setVariable(r"CSF_ShHealingDefaults", out_dir_Path + r"/BINARIES-CO7/GEOM/share/salome/resources/geom", overwrite=True) #[SHAPER] context.setVariable(r"SHAPER_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/SHAPER", overwrite=True) context.addToPath(r"${SHAPER_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${SHAPER_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${SHAPER_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${SHAPER_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${SHAPER_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/SHAPER/share/salome/resources/shaper",separator=":") #[SHAPERSTUDY] context.setVariable(r"SHAPERSTUDY_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/SHAPERSTUDY", overwrite=True) context.addToPath(r"${SHAPERSTUDY_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${SHAPERSTUDY_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${SHAPERSTUDY_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${SHAPERSTUDY_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${SHAPERSTUDY_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/SHAPERSTUDY/share/salome/resources/shaperstudy",separator=":") #[TopIIVolMesh] context.setVariable(r"TOPIIVOLMESH_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/TopIIVolMesh", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/TopIIVolMesh/bin") #[SMESH] context.setVariable(r"SMESH_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/SMESH", overwrite=True) context.addToPath(r"${SMESH_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${SMESH_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${SMESH_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${SMESH_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${SMESH_ROOT_DIR}/${PYTHON_LIBDIR}/salome") if reinitialise_paths: context.setVariable(r"SMESH_MeshersList", r"StdMeshers", overwrite=True) else: context.addToVariable(r"SMESH_MeshersList", r"StdMeshers",separator=":") context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/SMESH/share/salome/resources/smesh",separator=":") #[PARAVIS] context.setVariable(r"PARAVIS_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/PARAVIS", overwrite=True) context.addToPath(r"${PARAVIS_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${PARAVIS_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${PARAVIS_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${PARAVIS_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${PARAVIS_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.addToVariable(r"PV_PLUGIN_PATH", out_dir_Path + r"/BINARIES-CO7/PARAVIS/lib/paraview",separator=";") context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/PARAVIS/share/salome/resources/paravis",separator=":") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/PARAVIS/lib/python${PYTHON_VERSION}/site-packages") #[HEXABLOCK] context.setVariable(r"HEXABLOCK_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/HEXABLOCK", overwrite=True) context.addToPath(r"${HEXABLOCK_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${HEXABLOCK_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${HEXABLOCK_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${HEXABLOCK_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${HEXABLOCK_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.appendVariable(r"SALOME_MODULES", r"HEXABLOCK",separator=",") context.addToVariable(r"SMESH_MeshersList", r"HEXABLOCKPlugin",separator=":") context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/HEXABLOCK/share/salome/resources/hexablock",separator=":") #[HEXABLOCKPLUGIN] context.setVariable(r"HEXABLOCKPLUGIN_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/HEXABLOCKPLUGIN", overwrite=True) context.addToPath(r"${HEXABLOCKPLUGIN_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${HEXABLOCKPLUGIN_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${HEXABLOCKPLUGIN_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${HEXABLOCKPLUGIN_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${HEXABLOCKPLUGIN_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/HEXABLOCKPLUGIN/share/salome/resources/hexablockplugin",separator=":") #[PYHELLO] context.setVariable(r"PYHELLO_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/PYHELLO", overwrite=True) context.addToPath(r"${PYHELLO_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${PYHELLO_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${PYHELLO_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${PYHELLO_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${PYHELLO_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.appendVariable(r"SALOME_MODULES", r"PYHELLO",separator=",") context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/PYHELLO/share/salome/resources/pyhello",separator=":") #[mpi4py] context.setVariable(r"MPI4PY_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/Python/lib/python${PYTHON_VERSION}/site-packages", overwrite=True) #[petsc] context.setVariable(r"PETSCDIR", out_dir_Path + r"/BINARIES-CO7/petsc", overwrite=True) context.setVariable(r"PETSC_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/petsc", overwrite=True) context.setVariable(r"PETSC_DIR", out_dir_Path + r"/BINARIES-CO7/petsc", overwrite=True) context.setVariable(r"PETSC4PY", out_dir_Path + r"/BINARIES-CO7/petsc/lib/petsc4py", overwrite=True) context.setVariable(r"SLEPC4PY", out_dir_Path + r"/BINARIES-CO7/petsc/lib/slepc4py", overwrite=True) context.setVariable(r"PETSC_ARCH", r"arch-linux-c-opt", overwrite=True) context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/petsc/lib") context.addToPythonPath(r"${PETSC4PY}") context.addToPythonPath(r"${PETSC4PY}/lib") context.addToPythonPath(r"${SLEPC4PY}") context.addToPythonPath(r"${SLEPC4PY}/lib") #[SOLVERLAB] context.setVariable(r"SOLVERLAB_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/SOLVERLAB", overwrite=True) context.addToPath(r"${SOLVERLAB_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${SOLVERLAB_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${SOLVERLAB_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${SOLVERLAB_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${SOLVERLAB_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/SOLVERLAB/share/salome/resources/solverlab",separator=":") context.setVariable(r"CoreFlows_INSTALL", out_dir_Path + r"/BINARIES-CO7/SOLVERLAB", overwrite=True) context.setVariable(r"CoreFlows_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/SOLVERLAB", overwrite=True) context.setVariable(r"CoreFlows_ROOT", out_dir_Path + r"/BINARIES-CO7/SOLVERLAB", overwrite=True) context.setVariable(r"CoreFlows_PYTHON", r"ON", overwrite=True) context.setVariable(r"CoreFlows_DOC", r"ON", overwrite=True) context.setVariable(r"CoreFlows_GUI", r"ON", overwrite=True) context.setVariable(r"CoreFlows", r"${CoreFlows_INSTALL}/bin/CoreFlowsMainExe", overwrite=True) context.setVariable(r"CoreFlowsGUI", r"${CoreFlows_INSTALL}/bin/CoreFlows_Standalone.py", overwrite=True) context.setVariable(r"COREFLOWS_ROOT_DIR", r"${CoreFlows_ROOT_DIR}", overwrite=True) context.addToPath(r"${CoreFlows_ROOT_DIR}/include") context.addToLdLibraryPath(r"${CoreFlows_ROOT_DIR}/lib") context.addToPythonPath(r"${CoreFlows_ROOT_DIR}") context.addToPythonPath(r"${CoreFlows_ROOT_DIR}/lib") context.addToPythonPath(r"${CoreFlows_ROOT_DIR}/bin") context.addToPythonPath(r"${CoreFlows_ROOT_DIR}/lib/coreflows") context.addToPythonPath(r"${CoreFlows_ROOT_DIR}/bin/coreflows") context.addToPythonPath(r"${CoreFlows_ROOT_DIR}/lib/cdmath") context.addToPythonPath(r"${CoreFlows_ROOT_DIR}/bin/cdmath") context.addToPythonPath(r"${CoreFlows_ROOT_DIR}/bin/cdmath/postprocessing") #[SOLVERLABGUI] context.setVariable(r"SOLVERLABGUI_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/SOLVERLABGUI", overwrite=True) context.addToPath(r"${SOLVERLABGUI_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${SOLVERLABGUI_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${SOLVERLABGUI_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${SOLVERLABGUI_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${SOLVERLABGUI_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.appendVariable(r"SALOME_MODULES", r"SOLVERLABGUI",separator=",") context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/SOLVERLABGUI/share/salome/resources/solverlabgui",separator=":") context.setVariable(r"SOLVERLABGUI_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/SOLVERLABGUI", overwrite=True) context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/SOLVERLABGUI/lib") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/SOLVERLABGUI") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/SOLVERLABGUI/solverlabpy") context.setVariable(r"SOLVERLABGUI_WORKDIR", r"/tmp", overwrite=True) context.setVariable(r"USERLOGIN", r"$USER", overwrite=True) #[TTK] context.setVariable(r"TTK_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/TTK", overwrite=True) context.setVariable(r"TTK_HOME", out_dir_Path + r"/BINARIES-CO7/TTK", overwrite=True) context.setVariable(r"TTK_VERSION", r"f8dafde2d7", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/TTK/bin") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/TTK/lib") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/TTK/lib/python${PYTHON_VERSION}/site-packages") context.addToVariable(r"PV_PLUGIN_PATH", out_dir_Path + r"/BINARIES-CO7/TTK/bin/plugins",separator=":") #[C3PO] context.setVariable(r"C3PODIR", out_dir_Path + r"/BINARIES-CO7/C3PO", overwrite=True) context.setVariable(r"C3PO_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/C3PO", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/C3PO") context.addToPath(out_dir_Path + r"/BINARIES-CO7/C3PO/bin") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/C3PO/lib/python${PYTHON_VERSION}/site-packages") #[HYBRIDPLUGIN] context.setVariable(r"HYBRIDPLUGIN_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/HYBRIDPLUGIN", overwrite=True) context.addToPath(r"${HYBRIDPLUGIN_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${HYBRIDPLUGIN_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${HYBRIDPLUGIN_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${HYBRIDPLUGIN_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${HYBRIDPLUGIN_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.addToVariable(r"SMESH_MeshersList", r"HYBRIDPlugin",separator=":") context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/HYBRIDPLUGIN/share/salome/resources/hybridplugin",separator=":") #[HELLO] context.setVariable(r"HELLO_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/HELLO", overwrite=True) context.addToPath(r"${HELLO_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${HELLO_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${HELLO_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${HELLO_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${HELLO_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.appendVariable(r"SALOME_MODULES", r"HELLO",separator=",") context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/HELLO/share/salome/resources/hello",separator=":") #[HOMARD] context.setVariable(r"HOMARD_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/HOMARD", overwrite=True) context.addToPath(r"${HOMARD_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${HOMARD_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${HOMARD_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${HOMARD_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${HOMARD_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.appendVariable(r"SALOME_MODULES", r"HOMARD",separator=",") context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/HOMARD/share/salome/resources/homard",separator=":") context.setVariable(r"HOMARD_REP_EXE", out_dir_Path + r"/BINARIES-CO7/HOMARD/bin/salome", overwrite=True) context.setVariable(r"HOMARD_EXE", r"homard", overwrite=True) #[JOBMANAGER] context.setVariable(r"JOBMANAGER_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/JOBMANAGER", overwrite=True) context.addToPath(r"${JOBMANAGER_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${JOBMANAGER_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${JOBMANAGER_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${JOBMANAGER_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${JOBMANAGER_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/JOBMANAGER/share/salome/resources/jobmanager",separator=":") #[BLSURFPLUGIN] context.setVariable(r"BLSURFPLUGIN_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/BLSURFPLUGIN", overwrite=True) context.addToPath(r"${BLSURFPLUGIN_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${BLSURFPLUGIN_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${BLSURFPLUGIN_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${BLSURFPLUGIN_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${BLSURFPLUGIN_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.addToVariable(r"SMESH_MeshersList", r"BLSURFPlugin",separator=":") context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/BLSURFPLUGIN/share/salome/resources/blsurfplugin",separator=":") #[GHS3DPLUGIN] context.setVariable(r"GHS3DPLUGIN_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/GHS3DPLUGIN", overwrite=True) context.addToPath(r"${GHS3DPLUGIN_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${GHS3DPLUGIN_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${GHS3DPLUGIN_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${GHS3DPLUGIN_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${GHS3DPLUGIN_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.addToVariable(r"SMESH_MeshersList", r"GHS3DPlugin",separator=":") context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/GHS3DPLUGIN/share/salome/resources/ghs3dplugin",separator=":") #[gmsh] context.setVariable(r"GMSHHOME", out_dir_Path + r"/BINARIES-CO7/gmsh", overwrite=True) context.setVariable(r"GMSH_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/gmsh", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/gmsh/bin") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/gmsh/lib") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/gmsh/lib") #[GMSHPLUGIN] context.setVariable(r"GMSHPLUGIN_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/GMSHPLUGIN", overwrite=True) context.addToPath(r"${GMSHPLUGIN_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${GMSHPLUGIN_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${GMSHPLUGIN_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${GMSHPLUGIN_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${GMSHPLUGIN_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.addToVariable(r"SMESH_MeshersList", r"GMSHPlugin",separator=":") context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/GMSHPLUGIN/share/salome/resources/gmshplugin",separator=":") #[HexoticPLUGIN] context.setVariable(r"HexoticPLUGIN_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/HexoticPLUGIN", overwrite=True) context.addToPath(r"${HexoticPLUGIN_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${HexoticPLUGIN_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${HexoticPLUGIN_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${HexoticPLUGIN_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${HexoticPLUGIN_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.addToVariable(r"SMESH_MeshersList", r"HexoticPLUGIN",separator=":") context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/HexoticPLUGIN/share/salome/resources/hexoticplugin",separator=":") #[NETGENPLUGIN] context.setVariable(r"NETGENPLUGIN_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/NETGENPLUGIN", overwrite=True) context.addToPath(r"${NETGENPLUGIN_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${NETGENPLUGIN_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${NETGENPLUGIN_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${NETGENPLUGIN_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${NETGENPLUGIN_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.addToVariable(r"SMESH_MeshersList", r"NETGENPlugin",separator=":") context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/NETGENPLUGIN/share/salome/resources/netgenplugin",separator=":") #[DOCUMENTATION] context.setVariable(r"DOCUMENTATION_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/DOCUMENTATION", overwrite=True) context.addToPath(r"${DOCUMENTATION_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${DOCUMENTATION_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${DOCUMENTATION_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${DOCUMENTATION_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${DOCUMENTATION_ROOT_DIR}/${PYTHON_LIBDIR}/salome") #[root] context.setVariable(r"ROOTSYS", out_dir_Path + r"/BINARIES-CO7/root", overwrite=True) context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/root/lib") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/root/lib") if reinitialise_paths: context.setVariable(r"DYLD_LIBRARY_PATH", out_dir_Path + r"/BINARIES-CO7/root/lib", overwrite=True) else: context.addToVariable(r"DYLD_LIBRARY_PATH", out_dir_Path + r"/BINARIES-CO7/root/lib",separator=":") if reinitialise_paths: context.setVariable(r"SHLIB_PATH", out_dir_Path + r"/BINARIES-CO7/root/lib", overwrite=True) else: context.addToVariable(r"SHLIB_PATH", out_dir_Path + r"/BINARIES-CO7/root/lib",separator=":") if reinitialise_paths: context.setVariable(r"LIBPATH", out_dir_Path + r"/BINARIES-CO7/root/lib", overwrite=True) else: context.addToVariable(r"LIBPATH", out_dir_Path + r"/BINARIES-CO7/root/lib",separator=":") context.addToPath(out_dir_Path + r"/BINARIES-CO7/root/bin") #[URANIE] context.setVariable(r"URANIE_VERSION", r"4.7", overwrite=True) context.setVariable(r"URANIE_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/URANIE", overwrite=True) context.setVariable(r"URANIESYS", out_dir_Path + r"/BINARIES-CO7/URANIE", overwrite=True) context.addToPythonPath(r"${URANIE_ROOT_DIR}/lib/python") context.addToLdLibraryPath(r"${URANIE_ROOT_DIR}/lib") if reinitialise_paths: context.setVariable(r"ROOTSYSLIB", r"${ROOTSYS}/lib", overwrite=True) else: context.addToVariable(r"ROOTSYSLIB", r"${ROOTSYS}/lib",separator=":") context.addToPath(r"${URANIE_ROOT_DIR}/bin") context.addToPath(r"${ROOTSYS}/bin") if reinitialise_paths: context.setVariable(r"ROOT_INCLUDE_PATH", r"${URANIE_ROOT_DIR}/include", overwrite=True) else: context.addToVariable(r"ROOT_INCLUDE_PATH", r"${URANIE_ROOT_DIR}/include",separator=":") context.addToLdLibraryPath(r"${URANIE_ROOT_DIR}/OPT++/optpp-2.4/lib") context.addToLdLibraryPath(r"${URANIE_ROOT_DIR}/JSONCPP/jsoncpp-0.10.5/lib") #[pyreadline] context.setVariable(r"PYREADLINE_ROOT_DIR", r"${PYTHON_ROOT_DIR}", overwrite=True) #[SAMPLES] context.setVariable(r"SAMPLES_SRC_DIR", r"${PRODUCT_ROOT_DIR}/SOURCES/SAMPLES", overwrite=True) context.setVariable(r"DATA_DIR", r"${SAMPLES_SRC_DIR}", overwrite=True) #[YACSGEN] context.setVariable(r"YACSGENROOT", out_dir_Path + r"/BINARIES-CO7/YACSGEN", overwrite=True) context.setVariable(r"YACSGEN_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/YACSGEN", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/YACSGEN/bin") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/YACSGEN/bin") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/YACSGEN/lib/python${PYTHON_VERSION}/site-packages") #[COMPONENT] context.setVariable(r"COMPONENT_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/COMPONENT", overwrite=True) context.addToPath(r"${COMPONENT_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${COMPONENT_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${COMPONENT_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${COMPONENT_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${COMPONENT_ROOT_DIR}/${PYTHON_LIBDIR}/salome") #[OPENTURNS_SALOME] context.setVariable(r"OPENTURNS_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/OPENTURNS", overwrite=True) context.addToPath(r"${OPENTURNS_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${OPENTURNS_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${OPENTURNS_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${OPENTURNS_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${OPENTURNS_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.appendVariable(r"SALOME_MODULES", r"OPENTURNS",separator=",") context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/OPENTURNS/share/salome/resources/openturns",separator=":") #[PARAVISADDONS] context.setVariable(r"PARAVISADDONS", out_dir_Path + r"/BINARIES-CO7/PARAVISADDONS", overwrite=True) context.appendVariable(r"PV_PLUGIN_PATH", out_dir_Path + r"/BINARIES-CO7/PARAVISADDONS/lib/paraview",separator=":") context.addToPythonPath(out_dir_Path + r"/BINARIES-CO7/PARAVISADDONS/bin") #[zeromq] context.setVariable(r"ZEROMQ_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/zeromq", overwrite=True) context.setVariable(r"ZEROMQHOME", out_dir_Path + r"/BINARIES-CO7/zeromq", overwrite=True) context.setVariable(r"ZEROMQ_VERSION", r"4.3.1", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/zeromq/bin") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/zeromq/lib") #[CALCULATOR] context.setVariable(r"CALCULATOR_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/CALCULATOR", overwrite=True) context.addToPath(r"${CALCULATOR_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${CALCULATOR_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${CALCULATOR_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${CALCULATOR_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${CALCULATOR_ROOT_DIR}/${PYTHON_LIBDIR}/salome") context.appendVariable(r"SalomeAppConfig", out_dir_Path + r"/BINARIES-CO7/CALCULATOR/share/salome/resources/calculator",separator=":") #[PYCALCULATOR] context.setVariable(r"PYCALCULATOR_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/PYCALCULATOR", overwrite=True) context.addToPath(r"${PYCALCULATOR_ROOT_DIR}/bin/salome") context.addToLdLibraryPath(r"${PYCALCULATOR_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${PYCALCULATOR_ROOT_DIR}/bin/salome") context.addToPythonPath(r"${PYCALCULATOR_ROOT_DIR}/lib/salome") context.addToPythonPath(r"${PYCALCULATOR_ROOT_DIR}/${PYTHON_LIBDIR}/salome") #[cmake] context.setVariable(r"CMAKE_ROOT", out_dir_Path + r"/BINARIES-CO7/cmake", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/cmake/bin") #[mesa] context.setVariable(r"MESAROOT", out_dir_Path + r"/BINARIES-CO7/mesa", overwrite=True) context.setVariable(r"MESA_ROOT_DIR", out_dir_Path + r"/BINARIES-CO7/mesa", overwrite=True) context.setVariable(r"XLIB_SKIP_ARGB_VISUALS", r"1", overwrite=True) context.addToPath(out_dir_Path + r"/BINARIES-CO7/mesa/include/GL") context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/mesa/lib") context.setVariable(r"MESA_GL_VERSION_OVERRIDE", r"4.5", overwrite=True) #[salome_system] # [APPLI variables] context.setVariable(r"APPLI", out_dir_Path + r"/mesa_salome", overwrite=True) context.setVariable(r"ABSOLUTE_APPLI_PATH", out_dir_Path + r"/BINARIES-CO7/SALOME", overwrite=True) #[hook to integrate in launcher additionnal user modules] # Load all files extra.env.d/*.py and call the module's init routine] extradir=out_dir_Path + r"/extra.env.d" if os.path.exists(extradir): import importlib import importlib.util sys.path.insert(0, os.path.join(os.getcwd(), extradir)) for filename in sorted( filter(lambda x: os.path.isfile(os.path.join(extradir, x)), os.listdir(extradir))): if filename.endswith(".py"): f = os.path.join(extradir, filename) module_name = os.path.splitext(os.path.basename(f))[0] _specs = importlib.util.find_spec(module_name) _module = importlib.util.module_from_spec(_specs) _specs.loader.exec_module(_module) _module.init(context, out_dir_Path) #[manage salome doc command] if len(args) >1 and args[0]=='doc': _showDoc(args[1:]) return # Start SALOME, parsing command line arguments out, err, status = context.runSalome(args) sys.exit(status) except SalomeContextException as e: import logging logging.getLogger("salome").error(e) sys.exit(1) if __name__ == "__main__": args = sys.argv[1:] main(args) # vayukah@vayu-ubuntu:~/Desktop/salome_latest/SALOME-9.12.0-199e46fd182dbe93514b9ec2beb64400/SALOME-9.12.0$ vayukah@vayu-ubuntu:~/Desktop/salome_latest/SALOME-9.12.0-199e46fd182dbe93514b9ec2beb64400/SALOME-9.12.0$ sed -i 's|# context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/system_dep/gl")|# context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/system_dep/gl")\n context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/extra_libs")|' "./mesa_salome" vayukah@vayu-ubuntu:~/Desktop/salome_latest/SALOME-9.12.0-199e46fd182dbe93514b9ec2beb64400/SALOME-9.12.0$ ./mesa_salome