This is meant to be a maintained way to provide static python builds for multiple platforms.
Provided artifacts:
python
and pythonw
libpython
Everything native should be compiled in.
python
: https://api.cirrus-ci.com/v1/artifact/github/pyz-dispenser/cpython-static/debian/binary/cpython/pythonlibpython.a
(for linking into your own app): https://api.cirrus-ci.com/v1/artifact/github/pyz-dispenser/cpython-static/debian/library/cpython/libpython3.8.a
(NOTE: All the required linker flags are not yet published)stdlib.zip
: https://api.cirrus-ci.com/v1/artifact/github/pyz-dispenser/cpython-static/debian/stdlib/stdlib.zipSetup.local
is the specific configuration for CI's build environment. It can vary, depending on what CPython's setup.py
detects.
To rebuild it for the repo:
mods.setup
from the modinfo job and copy it to Setup.local
/tmp/cirrus-ci-build/cpython/
from the fileIf you are doing your own build, you'll need to run gen-info.py
yourself. (See the docstring in that script.)