Install a working 'pythonw' into a virtualenv on Mac OS X
Python C



Some GUIs Pythona apps don't work right, unless pythonw is in an app bundle.

This script only fixes virtualenvs based on Framework style installs (bundles)

Framework Installs:

  • the default OSX install
  • brew install python --framework

But not:

  • brew install python, which we can't fix using this method


This code attempts to fix this issue, by making sure both python and pythonw get compiled like app bundles.