summaryrefslogtreecommitdiff
path: root/numpy/linalg/lapack_lite
diff options
context:
space:
mode:
authorSeth Troisi <sethtroisi@google.com>2020-01-28 11:39:46 -0800
committerSebastian Berg <sebastian@sipsolutions.net>2020-01-28 11:39:46 -0800
commit96727cf007217256700a1d805569a73d2171f1d5 (patch)
treeb31b6381b620029b1f3fc702243b0816380ee299 /numpy/linalg/lapack_lite
parentd67de1bfaaa8b9e01c367c34bf76ff86124bf8dc (diff)
downloadnumpy-96727cf007217256700a1d805569a73d2171f1d5.tar.gz
MAINT: Remove sys.version checks (gh-#15373)
More sys.version cleanup.
Diffstat (limited to 'numpy/linalg/lapack_lite')
-rwxr-xr-xnumpy/linalg/lapack_lite/make_lite.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/numpy/linalg/lapack_lite/make_lite.py b/numpy/linalg/lapack_lite/make_lite.py
index 960f5e2d8..7c2d110fa 100755
--- a/numpy/linalg/lapack_lite/make_lite.py
+++ b/numpy/linalg/lapack_lite/make_lite.py
@@ -20,12 +20,7 @@ import shutil
import fortran
import clapack_scrub
-PY2 = sys.version_info < (3, 0)
-
-if PY2:
- from distutils.spawn import find_executable as which
-else:
- from shutil import which
+from shutil import which
# Arguments to pass to f2c. You'll always want -A for ANSI C prototypes
# Others of interest: -a to not make variables static by default