Skip to content

Commit 8f93530

Browse files
author
Daniel Nichols
committed
minor changes to bin script to handle python path
1 parent 011bf45 commit 8f93530

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

bin/pareval

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,5 @@ if [[ "$MODE" == "evaluate" ]]; then
8585
exit 1
8686
fi
8787

88-
python ${PAREVAL_ROOT}/drivers/run-all.py "$@"
88+
PYTHONPATH="${PAREVAL_ROOT}:${PYTHONPATH}" python ${PAREVAL_ROOT}/drivers/run-all.py "$@"
8989
fi

drivers/cpp/cpp_driver_wrapper.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@
66
import copy
77
import logging
88
import os
9-
from os import PathLike, environ
10-
import shlex
9+
from os import PathLike
1110
import subprocess
1211
import sys
1312
import tempfile
14-
from typing import List
1513

1614
# local imports
1715
sys.path.append("..")

0 commit comments

Comments
 (0)