Skip to content
Snippets Groups Projects
Commit ae247192 authored by Yifan Zhao's avatar Yifan Zhao
Browse files

Use relative-to-file import path

parent 0d7fb740
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,8 @@ from datetime import date
#
import sys
from pathlib import Path
sys.path.insert(0, Path("../projects/hpvm-profiler").absolute().as_posix())
this_folder = Path(__file__).parent
sys.path.insert(0, (this_folder / "../projects/hpvm-profiler").absolute().as_posix())
# General configuration
# ---------------------
......
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