From bd6e8c7bbc8a738497930d1622bdf3791fb82b19 Mon Sep 17 00:00:00 2001 From: youben11 Date: Mon, 4 Apr 2022 07:32:09 +0100 Subject: [PATCH] fix: go back one additional directory package has been refactored adding compiler/ under concrete/ --- compiler/lib/Bindings/Python/concrete/compiler/utils.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compiler/lib/Bindings/Python/concrete/compiler/utils.py b/compiler/lib/Bindings/Python/concrete/compiler/utils.py index ac61f75bc..439687efb 100644 --- a/compiler/lib/Bindings/Python/concrete/compiler/utils.py +++ b/compiler/lib/Bindings/Python/concrete/compiler/utils.py @@ -19,7 +19,11 @@ def lookup_runtime_lib() -> str: """ # Go up to site-packages level cwd = os.path.abspath(__file__) + # to compiler cwd = os.path.abspath(os.path.join(cwd, os.pardir)) + # to concrete + cwd = os.path.abspath(os.path.join(cwd, os.pardir)) + # to site-packages cwd = os.path.abspath(os.path.join(cwd, os.pardir)) package_name = "concrete_compiler" libs_path = os.path.join(cwd, f"{package_name}.libs")