diff --git a/python/setup.py b/python/setup.py index d7643f17294a7..6852a3affb859 100755 --- a/python/setup.py +++ b/python/setup.py @@ -257,8 +257,8 @@ def _run_cmake_pyarrow_cpp(self, pyarrow_cpp_home): '-DCMAKE_BUILD_TYPE=' + str(self.build_type.lower()), '-DCMAKE_INSTALL_LIBDIR=lib', '-DCMAKE_INSTALL_PREFIX=' + str(pyarrow_cpp_home), - '-DPYTHON_EXECUTABLE=' + str(sys.executable), - '-DPython3_EXECUTABLE=' + str(sys.executable), + '-DPYTHON_EXECUTABLE=' + sys.executable, + '-DPython3_EXECUTABLE=' + sys.executable, '-DPYARROW_CXXFLAGS=' + str(self.cmake_cxxflags), ] @@ -338,8 +338,8 @@ def _run_cmake(self, pyarrow_cpp_home): static_lib_option = '' cmake_options = [ - '-DPYTHON_EXECUTABLE=' + str(sys.executable), - '-DPython3_EXECUTABLE=' + str(sys.executable), + '-DPYTHON_EXECUTABLE=' + sys.executable, + '-DPython3_EXECUTABLE=' + sys.executable, '-DPYARROW_CPP_HOME=' + str(pyarrow_cpp_home), '-DPYARROW_CXXFLAGS=' + str(self.cmake_cxxflags), static_lib_option,