File size: 260 Bytes
7f50cd1
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -eu
: "${CORE_DIR:?CORE_DIR must be set}"
export NUMBA_NUM_THREADS=1
export NUMBA_CACHE_DIR="$PWD/.numba-cache"
export MPLCONFIGDIR="$PWD/.matplotlib"
mkdir -p "$NUMBA_CACHE_DIR" "$MPLCONFIGDIR"
exec python3 "$(dirname "$0")/method.py" "$1" "$2"