Skip to content

Instantly share code, notes, and snippets.

View GTP95's full-sized avatar
🐢
Slowly inching towards the project's end

Giacomo Tommaso Petrucci GTP95

🐢
Slowly inching towards the project's end
View GitHub Profile
@GTP95
GTP95 / build-static-python.sh
Last active January 22, 2024 12:39 — forked from maddouri/build-static-python.sh
A simple script that builds static versions of Python and LibPython using musl-libc
#!/bin/bash
# set -eux
# This a simple script that builds static versions of Python and LibPython using musl-libc
# Find the associated article at: http://general-purpose.io/2015/12/06/compiling-python-and-libpython-statically-using-musl-libc/
WORKING_DIR="/code/static-python"
MUSL_PREFIX="/code/static-python/musl"
PY_PREFIX="/code/static-python/python"