Skip to content

Commit

Permalink
Cleanup tests and C extensions of unused Python version
Browse files Browse the repository at this point in the history
Cleanup tests and C extensions of unused Python version to reduce
flatpak size.
  • Loading branch information
starnight committed Sep 4, 2023
1 parent 7f5d676 commit 89f0555
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build-aux/flatpak/org.endlessos.Key.Devel.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,15 @@
"branch" : "main"
}
]
},
{
"name" : "python3-klobri-cleanup",
"buildsystem" : "simple",
"build-commands" : [
"find ${KOLIBRI_MODULE_PATH}/dist/cext -type d -name cp* -not -path ${KOLIBRI_MODULE_PATH}/dist/cext/cp39 -exec rm -rf {} +",
"rm -rf ${KOLIBRI_MODULE_PATH}/dist/cext/*/Windows",
"find ${KOLIBRI_MODULE_PATH}/dist -type d -name *test* -not -path ${KOLIBRI_MODULE_PATH}/dist/django/test -exec rm -rf {} +"
]
}
]
}

0 comments on commit 89f0555

Please sign in to comment.