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}