How do I develop and create a stand-alone PyGTK application package for MacOS with prominent widgets?

I read that you can build GTK + on MacOS X. I know that it is possible to create a GTK + application package on MacOS . I also know that it is possible to create widgets that look like native . However, the search around I do not quite understand how to create a package that includes the material of the native theme, and uses Python, and not its own C-point. There are also rumors that it is possible to build PyGTK , but it seems that there may be some wrinkles in this process.

However, there is no walkthrough that explains how you can set up an environment in which an application can be launched from a Python source and then built and deployed in a suite of applications. How can i do this?

+7
python gtk pygtk macos
source share
3 answers

Visible widgets are pretty complicated. This is where the quartz engine (for themes) begins, found here http://git.gnome.org/browse/gtk+/tree/gdk/quartz For standalone applications, check out the recently released package at http://live.gnome.org/GTK% 2B / OSX

+3
source share

I'm not sure that I understand the details of your question, but looking at your problem in general (how to deploy a python application on a Mac), I am inclined to say that the answer is py2app . Basically this will combine the python interpreter and all the relevant python files for you and provide you with a scripting system that you can use to add any other resources / dependencies you need.

+1
source share

While this is not a guide aimed only at python / GTK + / OS X, this post is a good, detailed description of another user's attempt to do most of what you are describing. Obviously, application-specific applications will change.

+1
source share

All Articles