The bbfreeze package also allows us to create binaries, but only on Linux and Windows. It’s just an easy_install away, so if you plan on following along with the examples in the article, you should go get it. The bbfreeze package includes egg support, so it can include egg dependencies in your binary, unlike py2exe. You can also freeze multiple scripts at once, include the Python interpreter and more. According to bbfreeze’s PyPI entry, it’s only been tested with Python 2.4-2.5, so keep that in mind. However, I was able to use it with Python 2.6 with no obvious problems. (more…)
Entries tagged with “Cross-Platform”.
Thu 19 Aug 2010
A bbfreeze Tutorial – Build a Binary Series!
Posted by Mike under Linux, Packaging, Python, Windows
View Comments
Thu 12 Aug 2010
A cx_Freeze Tutorial – Build a Binary Series!
Posted by Mike under Cross-Platform, Packaging, Python
View Comments
In this article, we will be learning about cx_Freeze, a cross-platform set of scripts designed to “freeze” Python scripts into executables in a manner similar to py2exe, PyInstaller, etc. We will freeze one console script and one window (i.e GUI) script, using the examples from the previous article in this series. If you haven’t done so already, you can get cx_Freeze here. Let’s get this party started, shall we? (more…)
Fri 26 Mar 2010
Creating a Simple Photo Viewer with wxPython
Posted by Mike under Cross-Platform, Python, wxPython
View Comments
The other day, I was chatting with some wxPython newbies on the wxPython IRC channel and one of them wanted to know how to display images in wx. There are lots of different ways to do this, but I had a pre-made solution that I’d cobbled together a couple of years ago for work. Since this is a fairly popular topic, I thought it would be wise to let you, dear reader, in on the secret. (more…)