| Joel Uckelman on Fri, 17 Dec 2004 21:42:14 -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.
I think that the right way to do this (eventually) is to install the libraries
we make into sys.prefix + '/lib/python-x.y/site-packages', so that they're
found automagically.
_______________________________________________
nimh-dev mailing list
nimh-dev@xxxxxxxxxxx
http://lists.ellipsis.cx/mailman/listinfo/nimh-dev