diff options
author | Brigitta Sipőcz <bsipocz@gmail.com> | 2022-05-20 18:34:06 -0700 |
---|---|---|
committer | Brigitta Sipőcz <bsipocz@gmail.com> | 2022-05-23 09:29:59 -0700 |
commit | d4d5771e17c14ce8cdeaf2922d537006dd3fcebf (patch) | |
tree | 0e46316f3143350dd14602ebea42f06a4c5864c1 /doc/source/f2py/code | |
parent | 53379cd353fb7ab5840c3ee370c735fe61d6419c (diff) | |
download | numpy-d4d5771e17c14ce8cdeaf2922d537006dd3fcebf.tar.gz |
MAINT: Python <3.8 related cleanups
Diffstat (limited to 'doc/source/f2py/code')
-rw-r--r-- | doc/source/f2py/code/CMakeLists.txt | 4 | ||||
-rw-r--r-- | doc/source/f2py/code/CMakeLists_skbuild.txt | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/source/f2py/code/CMakeLists.txt b/doc/source/f2py/code/CMakeLists.txt index d16ddf77e..6f5170ad5 100644 --- a/doc/source/f2py/code/CMakeLists.txt +++ b/doc/source/f2py/code/CMakeLists.txt @@ -14,8 +14,8 @@ if(PROJECT_SOURCE_DIR STREQUAL PROJECT_BINARY_DIR) ) endif() -# Grab Python, 3.7 or newer -find_package(Python 3.7 REQUIRED +# Grab Python, 3.8 or newer +find_package(Python 3.8 REQUIRED COMPONENTS Interpreter Development.Module NumPy) # Grab the variables from a local Python installation diff --git a/doc/source/f2py/code/CMakeLists_skbuild.txt b/doc/source/f2py/code/CMakeLists_skbuild.txt index 3d092760b..f2d6b69c1 100644 --- a/doc/source/f2py/code/CMakeLists_skbuild.txt +++ b/doc/source/f2py/code/CMakeLists_skbuild.txt @@ -17,7 +17,7 @@ endif() # Ensure scikit-build modules if (NOT SKBUILD) - find_package(PythonInterp 3.7 REQUIRED) + find_package(PythonInterp 3.8 REQUIRED) # Kanged --> https://github.com/Kitware/torch_liberator/blob/master/CMakeLists.txt # If skbuild is not the driver; include its utilities in CMAKE_MODULE_PATH execute_process( |