pypaBuildHook: handle pypaBuildFlags __structuredAttrs-agnostically
This commit is contained in:
@@ -5,8 +5,16 @@ pypaBuildPhase() {
|
||||
echo "Executing pypaBuildPhase"
|
||||
runHook preBuild
|
||||
|
||||
local -a flagsArray=(
|
||||
--no-isolation
|
||||
--outdir dist/
|
||||
--wheel
|
||||
)
|
||||
concatTo flagsArray pypaBuildFlags
|
||||
|
||||
echo "Creating a wheel..."
|
||||
@build@/bin/pyproject-build --no-isolation --outdir dist/ --wheel $pypaBuildFlags
|
||||
echoCmd 'pypa build flags' "${flagsArray[@]}"
|
||||
@build@/bin/pyproject-build "${flagsArray[@]}"
|
||||
echo "Finished creating a wheel..."
|
||||
|
||||
runHook postBuild
|
||||
|
||||
Reference in New Issue
Block a user