diff --git a/CMakeLists.txt b/CMakeLists.txt index d74b7d622..20d910e8a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -513,7 +513,10 @@ if(${BUILD_PYTHON}) if(DEFINED ENV{DEB_BUILD_ARCH}) install( CODE - "execute_process(COMMAND ${Python3_EXECUTABLE} ${SETUP_PY} install --root=${CMAKE_SOURCE_DIR}/debian/python3-notcurses --install-layout=deb --prefix=${CMAKE_INSTALL_PREFIX} WORKING_DIRECTORY ../python)") + "execute_process(COMMAND ${Python3_EXECUTABLE} ${SETUP_PY} install --root=${CMAKE_SOURCE_DIR}/debian/python3-notcurses --install-layout=deb --prefix=${CMAKE_INSTALL_PREFIX} --skip-build + WORKING_DIRECTORY + ../python)" + ) else() install( CODE diff --git a/debian/control b/debian/control index 65a3e3c7c..926257594 100644 --- a/debian/control +++ b/debian/control @@ -79,6 +79,7 @@ Description: Binaries from libnotcurses notcurses-view, notcurses-planereel, and notcurses-input. Package: python3-notcurses +Section: python Architecture: any Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends} Description: Python wrappers for notcurses (Python 3)