Many of my plugins use a utility Python library called “glyphmonkey” which provides a bunch of useful monkey-patches to the objects provided by the Glyphs API. So far I’ve been shipping glyphmonkey.py
inside Contents/Resources
on each plugin, but I am now getting problems with different versions of the library floating around. Basically the version loaded is the version shipped with the first plugin to be loaded. If that’s out of date, the other plugins don’t work. So I think what I need to do is install glyphmonkey
as a Python library on the system instead.
So: What’s the best way to distribute Python modules to be used by Glyphs plugins? I was planning to make it a Python package on PyPI and ask people to install it using pip
, but the system Python on OS X 10.11 doesn’t seem to have pip
available. How does this affect things like vanilla
? What’s the best way to get users to install 3rd-party Python libraries?