summaryrefslogtreecommitdiff
path: root/numpy/distutils/system_info.py
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2021-02-06 22:10:36 +0100
committerRalf Gommers <ralf.gommers@gmail.com>2021-02-06 22:12:49 +0100
commitc78e4f69a60e81e5e0e0bda6b950440afc737222 (patch)
tree66e16f224eb02d4afc8ffbe44211ff6c1203f1bb /numpy/distutils/system_info.py
parentcba30dbc4012f0968e25d4da3b48f3d9d745aa00 (diff)
downloadnumpy-c78e4f69a60e81e5e0e0bda6b950440afc737222.tar.gz
DEP: doc-deprecate BLAS_SRC/LAPACK_SRC
Building BLAS and LAPACK from sources in a NumPy build makes very little sense in 2021. Therefore remove the documentation for this from `site.cfg.example`, and doc-deprecate it in `distutils/system_info.py`. It's hard to properly deprecate and not worth doing, just de-emphasizing is enough. [ci skip]
Diffstat (limited to 'numpy/distutils/system_info.py')
-rw-r--r--numpy/distutils/system_info.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py
index 13f9da0fb..2e355a34a 100644
--- a/numpy/distutils/system_info.py
+++ b/numpy/distutils/system_info.py
@@ -1549,6 +1549,9 @@ class lapack_info(system_info):
class lapack_src_info(system_info):
+ # LAPACK_SRC is deprecated, please do not use this!
+ # Build or install a BLAS library via your package manager or from
+ # source separately.
section = 'lapack_src'
dir_env_var = 'LAPACK_SRC'
notfounderror = LapackSrcNotFoundError
@@ -2468,6 +2471,9 @@ class accelerate_info(system_info):
return
class blas_src_info(system_info):
+ # BLAS_SRC is deprecated, please do not use this!
+ # Build or install a BLAS library via your package manager or from
+ # source separately.
section = 'blas_src'
dir_env_var = 'BLAS_SRC'
notfounderror = BlasSrcNotFoundError