From e667c75b3746bf21985ed3f7b6d58c5d98946177 Mon Sep 17 00:00:00 2001 From: henry Date: Wed, 11 Oct 2023 11:05:13 -0500 Subject: [PATCH] Support conan version 1 & 2 --- uiucprescon/build/conan/files.py | 1 + uiucprescon/build/conan/v1.py | 1 + 2 files changed, 2 insertions(+) diff --git a/uiucprescon/build/conan/files.py b/uiucprescon/build/conan/files.py index 8a2c66c..3a866bb 100644 --- a/uiucprescon/build/conan/files.py +++ b/uiucprescon/build/conan/files.py @@ -1,6 +1,7 @@ from typing import List, Dict, TypedDict, Iterable, Any import abc + class ConanBuildInfoParser: def __init__(self, fp): self._fp = fp diff --git a/uiucprescon/build/conan/v1.py b/uiucprescon/build/conan/v1.py index a8259a3..519d14f 100644 --- a/uiucprescon/build/conan/v1.py +++ b/uiucprescon/build/conan/v1.py @@ -23,6 +23,7 @@ __all__ = ['build_deps_with_conan'] + def build_deps_with_conan( conanfile: str, build_dir: str,