Requirements:
- docker - build
- uv - publish
Build Steps:
- Run
uvx cibuildwheeland everything should happen automagically in a container - Resulting artifacts will end up in the
wheelhousefolder
Publish steps Add the following to the pyproject.toml. It cannot be included while building the wheels!
[[tool.uv.index]]
name = "CSIRT_MU_INFRA"
url = "https://gitlab.ics.muni.cz/api/v4/projects/2817/packages/pypi/simple"
publish-url = "https://gitlab.ics.muni.cz/api/v4/projects/2817/packages/pypi"
- Run
uv publish --index CSIRT_MU_INFRA, leave the username as__token__and enter a token with permissions to push to the csirtmu-infra-artifact-repository.
NOTE:
If the build gets stuck on downloading <smth> or after compile (i.e. after compiler warnings are dumped) for 10+ minutes,
prune containers and volumes.