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)