DevelopersWin32Environment

Version 1 (Dan Smith, 12/24/2012 08:49 am)

1 1 Dan Smith
h1. Setting up a Win32 Development Environment
2 1 Dan Smith
3 1 Dan Smith
h2. Library and Runtime Prerequisites
4 1 Dan Smith
5 1 Dan Smith
Get and install the following in this order:
6 1 Dan Smith
7 1 Dan Smith
 # "Python 2.7.x":http://python.org/download/releases/2.7.3/
8 1 Dan Smith
 # "PyGTK Win32 All-in-one installer":http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.24/
9 1 Dan Smith
 # "PyLibXML2":http://users.skynet.be/sbi/libxml-python/
10 1 Dan Smith
 # "PyWin32":http://sourceforge.net/projects/pywin32/files/pywin32/
11 1 Dan Smith
 # "PySerial":http://sourceforge.net/projects/pyserial/files/pyserial/2.5/
12 1 Dan Smith
13 1 Dan Smith
h2. CHIRP Development Process
14 1 Dan Smith
15 1 Dan Smith
Get and install the mercurial source code management tool:
16 1 Dan Smith
17 1 Dan Smith
 * "Mercurial SCM":http://mercurial.selenic.com/downloads/
18 1 Dan Smith
19 1 Dan Smith
Note: For any of the above, be sure to get the latest version, and the py27 variant if/when available.
20 1 Dan Smith
21 1 Dan Smith
h2. Clone the repository
22 1 Dan Smith
23 1 Dan Smith
From a command line, clone the main repository like this:
24 1 Dan Smith
25 1 Dan Smith
@C:/> hg clone http://d-rats.com/hg/chirp.hg@
26 1 Dan Smith
27 1 Dan Smith
h2. Run chirp
28 1 Dan Smith
29 1 Dan Smith
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 run chirpw with python:
30 1 Dan Smith
31 1 Dan Smith
@C:/> python chirpw@