> Any hints?

I got this .pth-stuff without the soft link working (AFAICT) on Ubuntu
8.04 like so:

1) add a leo.pth file to /usr/lib/python2.5/site-packages that
contains the line /usr/local/lib/leo
2) substitute all 'import leo.core.<whatever> as <whatever>' with
'import core.<whatever> as <whatever>'

I'm not sure about side-effects of changing the import statements...
Anyone care to comment?
Now the command 'leo' Just Works from any directory without me having
to change $PYTHONPATH.

Bonus:
3) in /usr/local/bin/leo change the final two double quotes into $@
Now the command 'leo <filename>.leo' makes leo open the file
<filename>. $@ is a special parameter in bash (see its man pages), I
don't know about the two double quotes.

Cheers,

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