/usr/bin/env just searches your PATH variable to find it, but it does
so in order.  So, if you want it to find your python instead of a
system provided one, just alter your PATH variable and put
/home/my_username/python2.5 in front of everything else.

example in .profile:

PATH=/home/<username>/python2.5:$PATH
export PATH

--
Jerry

On Oct 14, 10:37 am, "veracon" <[EMAIL PROTECTED]> wrote:
> Long story short, in order to use Python 2.5, I've compiled it in my
> own account on my hosting. It works fantastic as
> /home/my_username/python2.5, but the shebang is a bit long. Is there a
> way to shorten it (environment variables?) or, even better, make
> /usr/bin/env python point to it?
> 
> Thanks in advance!

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to