« Previous - Version 4/24 (diff) - Next » - Current version
Dan Smith, 12/27/2012 08:28 am

Setting up a Win32 Development Environment

Library and Runtime Prerequisites

Get and install the following in this order:

  1. Python 2.7.x
  2. PyGTK Win32 All-in-one installer
  3. PyLibXML2
  4. PyWin32
  5. PySerial


  • For any of the above, be sure to get the latest version, and the py27 variant if/when available.
  • If you are on 64-bit Windows, be sure to either download the 32 or 64-bit variants of each of the above. They must all match bitness in order to work together.

CHIRP Development Process

Get and install the mercurial source code management tool:

Clone the repository

The next step is to download a copy of the repository. This is done from the command-line, and will create a chirp.hg/ directory in your current directory. Thus, you should change to the place you want it to be first. For example:

C:\Users\Foo> cd \MyWorkspace
C:\MyWorkspace> hg clone http://d-rats.com/hg/chirp.hg

Run chirp

Python should be in your search path from the install, but if not, put it in the system PATH environment variable. Once you do that, you should be able to enter the directory that was created in the clone step above, and run chirpw with python:

C:\MyWorkspace> cd chirp.hg
C:\MyWorkspace\chirp.hg> python chirpw