As of 277e60c <https://github.com/leo-editor/leo-editor/commit/277e60cba7fec4228cbb54b19ffbdcc65ad7a6a5> the gui launcher works too. I had a typo in the run invocation. So now `leo` is for gui mode and `leoc` is console.
On Thu, Oct 5, 2017 at 9:29 PM, Matt Wilkie <map...@gmail.com> wrote: > 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 leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.