fixup! Install build package
See: https://packaging.python.org/en/latest/tutorials/packaging-projects/
This commit is contained in:
parent
d06c7a6b05
commit
c852e53875
|
@ -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 $<TARGET_FILE:Python3::Interpreter> -m ensurepip
|
||||
COMMAND $<TARGET_FILE:Python3::Interpreter> -m pip install --upgrade build
|
||||
COMMAND $<TARGET_FILE:Python3::Interpreter> -m build &&
|
||||
${CMAKE_COMMAND} -E copy dist/${setup_file_name} ${package_file}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
|
|
Loading…
Reference in New Issue