if(DEFINED ENV{DESTDIR})
  set(ROOT_DIR_ARG "--root=$ENV{DESTDIR}")
endif()
if(NOT "@SETUPTOOLS_USE_DISTUTILS@x" STREQUAL "x")
  set(ENV{SETUPTOOLS_USE_DISTUTILS} @SETUPTOOLS_USE_DISTUTILS@)
endif()
execute_process(COMMAND "@Python_EXECUTABLE_CMAKE@" "@SETUP_PY_FILENAME@" install ${ROOT_DIR_ARG} @INSTALL_ARGS@)
