From 7a5ffbee7e969f0834f5fa1adde35b833697242d Mon Sep 17 00:00:00 2001 From: Rodrigo Kumpera Date: Mon, 1 Apr 2019 09:58:15 -0400 Subject: [PATCH] [python] Fix packaging so it's possible to produce a wheels package on linux. (#1815) --- python/CMakeLists.txt | 1 + python/setup.py | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index ee43008be9f..6433d657901 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -18,6 +18,7 @@ else(Boost_MINOR_VERSION GREATER 66) endif(PY_VERSION_STRIPPED_FIRST_CHAR STREQUAL "2") endif(Boost_MINOR_VERSION GREATER 66) +find_package(PythonInterp REQUIRED) find_package(PythonLibs ${PY_VERSION} REQUIRED) find_package(Boost REQUIRED COMPONENTS system python${BOOST_PY_VERSION_SUFFIX}) diff --git a/python/setup.py b/python/setup.py index bbfe0fd8a73..2a0d0af75c8 100644 --- a/python/setup.py +++ b/python/setup.py @@ -75,8 +75,6 @@ def run(self): class Sdist(_sdist): def run(self): - # run prep if needed - prep() _sdist.run(self)