>>>>> "DM" == Dan Mick <[EMAIL PROTECTED]> writes:

    DM> Hmm.  It looks as though the

    DM> from Mailman import <module>

    DM> won't work as expected (i.e. "use the module search path to
    DM> look for a path named Mailman and look for <module> in there")
    DM> unless Mailman contains __init__.py.  Does it?  (It can be
    DM> empty, but it must exist).

    DM> (The "import" documentation is shady at best.)

That usually happens if the install was broken or you're trying to run
Mailman out of the unpack directory instead of the install directory.

Mailman has to "path-hack" to get all the right stuff onto sys.path,
which is why "make install" creates a paths.py file and Mailman always
imports that before any other Mailman specific modules.  (Note that
"import paths" doesn't have to be in every file.)

-Barry


------------------------------------------------------
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users

Reply via email to