a portable Leo.exe, maybe

58 views
Skip to first unread message

Matt Wilkie

unread,
May 7, 2020, 2:33:45 AM5/7/20
to leo-editor
Hi Folks,

I'm taking a run at creating a single executable package of Leo that can be unpacked on any machine and just run, no installing!

Only Windows 64bit so far. Initial results are promising, but much testing still needed. First working draft with commit 1579844 and resulting exe in a google drive folder: https://drive.google.com/drive/folders/1eOekkp53j1dPb3ewDhW5TAuNgrAeKzWm
  1. Download leo-devel-2020-05-06-11-19.zip (140mb)
  2. unpack it somewhere, say C:\apps\Leo
  3. run c:\apps\leo\leo.exe
Report any successes and failures (open new issues on github).

cheers,

-matt

Edward K. Ream

unread,
May 7, 2020, 6:02:06 AM5/7/20
to leo-editor
On Thu, May 7, 2020 at 1:33 AM Matt Wilkie <map...@gmail.com> wrote:

I'm taking a run at creating a single executable package of Leo that can be unpacked on any machine and just run, no installing!

Thanks for this. It might ease the clamor to do a Tk gui, hehe.

Edward

lewis

unread,
May 7, 2020, 7:37:52 AM5/7/20
to leo-editor
Hi Matt,

This worked fine for me with no errors or hiccups at all on a Windows 10 machine.
In log pane it reported python 3.6.10

A fine success :)

Regards
Lewis

Thomas Passin

unread,
May 7, 2020, 9:36:17 AM5/7/20
to leo-editor
This would have to be Windows only, wouldn't it?  All the packagers I looked at recently could make a self-contained package for just one kind  of OS.  Of course, that's not a surprise!

Matt Wilkie

unread,
May 7, 2020, 11:26:46 AM5/7/20
to leo-editor
This would have to be Windows only, wouldn't it?  All the packagers I looked at recently could make a self-contained package for just one kind  of OS.  Of course, that's not a surprise!

It's being built with Pyinstaller, which has doc sections for Mac and Linux. I haven't tried to go through those parts yet.

-matt

Thomas Passin

unread,
May 7, 2020, 1:27:43 PM5/7/20
to leo-editor
Yes, and I think you have to run it on a Mac to get a Mac version.  For linux, I don't know how version-specific you need to be.

Offray Vladimir Luna Cárdenas

unread,
May 7, 2020, 5:25:30 PM5/7/20
to leo-e...@googlegroups.com

Thanks Matt. Those are good news. Recently I had problems installing Leo on my machine (Manjaro Gnu/Linux), which lead me to test finally Org Mode on Spacemacs (I may share the experience later). Anyway having more multiplatform self-contained programs ala Nim, Go, in Python is really appealing. Hard disk space is cheaper that human time those days.

Cheers,

Offray

--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/635d37d5-1771-4fdc-84ba-70d2888340f7%40googlegroups.com.

Viktor Ransmayr

unread,
May 7, 2020, 11:01:21 PM5/7/20
to leo-editor
Hello Matt,
Installation worked w/o any issues for me.

Here's the log after Leo's startup:

###

Leo Log Window
Leo 6.3-devel
Python 3.6.10, PyQt version 5.14.2
Windows 10 AMD64 (build 10.0.18362) SP0
current dir: C:/Users/viktor/programs/leo/leo-devel-2020-05-06-11-19/leo
load dir: C:/Users/viktor/programs/leo/leo-devel-2020-05-06-11-19/leo/leo/core
global config dir: C:/Users/viktor/programs/leo/leo-devel-2020-05-06-11-19/leo/leo/config
home dir: C:/Users/viktor
reading settings in C:/Users/viktor/programs/leo/leo-devel-2020-05-06-11-19/leo/leo/config/leoSettings.leo
reading settings in C:/Users/viktor/.leo/myLeoSettings.leo
reading settings in C:/Users/viktor/.leo/myLeoSettings.leo
read outline in 0.05 seconds

###

With kind regards,

Viktor
Reply all
Reply to author
Forward
0 new messages