[Boa Constr] Installing boa system-wide
Status: Beta
Brought to you by:
riaan
|
From: Arcady G. <ag...@th...> - 2002-03-15 06:06:50
|
Hello: What's the preferred way to install an executable /usr/bin/boa? I was surprised when I didn't find it in the distribution. Anyhow, I tried unpacking the sources into /usr/lib/python-2.2/site-modules/boa, and then writing a small Python wrapper, but when I "import boa.Boa", I get the following: ,---- | Starting Boa Constructor v0.1.0-alpha | importing wxPython | setting user preferences | Traceback (most recent call last): | File "<stdin>", line 1, in ? | File "/usr/lib/python2.2/site-packages/boa/Boa.py", line 123, in ? | import Preferences, About, Utils | File "/usr/lib/python2.2/site-packages/boa/Preferences.py", line 50, in ? | shutil.copy2(os.path.join(pyPath, prefsFile), file) | File "/usr/lib/python2.2/shutil.py", line 73, in copy2 | copyfile(src, dst) | File "/usr/lib/python2.2/shutil.py", line 28, in copyfile | fsrc = open(src, 'rb') | IOError: [Errno 2] No such file or directory: '/home/antipode/prefs.rc.py' `---- The README.txt file says that ,---- | If you have an environmental variable set named HOME and the directory | it points to contains a directory named '.boa' all preferences and config | files will be copied to and used from this directory. `---- But that doesn't seem to be working, since I definitely have HOME defined, and I even created ~/.boa manually. :( Any pointers? Many thanks, -- Arcady Genkin Don't read everything you believe. |