Re: [Mailman-Developers] [Fwd: Re: Discussion about Mailman plugins(GSOC 2015)]
![](https://secure.gravatar.com/avatar/173371753ea2206b9934a9be1bdce423.jpg?s=120&d=mm&r=g)
20 Mar
2015
20 Mar
'15
12:55 p.m.
On Mar 20, 2015, at 12:35 PM, Aanand Shekhar Roy wrote:
I wonder if we could add our modules of plugin to the var/ext( which is built for plug-ins), and then importing those modules(i.e. handlers ,rules etc) to the config.py using python imports, by doing this we wont have to add our modules to the sys.path and so we will avert the complexities of using customized paths. Please correct me if I am wrong.
Right now config.EXT_DIR (a.k.a. [paths.*]ext_dir or /etc/mailman.d) isn't added to sys.path so imports via dotted module names won't work. Perhaps it should be (or a subdirectory of ext_dir). This is a good directory to use because it's outside the Mailman source code.
Cheers, -Barry
3446
Age (days ago)
3446
Last active (days ago)
0 comments
1 participants
participants (1)
-
Barry Warsaw