On Aug 15, 3:28 pm, "Ville M. Vainio" <[email protected]> wrote:
> I noted that leo adds all of its directories to sys.path. This is
> considered "bad form" and can cause nasty surprises. I believe this is
> an artifact of the old "leo-as-package" work; now that leo-as-package
> stuff works well, I don't think this is needed anymore.
>
> It's not a lot of work to fix either - it's just a matter of removing
> the call to adjustSysPath in runLeo.py, and fixing some plugins. (yes,
> I tried it). e.g. quicksearch.py needed this trivial change:
>
> +++ leo/plugins/quicksearch.py  2009-08-15 20:22:20 +0000
>
> -import qt_quicksearch
> +from leo.plugins import qt_quicksearch

I just put this on the list of things to do first.

My main concern are finding all the imports that should be changed in
plugins.

Edward
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to