File: interface-python

package info (click to toggle)
tasmanian 8.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,852 kB
  • sloc: cpp: 34,523; python: 7,039; f90: 5,080; makefile: 224; sh: 64; ansic: 8
file content (13 lines) | stat: -rw-r--r-- 336 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -ex

cp InterfacePython/example_*.py "$AUTOPKGTEST_TMP"
for f in "$AUTOPKGTEST_TMP"/*.in.py; do
    sed s/@Tasmanian_python_example_import@// < "$f" > "${f%.in.py}.py"
done

python3 "$AUTOPKGTEST_TMP"/example_sparse_grids.py
python3 "$AUTOPKGTEST_TMP"/example_dream.py
python3 "$AUTOPKGTEST_TMP"/example_optimization.py