DevelopersWin32Environment

Version 1 (Dan Smith, 12/24/2012 08:49 am) → Version 2/24 (Dan Smith, 12/27/2012 08:26 am)

h1. Setting up a Win32 Development Environment

h2. Library and Runtime Prerequisites

Get and install the following in this order:

# "Python 2.7.x":http://python.org/download/releases/2.7.3/
# "PyGTK Win32 All-in-one installer":http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.24/
# "PyLibXML2":http://users.skynet.be/sbi/libxml-python/
# "PyWin32":http://sourceforge.net/projects/pywin32/files/pywin32/
# "PySerial":http://sourceforge.net/projects/pyserial/files/pyserial/2.5/

h2. CHIRP Development Process

Get and install the mercurial source code management tool:

* "Mercurial SCM":http://mercurial.selenic.com/downloads/

Note: For any of the above, be sure to get the latest version, and the py27 variant if/when available.

h2. Clone the repository

The next step is to download From a copy of command line, clone 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: main repository like this:

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

h2. 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:

<pre>
C:\MyWorkspace> cd chirp.hg
C:\MyWorkspace\chirp.hg>
@C:/> python chirpw
</pre>
chirpw@