fix-docker #10
1 changed files with 7 additions and 0 deletions
7
main.py
7
main.py
|
|
@ -31,6 +31,13 @@ ENV_PATHS = ";".join([x.as_posix() for x in ENV_FILES])
|
||||||
RECIPES_DIR = Path("../recipes").resolve()
|
RECIPES_DIR = Path("../recipes").resolve()
|
||||||
OUTPUT_DIR = Path("./test-output").resolve()
|
OUTPUT_DIR = Path("./test-output").resolve()
|
||||||
|
|
||||||
|
# -------------------------------- pythonpath -------------------------------- #
|
||||||
|
|
||||||
|
# add recipes dir to pythonpath, so that python imports from there are possible
|
||||||
|
# the custom classes of Runner will be imported from there
|
||||||
|
os.environ["PYTHONPATH"] = RECIPES_DIR.as_posix()
|
||||||
|
|
||||||
|
# ------------------------------------ run ----------------------------------- #
|
||||||
|
|
||||||
subprocess.run(
|
subprocess.run(
|
||||||
[
|
[
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue