On Sat, Jun 02, 2001 at 10:14:45PM +0000, Ousmane Wilane wrote:
>       Subject: Cron <mailman@NS> /usr/bin/python -S
>       [snip]
>       Traceback (most recent call last):
>         File "/home/mailman/cron/senddigests", line 25, in ?
>           from Mailman import MailList
>         File "/home/mailman/Mailman/MailList.py", line 34, in ?
>           from mimelib.address import getaddresses
>       ImportError: No module named mimelib.address
> 
> mimelib is under site-packages!
> Why -S?

Barry likes using -S to speed up the load process... loading site.py can be
a slow process. He cheats by adding the site-packages directory to his
sys.path directly, and I cheat by adding a symlink to site-packages/mimelib
from directly in my module directory. Barry'll probably add the former to
Mailman, or remove the -S, when making a real (read: functional) release. My
cheat is easier, especially when running multiple Mailmans on the same
machine :)

-- 
Thomas Wouters <[EMAIL PROTECTED]>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!

_______________________________________________
Mailman-Developers mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-developers

Reply via email to