Re: [ros-users] $PYTHONPATH in setup.sh (was: $PYTHONPATH in…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Lorenz Mösenlechner
Date:  
To: ros-users
Subject: Re: [ros-users] $PYTHONPATH in setup.sh (was: $PYTHONPATH in launch files)
Hi,

I just checked on my system and it seems that only the cturtle binary
packages have a wrong setup.sh. The current rosinstall version 0.5.1
gets it right.

Lorenz

> On May 28, 2010, Ken Conley wrote:
> > > That only leaves one (slightly related) issue: The PYTHONPATH set up in
> > > "setup.sh" when included e.g. in .bashrc. Is there a reason why that
> > > should be completely reset to ROS' PYTHONPATH, and not appended like the
> > > PATH environment variable?
> >
> > It probably could be changed. I'm not sure why it is set in that manner.
>
> Sorry to nag again, but in the current cturtle the user's PYTHONPATH
> variable is still overwritten in setup.sh instead of appending ROS' path
> to it:
>
> export PYTHONPATH=${ROS_ROOT}/core/roslib/src:${PYTHONPATH}
>
> Was this forgotten, or is there a specific reason for it?
>
> Cheers,
> Armin
>


-- 
Lorenz Mösenlechner            | 
Technische Universität München | Boltzmannstr. 3
85748 Garching bei München     | Germany
http://ias.cs.tum.edu/         | Tel: +49 (89) 289-26910