Update .westpa_gen.py to use PREFIX
@@ -12,6 +12,11 @@ export PATH=$WEST_BIN:$PATH
\n'''
with open('westpa.sh', 'w') as f:
- f.write(template.format(WESTROOT=os.environ.get('PWD'),
- WESTBIN=os.path.join(os.environ.get('PWD'), 'bin'),
+ f.write(template.format(WESTROOT=os.environ.get('PREFIX'),
+ WESTBIN=os.path.join(os.environ.get('PREFIX'), 'bin'),
WESTPYTHON=os.environ.get('WEST_PYTHON','')))
+
+#kimwong with open('westpa.sh', 'w') as f:
+#kimwong f.write(template.format(WESTROOT=os.environ.get('PWD'),
+#kimwong WESTBIN=os.path.join(os.environ.get('PWD'), 'bin'),
+#kimwong WESTPYTHON=os.environ.get('WEST_PYTHON','')))
