On Wed, Jul 9, 2008 at 8:39 AM, Fernando Perez <[EMAIL PROTECTED]> wrote: > > On Tue, Jul 8, 2008 at 10:21 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote: >> On Wed, Jul 9, 2008 at 2:29 AM, François Bissey <[EMAIL PROTECTED]> wrote: >>> >>> On Wed, 09 Jul 2008, Ondrej Certik wrote: >>>> The only remaining annoying thing is this one LD_LIBRARY_PATH thing. >>>> I'll probably put it to my .bashrc, as there doesn't seem to be any >>>> way around it. >>>> >>> It's probably better to make a small launcher script setting the variable >>> correctly. I have seen .*shrc littered with stuff (users in physical >>> chemistry), in the end it is difficult to know if some settings contradict >>> others. >>> I now actively encourage them to write a small launcher script instead. >> >> I see. Well, one can just use "sage" as the launcher script. The >> problem in my case was to get rid of the launcher script, so that I >> can use tools >> like py.test or nosetests. > > doesn't > > import os > os.environ['LD_LIBRARY_PATH'] = "/home/ondra/ext/sage/local/lib" > > (or a suitable variation thereof) in your $PYTHONSTARTUP work?
Unfortunately not, the LD_LIBRARY_PATH needs to be setup before starting python. Ondrej --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---