Skip to content
Snippets Groups Projects
Unverified Commit 20d7d2c5 authored by Kareem Farid's avatar Kareem Farid Committed by GitHub
Browse files

Workaround for Click not being included in KLayout's Python (#2136)


Signed-off-by: default avatarKareem Farid <kareefardi@users.noreply.github.com>
parent a0e805e7
No related branches found
No related tags found
No related merge requests found
......@@ -109,6 +109,14 @@ def gui(viewer, format, run_dir, stage):
layout,
]
)
pythonpath = subprocess.check_output(
[
"python3",
"-c",
"import click; import os; print(os.path.dirname(click.__path__[0])); print(1)",
]
).decode()
run_env["PYTHONPATH"] = pythonpath
subprocess.check_call(
[
"klayout",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment