-{ a hewer of maps }-

Portable Leo from scratch on Windows

Here is a recipe for installing Leo from scratch on Windows (Win7 tested). The only prerequisites are command line wget in PATH and an internet connection.

About 50mb of files are downloaded and 200mb consumed when done.

Open a command prompt and run:

mkdir X:\testing
pushd X:\testing

wget -O apt.exe --no-clobber http://download.osgeo.org/osgeo4w/x86/release/apt/apt-r1193M.exe
SET OSGEO4W_ROOT=%~dp0\root
apt setup
apt update
apt install pyqt4 sip

call root\osgeo4w.bat

wget --no-check-certificate http://gist.github.com/maphew/5393935/raw/install-pip.py
python install-pip.py GO
python install-pip.py GO

pip install -i https://testpypi.python.org/pypi leo-editor

python apps\Python27\Scripts\leo

After this the directory X:\testing\root can be renamed and/or moved anywhere.

To run leo in future sessions, simply call x:\path\to\root\osgeo4w.bat python apps\Python27\Scripts\leo, either as a batch file or windows shortcut.

IMPORTANT NOTE - this is just a proof continue.

Installing Leo Editor on Windows

This is for a virgin system without python etc installed. Skip any step not needed. Consider this a placeholder. Eventually this page or something like it will be folded into the Leo docs and this will be irrelevant.

lightly updated April 2013

  1. Install Python 2.x - There are many sources, but from http://www.python.org/download/releases/ is good.

  2. Install PyQt - acquire and run Binary Package from http://www.riverbankcomputing.co.uk/software/pyqt/download which matches installed Python version (so for python 2.7 scan for the Py2.7 in filename)

  3. Install Leo

  4. Head to http://sourceforge.net/projects/leo/ and slap [Download Now]

  5. You can unpack the .zip file anywhere, including Python’s site-packages folder, for example, C:\Python27\Lib\site-packages\leo-4-10-final

  6. [optional] Generate/update continue.