mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-24 12:20:33 +05:00
use log dir function
This commit is contained in:
parent
e957479789
commit
1a981ddf6e
@ -20,7 +20,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
import os, sys, string
|
import os, sys, string
|
||||||
from salome_utils import getTmpDir, generateFileName, uniteFiles
|
from salome_utils import getLogDir, generateFileName, uniteFiles
|
||||||
from setenv import add_path, get_lib_dir, salome_subdir
|
from setenv import add_path, get_lib_dir, salome_subdir
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
@ -30,7 +30,7 @@ def set_env( args ):
|
|||||||
psep = os.pathsep
|
psep = os.pathsep
|
||||||
python_version="python%d.%d" % sys.version_info[0:2]
|
python_version="python%d.%d" % sys.version_info[0:2]
|
||||||
|
|
||||||
tmp_dir = getTmpDir()
|
tmp_dir = getLogDir()
|
||||||
env_dir = generateFileName( tmp_dir, prefix="env", with_port=True )
|
env_dir = generateFileName( tmp_dir, prefix="env", with_port=True )
|
||||||
res_dir = os.path.join( os.getenv( "GEOM_ROOT_DIR" ), "share", salome_subdir, "resources", "geom" )
|
res_dir = os.path.join( os.getenv( "GEOM_ROOT_DIR" ), "share", salome_subdir, "resources", "geom" )
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user