From f072fbab351dd5d2d7a854104510469e8b8969c3 Mon Sep 17 00:00:00 2001 From: serge-sans-paille Date: Sun, 15 Oct 2023 08:34:53 +0200 Subject: [PATCH] setuptools --- pythran/config.py | 3 ++- requirements.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pythran/config.py b/pythran/config.py index 6ba9605e1..bfaaa6933 100644 --- a/pythran/config.py +++ b/pythran/config.py @@ -257,7 +257,8 @@ def parse_define(define): # `numpy.distutils` not present for Python >= 3.12 except ImportError: blas = numpy.show_config('dicts')["Build Dependencies"]["blas"] - extension["libraries"].append(blas['name']) + libblas = {'openblas64': 'openblas'}.get(blas['name'], blas['name']) + extension["libraries"].append(libblas) # final macro normalization diff --git a/requirements.txt b/requirements.txt index 080b2a85c..fd6a738e5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ ply>=3.4 +setuptools gast~=0.5.0 numpy beniget~=0.4.0