From 66a2fc668b394459e1f86e9f35b67377a9f1f285 Mon Sep 17 00:00:00 2001 From: Shadi Date: Tue, 30 Jul 2024 01:28:21 -0700 Subject: [PATCH] Major update to add new features to `LDMatrix` data structure + support for `LDLinearOperator`. --- setup.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 8bc92ba..e92a18b 100644 --- a/setup.py +++ b/setup.py @@ -54,8 +54,12 @@ def find_blas_libraries(): # STEP 3: Get all pkg-config packages and filter to # those that have "blas" in the name. - blas_packages = [pkg for pkg in pkgconfig.list_all() - if "blas" in pkg] + # NOTE: This step may not work on some systems... + try: + blas_packages = [pkg for pkg in pkgconfig.list_all() + if "blas" in pkg] + except FileNotFoundError: + blas_packages = [] # First check: Make sure that compiler flags are defined and a # valid cblas.h header file exists in the include directory: