> a. Installing Leo, which is specially difficult for non-programmers like my
> students. I will try to prepare my classes dealing previously with that
> problems using alternative installing strategies not found here until now
> like pyinstaller[2] and/or Zero Install[3]
>
> [2] http://www.pyinstaller.org/
> [3] http://0install.net/
Here is a recipe for how I configure a portable Leo on Windows. It
leverages an environment designed for GIS work and uses a tree
structure similar to linux, so it won't taste right for some. However
it's simple-ish compared to some other approaches and works for me. On
a 7yr old 1.4ghz laptop with a reasonably fast internet connection the
whole thing takes about 15 minutes.
{{{
Download the latest apt-rxx.exe from
http://download.osgeo.org/osgeo4w/release/apt/. If you like rename to
apt.exe. Open a CMD shell and:
SET OSGEO4W_ROOT=D:\portable
apt setup
apt --mirror=http://download.osgeo.org/osgeo4w/testing/ update
apt install shell python pyqt4 sip
Download a Leo snapshot from http://www.greygreen.org/leo/ and unzip
as D:\portable\apps\leo-editor
Run D:\portable\OSGeo4W.bat to update path for the newly installed
python and friends. And now finally:
python apps\leo-editor\launchLeo.py
}}}
There will be a new Start Menu link called "OSGeo4W Shell" which can
be freely deleted. All it does is call D:\portable\OSGeo4W.bat, which
we want to keep, but can be renamed as wished.
The D:\Portable folder and contents can now be moved from computer to
computer or usb stick as desired. For simplicity add "python
%OSGEO4W_ROOT%apps\leo-editor\launchLeo.py" to the end of the
Osgeo4w.bat file in place of "@cmd.exe".
References:
http://trac.osgeo.org/osgeo4w/wiki/pkg-apt/AptFromScratch
http://trac.osgeo.org/osgeo4w/wiki/pkg-apt
--
-matt
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en.