Pip Installs Python or pip is a tool for installing and managing Python packages, many of which are on the Python Package Index (PyPI). It is a replacement of easy_install. In this article, we’ll spend a little time trying out pip to see how it works and how it might help us in our Python endeavors. (more…)
Entries tagged with “Packaging”.
Mon 16 Jul 2012
Python 101: pip – a replacement for easy_install
Posted by Mike under Packaging, Python
[12] Comments
Tue 31 Aug 2010
Another GUI2Exe Tutorial – Build a Binary Series!
Posted by Mike under Cross-Platform, Packaging, Python
No Comments
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, although the source may be slightly newer. Feel free to run from the tip as well. We’ll be using the example scripts that we used for several of the previous articles: one console and one GUI script, neither of which do much of anything. (more…)
Thu 19 Aug 2010
A bbfreeze Tutorial – Build a Binary Series!
Posted by Mike under Linux, Packaging, Python, Windows
No Comments
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…)
Thu 12 Aug 2010
A cx_Freeze Tutorial – Build a Binary Series!
Posted by Mike under Cross-Platform, Packaging, Python
1 Comment
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…)
Sat 31 Jul 2010
A py2exe tutorial – Build a Binary Series!
Posted by Mike under Packaging, Windows
[7] Comments
I received a request to create an article on how to use py2exe and wxPython to create an executable. I d, ecided 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 you can distribute. Once those articles are done, I’ll show how to use Inno and NSIS. To kick things off, we’ll go over how to use py2exe, probably the most popular of the Windows executable packages. (more…)
