customdisplayprofiles
customdisplayprofiles copied to clipboard
Updated to use python3 and PyObjC 8.4
Switched print function to Python 3. Added import of ColorSync framework module from pyobjc. Removed import of objc and deprecated parseBridgeSupport code. Cleaned up some formatting using PyCharm.
To get all of the modules to import correctly on my newly updated macOS 12.3 installation, I needed to reinstall pyobjc entirely using:
% python3 -m pip freeze | grep pyobjc | while read p; do python3 -m pip uninstall -y "$p"; done;
% sudo python3 -m pip install pyobjc
Tested and working with Python 3.8.9 on macOS 12.3 installed on an iMac M1 2021. Fixes Issue #6.
Thanks so much for sending this in! This was needed. I'm not in a location where I can take a closer look, but I should be able to tomorrow.
I came back to this repo today and realized I'd never merged your modernization work! Thanks, it's much appreciated!
I'm going to look at incorporating a bit of pyinstaller as a way to offer a pre-compiled release, as well, from an older experiment branch I had.