From 1645b0bef8da863072b40004c774b73de4d91ba0 Mon Sep 17 00:00:00 2001 From: Fabian Damken Date: Tue, 3 Oct 2023 17:53:17 -0400 Subject: [PATCH] virtualenv is all you need --- setup_deps.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setup_deps.py b/setup_deps.py index de48f72d127..6386e9bd3ec 100644 --- a/setup_deps.py +++ b/setup_deps.py @@ -111,10 +111,11 @@ resources_dir = osp.join(dependency_dir, "resources") # Global cmake prefix path -cmake_prefix_path = [ +cmake_prefix_path = [] +conda_prefix = os.getenv("CONDA_PREFIX") +if conda_prefix: # Anaconda env root directory - os.environ["CONDA_PREFIX"] -] + cmake_prefix_path.append(conda_prefix) # Required packages required_packages = [