Packaging

A Python article about Packaging. It may be related to bdist, PyPI, easy_install, pip, distribute or something similar.

PyInstaller – How to Turn Your Python Code into an Exe on Windows

You have just created an awesome new application. Maybe it’s a game or maybe it’s an image viewer. Whatever your application is, you want to share it with your friend or a family member. However, you know they won’t know how to install Python or any of the dependencies. What do you do? You need …

PyInstaller – How to Turn Your Python Code into an Exe on Windows Read More »

wxPython: Updating Your Application with Esky

Today we’re going to learn about one of wxPython’s newer features: wx.lib.softwareupdate. It was actually added a couple of years ago. What this allows you to do is add update abilities to your software. As far as I can tell, this mixin only allows prompted updates, not silent updates. Getting Started It’s built into wxPython …

wxPython: Updating Your Application with Esky Read More »

Python 101: easy_install or how to create eggs

Today we’re going to take a look at the controversial easy_install method of installing Python modules and packages. We will also learn how to create our own *.egg files. You will need to go get the SetupTools package to follow along. This package doesn’t support Python 3.x so if you need that, see pip or …

Python 101: easy_install or how to create eggs Read More »

Another GUI2Exe Tutorial – Build a Binary Series!

This is the last article of my “Build a Binary Series”. If you haven’t done so already, be sure to check out the others. For our finale, we are to look at Andrea Gavana’s wxPython-based GUI2Exe, a nice graphical user interface to py2exe, bbfreeze, cx_Freeze, PyInstaller and py2app. The latest release of GUI2Exe is 0.5.0, …

Another GUI2Exe Tutorial – Build a Binary Series! Read More »

A bbfreeze Tutorial – Build a Binary Series!

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. …

A bbfreeze Tutorial – Build a Binary Series! Read More »

A cx_Freeze Tutorial – Build a Binary Series!

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 …

A cx_Freeze Tutorial – Build a Binary Series! Read More »

A PyInstaller Tutorial – Build a Binary Series!

In our previous article on building binaries, we learned a little about py2exe. This time around, we will be focusing our collective attention on the ins and outs of PyInstaller. We’ll use the same lame wxPython script from the last article for one of our examples, but we’ll also try a normal console script to …

A PyInstaller Tutorial – Build a Binary Series! Read More »

A py2exe tutorial – Build a Binary Series!

I received a request to create an article on how to use py2exe and wxPython to create an executable. I decided to do a series on packaging instead. It is my intention to go over the major Windows binary building utilities and show you, dear reader, how to use them to create a binary that …

A py2exe tutorial – Build a Binary Series! Read More »