| Joel Uckelman on Thu, 9 Dec 2004 14:55:52 -0600 (CST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: [nimh-dev] module paths |
Thus spake "Jon Stewart":
> > I think you guys broke something when you reorganized the directory
> > structure. I had to add
> >
> > sys.path.append('/home/uckelman/projects/nimh/trunk/lib'
> >
> > to bin/scan.py so that python could find the nimh module, which I must say
> > isn't a solution to the problem unless you happen to be me.
>
>
> You need to set your PYTHONPATH environment variable to the above.
>
> In a normal install, a python user would put our modules in the default
> install path or set their PYTHONPATH var appropriately.
Wouldn't it be better to have our programs read the path to the library
from /etc/nimh/nimh.defaults or something?
--
J.
_______________________________________________
nimh-dev mailing list
nimh-dev@xxxxxxxxxxx
http://lists.ellipsis.cx/mailman/listinfo/nimh-dev