Under debian, just do on the command line:
apt-get install swap-cwm
On debian type apt-get install python if you don't have
it.
Mac OSX comes with it on or after 10.2. On earlier, get fink then type
fink
install python.
On cygwin, select python in the setup.exe installer..
apt-get install pyxml. Otherwise, untar it and
in the right directory type python setup.py install. Under cygwin, select
it in the the cygwin setup.exe.python setup.py
install. Necessary changes for OSX:You can do all this under MSWindows but the easiest thing is to install cygwin (a unix-like environment for Windows) and run everything in there.
The python source files are available as a compressed tar file
Get that, unwrap it in some suitable directory.
Set up an alias (.bat file, etc) to make the cwm command. In bash this is:
cwm="python /whereverYouPutThem/cwm.py"
You should be all set.
This swap code is not guaranteed but is open source and available if you want to play.
$ cvs -d:pserver:anonymous@dev.w3.org:/sources/public login password? anonymous $ cvs -d:pserver:anonymous@dev.w3.org:/sources/public get 2000/10/swap