On Wed, 8 Jun 2005, James Graham wrote:
Jeremy Sanders wrote:
On Tue, 7 Jun 2005, James Graham wrote:
It might well be because the __init__.py files don't define __all__ which
AFAIK is needed for locating modules in Windows. If so this should be
trivial to fix.
Didn't know they needed __all__...
Actually it looks like you only need it if you do "from module import *"[1] -
I was under the impression that Windows needed it in general.
[1]
http://www.python.org/doc/2.3.3/tut/node8.html#SECTION008410000000000000000
It's pretty ugly the way I do "from module import *". Maybe I should add
everything specifically in these files (or load each file in, one by one).
I should probably change all the import statments to import veusz.windows,
etc... too. Then I wouldn't need to fiddle with the path. That is unless
the program isn't installed in PYTHONPATH - then I could add the ..
directory to the path (or something nasty).
Jeremy
--
Jeremy Sanders <[EMAIL PROTECTED]>
http://www.jeremysanders.net/ Cambridge, UK
Public Key Server PGP Key ID: E1AAE053