-{ a hewer of maps }-

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 a junction link from unpacked leo-4-10-final to …\site-packages\leo:

    cd C:\Python27\Lib\site-packages
    mklink /j leo leo-4-6-2-final
    
  7. Create windows shortcut with following properties (edit paths as necessary; change leo to leo-4-10-final if you didn't create a junction):

    • r-click on Desktop > New > Shortcut > Target: c:\Python27\pythonw.exe > Name: Leo Editor > ok, ok

    • Select shortcut > Properties:

       Target = C:\Python27\pythonw.exe C:\Python27\Lib\site-packages\leo\launchLeo.py
      
       Start in = "%userprofile%\My Documents"
      

      (change to wherever you like to save your work)

  8. Tell Windows how to handle .leo files:

    ftype LeoFile=C:\Python27\pythonw.exe C:\Python27\Lib\site-packages\leo\launchLeo.py "%1"
    assoc .leo=LeoFile
    

Optional

Further reading / Sources used:

Active Directory integration » « Virtual bank accounts