mweinelt commented on code in PR #40322:
URL: https://github.com/apache/arrow/pull/40322#discussion_r1510015008


##########
cpp/cmake_modules/FindPython3Alt.cmake:
##########
@@ -67,7 +67,7 @@ get_target_property(NUMPY_INCLUDE_DIRS Python3::NumPy 
INTERFACE_INCLUDE_DIRECTOR
 # detect it ourselves.
 # (https://gitlab.kitware.com/cmake/cmake/issues/20408)
 execute_process(COMMAND "${PYTHON_EXECUTABLE}" "-c"
-                        "from distutils import sysconfig; 
print(sysconfig.get_config_var('EXT_SUFFIX'))"
+                        "import distutils; 
print(sysconfig.get_config_var('EXT_SUFFIX'))"

Review Comment:
   ```suggestion
                           "import sysconfig; 
print(sysconfig.get_config_var('EXT_SUFFIX'))"
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to