always install post processing scripts into {$DAMASK_ROOT}/bin
custom installation directions will be made available by more standard approaches
This commit is contained in:
parent
7104bc9934
commit
64c9a367c0
2
CONFIG
2
CONFIG
|
@ -1,8 +1,6 @@
|
||||||
# "set"-syntax needed only for tcsh (but works with bash and zsh)
|
# "set"-syntax needed only for tcsh (but works with bash and zsh)
|
||||||
# DAMASK_ROOT will be expanded
|
# DAMASK_ROOT will be expanded
|
||||||
|
|
||||||
set DAMASK_BIN = ${DAMASK_ROOT}/bin
|
|
||||||
|
|
||||||
set DAMASK_NUM_THREADS = 4
|
set DAMASK_NUM_THREADS = 4
|
||||||
|
|
||||||
set MSC_ROOT = /opt/msc
|
set MSC_ROOT = /opt/msc
|
||||||
|
|
|
@ -7,7 +7,7 @@ import damask
|
||||||
|
|
||||||
damaskEnv = damask.Environment()
|
damaskEnv = damask.Environment()
|
||||||
baseDir = damaskEnv.relPath('processing/')
|
baseDir = damaskEnv.relPath('processing/')
|
||||||
binDir = damaskEnv.options['DAMASK_BIN']
|
binDir = damaskEnv.relPath('bin/')
|
||||||
|
|
||||||
if not os.path.isdir(binDir):
|
if not os.path.isdir(binDir):
|
||||||
os.mkdir(binDir)
|
os.mkdir(binDir)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# -*- coding: UTF-8 no BOM -*-
|
# -*- coding: UTF-8 no BOM -*-
|
||||||
|
|
||||||
import os,subprocess,shlex,re
|
import os,re
|
||||||
|
|
||||||
class Environment():
|
class Environment():
|
||||||
__slots__ = [ \
|
__slots__ = [ \
|
||||||
|
|
Loading…
Reference in New Issue