Skip to content
A tool for building standalone relocatable Python.framework bundles
Branch: master
Clone or download
Latest commit afa2027 Jun 5, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
locallibs Run all Python files through isort and black May 18, 2019
.gitignore First code commit Aug 4, 2018
LICENSE Initial commit Aug 4, 2018
README.txt Update README.txt Jun 5, 2019
make_relocatable_python_framework.py Run all Python files through isort and black May 18, 2019
research_notes.txt First code commit Aug 4, 2018

README.txt

This is a tool to make a relocatable Python framework containing PyObjC.

A relocatable Python.framework is ideal for embedding into an application's Frameworks directory, and can even be used to get PyObjC-based apps and tools running in the macOS Recovery environment, which does not include Python.

The Python version defaults to 2.7.15, and minimum (or target) macOS version is 10.9. Currently offered versions of pip and PyObjC are installed, as is xattr 0.6.4 (this is the version included with macOS High Sierra -- the current version has issues running in Recovery boot)

Currently tested versions:
    Python version 2.7.15 with macOS deployment target 10.9+
    Python version 3.7.0 with macOS deployment target 10.9+

Basic use -- make a Python.framework in the current working directory:
./make_relocatable_python_framework

Specifying a target destination for the framework:
./make_relocatable_python_framework --destination ~/Desktop

Specifying a different Python version:
./make_relocatable_python_framework --python-version 3.7.0

More options:
./make_relocatable_python_framework --help

You can’t perform that action at this time.