Project

General

Profile

LegacyDevelopersWin32Environment » History » Version 2

Dan Smith, 12/27/2012 08:26 AM

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