> >p.s. For those who might be asking the same question in the future,
> >this is how it's done on tcsh. Put the following line in .tcshrc
(or
> >.cshrc if you are on csh, I think...):
>> >setenv PYTHONPATH "your desired path here"
>>> I'm pretty sure that if you want this to be global to all users, you
> would add the above line to /etc/csh.login
True, although only for csh/tcsh users, bash users wouldn't see it.
But it's unlikely you'd want to make a user's own modules available
to all. If a module is intended to be available to all it should be
put in the site specific section of the standard libs not referenced
through PYTHONPATH, which, like most environment variables, is best
left user specific - that's where control of the *environment* should
reside after all - with the users.
Alan g.