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:
Martin Diehl 2019-04-25 07:16:24 +02:00
parent 7104bc9934
commit 64c9a367c0
3 changed files with 2 additions and 4 deletions

2
CONFIG
View File

@ -1,8 +1,6 @@
# "set"-syntax needed only for tcsh (but works with bash and zsh)
# DAMASK_ROOT will be expanded
set DAMASK_BIN = ${DAMASK_ROOT}/bin
set DAMASK_NUM_THREADS = 4
set MSC_ROOT = /opt/msc

View File

@ -7,7 +7,7 @@ import damask
damaskEnv = damask.Environment()
baseDir = damaskEnv.relPath('processing/')
binDir = damaskEnv.options['DAMASK_BIN']
binDir = damaskEnv.relPath('bin/')
if not os.path.isdir(binDir):
os.mkdir(binDir)

View File

@ -1,6 +1,6 @@
# -*- coding: UTF-8 no BOM -*-
import os,subprocess,shlex,re
import os,re
class Environment():
__slots__ = [ \