<br><br><div class="gmail_quote">On Fri, Apr 6, 2012 at 7:32 PM, Miklos Vajna <span dir="ltr"><<a href="mailto:vmiklos@suse.cz">vmiklos@suse.cz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fri, Apr 06, 2012 at 09:05:29AM +1200, Glenn Ramsey <<a href="mailto:glenn.ramsey@slidespeech.com">glenn.ramsey@slidespeech.com</a>> wrote:<br>
> with OOoPython on the command line (in OSX 10.6) I discovered that the<br>
> PYTHONPATH needs to be set up properly before uno can be successfully<br>
> imported.<br>
><br>
> Is there a way to automatically set this up, or do I have to write<br>
> something in my script to discover and configure the path? I would like<br>
> this to work on Linux, Windows and OSX.<br>
<br>
I just checked the Linux RPM's, there program/python file is a shell<br>
script setting up PYTHONPATH and friends, then the real python binary is<br>
called python.bin. Maybe you missed this. :)<br></blockquote><div><br></div><div>No, I hadn't checked that, thanks for the tip. On Debian based systems I think it also works out of the box. I tested Windows 7 today and that too works without any further effort. So it looks like it is just OSX that requires additional configuration.</div>
<div><br></div><div>Glenn</div><div> </div></div>