Skip to content

Commit

Permalink
Remove conversion to str for sys.executable in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AlenkaF committed Sep 14, 2022
1 parent 21d98f7 commit dad7c73
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
]

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit dad7c73

Please sign in to comment.