I've pushed an update to the `setup.py` branch that works with pip install
in my system (PyQt and Sip need to be installed already.):
pip install --editable "b:\path\to\code\leo-editor-branch"
This creates 2 launch files in PYTHONHOME\Scripts folder:
leoc = console Leo
leow = gui mode Leo
Console mode still launches the GUI, but writes log output to a console
shell window.
Gui mode is broken. The launcher is created, but nothing happens when it is
run. Perhaps the run incantation (`leo.core.runLeo.run`) needs to be
different? I couldn't find much documentation on the `gui_scripts` entry
point setuptools uses so maybe this isn't really supported.
I used `leoc` and `leow` so as not to conflict with any other
launchers/scripts that might be in PATH -- easier testing. When we know
this approach works reliably it can be trimmed to just `leo`.
Branch: https://github.com/leo-editor/leo-editor/tree/setup.py
Testing appreciated!
Matt
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.