leointeg installation feedback

30 views
Skip to first unread message

Ville M. Vainio

unread,
Sep 30, 2021, 9:34:35 AM9/30/21
to leo-editor
I was trying to install the leo vscode plugin, and noted that it requires leo installation directory etc.

If you have installed Leo with pip, this could all be optional, as you get the directory by:

 python -c "import leo; import os; print(os.path.dirname(leo.__file__))"

(or somesuch)

Similarly, leo editor launch could be done by creating __main__.py in leo, then you could launch leo by doing "python -m leo" without any knowledge about directories


tbp1...@gmail.com

unread,
Sep 30, 2021, 10:07:59 AM9/30/21
to leo-editor
Right, that would be good, and you can already launch Leo without knowing directories using python3 -m leo.core.runLeo, which is how I usually do it.

Félix

unread,
Sep 30, 2021, 2:10:50 PM9/30/21
to leo-editor
Thanks to Ville M. Vainio for this great suggestion! It's now on the todo list :  https://github.com/boltex/leointeg/issues/216

Please don't hesitate to submit your suggestions, ideas, or just report your experience so far with LeoInteg! 

Thanks again!!!
--
Félix

Reply all
Reply to author
Forward
0 new messages