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.

On Thursday, September 30, 2021 at 9:34:35 AM UTC-4 Ville M. Vainio wrote:

> 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
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/c041e16c-5579-4588-935b-8f6a821f1829n%40googlegroups.com.

Reply via email to