Paul McNett wrote: > Lukasz Szybalski wrote: > >>> Method 3. is the only one without using sudo. >>> But how would you get the required modules installed? >> The required modules are part of Debian repository so sys admin or who >> ever is responsible for server won't mind installing these from >> repository and allowing system to maintain it. Dabo on the other hand, >> does not have .deb files in debian repository so a person needs to >> maintain it. > > In that case, you should put dabo under your home directory, and have > the admin put a dabo.pth in python's site-packages pointing to > /home/you/dabo.
You can also do something like this: put dabo in ~/dabo PYTHONPATH=~/dabo python SomeApp.py notice I said 'like' - I am not exactly sure how to set it up. I did it a few weeks ago, I was fumbling. If you are going to do this, I think you want: ~/dabo ~/py-packages/dabo.pth dabo.pth contains the path to ~/dabo PYTHONPATH=~/py-packages python SomeApp.py When testing, if "import dabo" errors, look at sys,path: >>> import sys; sys.path ['', '/usr/lib/python25.zip', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages', '/var/lib/python-support/python2.5'] It should contain the path to the dabo module dir. If you go this path, post results. If you get it right, it will either help me. If you need help, I'll dig a bit to help figure it out. Carl K _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]
