


I do most of my actual development in Linux, but you can do it pretty comfortably on any of the platforms. For Windows, I'm running XP in VirtualBox.
#How to compile python on mac pro
My computing environment is a quad core Mac Pro configured to dual-boot OS X and openSUSE 11.1.
#How to compile python on mac for mac os x
The initial setup process for Mac OS X will require a lot of very heavy compilation, so you are going to be in for a world of pain and a very long wait if you try to do this on a Mac mini. The easiest way to accomplish this is to use a Mac and either triple-boot or virtualize Windows and Linux. Now that I have unlocked the toolkit's dark mysteries, I can show you the hidden secrets that will allow you to achieve mastery of the alchemical art of cross-platform PyQt application deployment.įirst, you'll need access to each platform for which you want to build redistributable packages. I declared victory last week after spending several hours battling with MacPorts and distutils.

The downside, however, is that packaging PyQt applications so that they can be deployed to users on Windows and Mac OS X is an immensely frustrating and arcane process. Qt applications that are written in C++ are easy to compile and deploy across all three platforms, but what if you don't like C++? I prefer Python, a dynamic programming language with a richly expressive syntax and exceptionally powerful support for introspection.įortunately, there are cross-platform Python bindings for Qt. It provides native-looking widgets and tight integration with the underlying platform on Windows, Linux, and Mac OS X. The open source Qt development toolkit is a popular choice for cross-platform development.
