diff --git a/CMakeLists.txt b/CMakeLists.txt
index 71f465661886d4c2dded190dfecf1c17e056ad7e..7501a5a050e98c136f11c9ea6b8df0f4c13757fd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -61,8 +61,7 @@ add_subdirectory(cmake/modules)
 include(DuneXTInstallPythonPackage)
 # this symlinks all files in python/ to the binary dir and install into the virtualenv from there thereby making the
 # compiled extensions directly usable from the venv
-configure_file(python/setup.py.in ${CMAKE_CURRENT_BINARY_DIR}/python/setup.py)
-dune_python_install_package(PATH python)
+dune_xt_install_python_package(PATH python)
 
 # finalize the dune project, e.g. generating config.h etc.
 finalize_dune_project(GENERATE_CONFIG_H_CMAKE)