O'Reilly logo

Python Geospatial Development Essentials by Karim Bahgat

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Packaging your application

With the application startup defined, we are now ready for packaging it. Packaging our application means that our application becomes self-contained with all the necessary files grouped into one folder tree (that are currently spread out across numerous locations on your computer), along with an EXE file that the user can double-click on to run the application.

Installing py2exe

There are numerous libraries in Python for packaging projects, and here we choose to use py2exe since it is very easy to install:

  1. Go to www.py2exe.org.
  2. Click on the Download link at the top, which takes you to http://sourceforge.net/projects/py2exe/files/py2exe/0.6.9/.
  3. Download and run the latest version for Python 2.7, which is currently py2exe-0.6.9.win32-py2.7.exe ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required