A meta-package for building a version of Python that can be embedded into a macOS, iOS, tvOS or watchOS project.
This is a meta-package for building a version of Python that can be embedded into a macOS, iOS, tvOS or watchOS project.
It works by downloading, patching, and building a fat binary of Python and selected pre-requisites, and packaging them as static libraries that can be included in an Xcode project.
The binaries support x86_64 for macOS; arm64 for Python 3.8+; arm64 for iOS and appleTV devices; and armv7k for watchOS. This should enable the code to run on:
The master branch of this repository has no content; there is an independent branch for each supported version of Python. The following Python versions are supported:
Suggestions for changes should be made against the
dev branch__; these will then be backported into the supported Python releases. The dev branch will track the most recent supported version of Python (currently, Python 3.10).
See the individual branches for usage instructions.
The following versions were supported in the past, but are no longer maintained:
Python 2.7__ (EOL January 2020)
Python 3.4__ (EOL March 2019)
Python 3.5__ (EOL February 2021)