{"id":18838609,"url":"https://github.com/beeware/cpython-apple-source-deps","last_synced_at":"2026-05-02T09:03:37.040Z","repository":{"id":203457013,"uuid":"709625839","full_name":"beeware/cpython-apple-source-deps","owner":"beeware","description":"A meta-project for building the binary packages for iOS, tvOS and watchOS that a CPython build requires","archived":false,"fork":false,"pushed_at":"2026-04-05T20:53:56.000Z","size":210,"stargazers_count":10,"open_issues_count":1,"forks_count":11,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-04-05T22:23:24.546Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beeware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["freakboy3742"],"custom":["https://beeware.org/bee/join"]}},"created_at":"2023-10-25T04:21:53.000Z","updated_at":"2026-04-05T20:54:03.000Z","dependencies_parsed_at":"2026-01-04T19:01:55.797Z","dependency_job_id":null,"html_url":"https://github.com/beeware/cpython-apple-source-deps","commit_stats":null,"previous_names":["beeware/cpython-apple-source-deps"],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/beeware/cpython-apple-source-deps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeware%2Fcpython-apple-source-deps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeware%2Fcpython-apple-source-deps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeware%2Fcpython-apple-source-deps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeware%2Fcpython-apple-source-deps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beeware","download_url":"https://codeload.github.com/beeware/cpython-apple-source-deps/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeware%2Fcpython-apple-source-deps/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32528665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T02:40:00.956Z","updated_at":"2026-05-02T09:03:37.013Z","avatar_url":"https://github.com/beeware.png","language":"Makefile","funding_links":["https://github.com/sponsors/freakboy3742","https://beeware.org/bee/join"],"categories":[],"sub_categories":[],"readme":"# CPython Apple source dependencies\r\n\r\nA meta-package for building the binary packages for iOS, tvOS, watchOS, and\r\nvisionOS that a CPython build requires. This includes:\r\n\r\n- BZip2\r\n- XZ\r\n- libFFI\r\n- mpdecimal\r\n- OpenSSL 1.1\r\n- OpenSSL 3.0\r\n\r\nThe repository works by downloading, patching, and building binaries for each\r\nSDK target and architecture that is requried. The compiled library is packed\r\ninto a tarball for distribution in \"installed\" form - that is, the contents of\r\nthe `include` and `lib` folders are included.\r\n\r\nThe binaries support arm64 for iOS, appleTV and visionOS devices, and arm64_32\r\nfor watchOS. They also supports device simulators on both x86_64 and arm64\r\nhardware, except that visionOS is officially unsupported by Apple on x86_64.\r\nThis should enable the code to run on:\r\n\r\n- **iOS 13.0 or later, on**:\r\n  - iPhone (6s or later)\r\n  - iPad (5th gen or later)\r\n  - iPad Air (all models)\r\n  - iPad Mini (2 or later)\r\n  - iPad Pro (all models)\r\n  - iPod Touch (7th gen or later)\r\n- **macOS 11 or later, using Mac Catalyst (14.2 or later), on**:\r\n  - MacBook (2015 or later)\r\n  - MacBook Air (2013 or later)\r\n  - MacBook Pro (Late 2013 or later)\r\n  - Mac mini (2014 or later)\r\n  - iMac (2014 or later)\r\n  - iMac Pro (2017 or later)\r\n  - Mac Pro (2013 or later)\r\n  - Mac Studio\r\n- **tvOS 9.0 or later, on**:\r\n  - Apple TV (4th gen or later)\r\n- **watchOS 4.0 or later, on**:\r\n  - Apple Watch (4th gen or later)\r\n- **visionOS 2.0 or later, on**:\r\n  - Apple Vision Pro (all models)\r\n\r\n## Quickstart\r\n\r\n**Unless you're trying to directly link against one of these libraries, you\r\ndon't need to use this repository**. When you obtain a CPython build for an\r\nApple platform, it will have already been linked using these libraries.\r\n\r\nIf you *do* need to link against these libraries for some reason, you can use\r\nthe pre-compiled versions that are published on the\r\n[Github releases page](https://github.com/beeware/cpython-apple-source-deps/releases).\r\nYou don't need to compile them yourself.\r\n\r\nHowever, if you *do* need to compile your own version for some reason:\r\n\r\n- Clone this repository\r\n- Create a Python 3 virtual environment. Any supported Python 3 release should\r\n  be sufficient; some tools require python3 as part of their build.\r\n- In the root directory, run:\r\n  - `make` (or `make all`) to build everything.\r\n  - `make iOS` to build everything for iOS.\r\n  - `make BZip2` to build BZip2 for every platform\r\n  - `make BZip2-iOS` to build BZip2 for iOS\r\n\r\nThis should:\r\n\r\n1. Download the original source packages\r\n2. Patch them as required for compatibility with the selected OS\r\n3. Build the libraries for the selected OS and architecture\r\n4. Package a tarball containing build products.\r\n\r\nThe resulting artefacts will be packaged as `.tar.gz` files in the `dist`\r\nfolder.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeeware%2Fcpython-apple-source-deps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeeware%2Fcpython-apple-source-deps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeeware%2Fcpython-apple-source-deps/lists"}