def _classify_installed_files(install_paths, package_data, package_prefixes, py_modules, new_py_modules, scripts, new_scripts, data_files, cmake_source_dir, _cmake_install_dir):
    assert (not os.path.isabs(cmake_source_dir))
    assert (cmake_source_dir != '.')
    install_root = os.path.join(os.getcwd(), CMAKE_INSTALL_DIR())
    for path in install_paths:
        if (not to_platform_path(path).startswith(CMAKE_INSTALL_DIR())):
            raise SKBuildError('\n  CMake-installed files must be within the project root.\n    Project Root  : {}\n    Violating File: {}\n'.format(install_root, to_platform_path(path)))
        path = to_unix_path(os.path.relpath(path, CMAKE_INSTALL_DIR()))
        _classify_file(path, package_data, package_prefixes, py_modules, new_py_modules, scripts, new_scripts, data_files)
def _classify_installed_files(install_paths, package_data, package_prefixes, py_modules, new_py_modules, scripts, new_scripts, data_files, cmake_source_dir, _cmake_install_dir):
    assert (not os.path.isabs(cmake_source_dir))
    assert (cmake_source_dir != '.')
    install_root = os.path.join(os.getcwd(), CMAKE_INSTALL_DIR())
    for path in install_paths:
        if (not to_platform_path(path).startswith(CMAKE_INSTALL_DIR())):
            raise SKBuildError('\n  CMake-installed files must be within the project root.\n    Project Root  : {}\n    Violating File: {}\n'.format(install_root, to_platform_path(path)))
        path = to_unix_path(os.path.relpath(path, CMAKE_INSTALL_DIR()))
        _classify_file(path, package_data, package_prefixes, py_modules, new_py_modules, scripts, new_scripts, data_files)