From c852e538754e9e67c6fd34b6e28cd3024958394f Mon Sep 17 00:00:00 2001 From: Xiaoge Su Date: Mon, 22 Apr 2024 16:58:49 -0700 Subject: [PATCH] fixup! Install build package See: https://packaging.python.org/en/latest/tutorials/packaging-projects/ --- bindings/python/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/python/CMakeLists.txt b/bindings/python/CMakeLists.txt index cbddd410c9..7c969b5ecb 100644 --- a/bindings/python/CMakeLists.txt +++ b/bindings/python/CMakeLists.txt @@ -83,6 +83,7 @@ set(setup_file_name foundationdb-${FDB_VERSION}.tar.gz) set(package_file ${CMAKE_BINARY_DIR}/packages/foundationdb-${FDB_VERSION}${not_fdb_release_string}.tar.gz) add_custom_command(OUTPUT ${package_file} COMMAND $ -m ensurepip + COMMAND $ -m pip install --upgrade build COMMAND $ -m build && ${CMAKE_COMMAND} -E copy dist/${setup_file_name} ${package_file} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}