[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-list
Subject:    Re: Designing Plug-in Systems in Python
From:       Jorge Godoy <godoy () ieee ! org>
Date:       2006-05-08 12:48:41
Message-ID: 1216282.hxAPsKr42P () jupiter ! g2ctech
[Download RAW message or body]

mystilleef wrote:
> 
> Are there any good tutorials on how to design good plug-in
> systems with Python, or any language? What are the best
> practices for designing plug-in systems in Python? How would
> you go about designing one? What are common pitfalls in
> designing one? Any pointers, suggestions, resources and
> advice is welcome.

I am liking to use setuptools and its entry points.  With this, your program
can check for a specific thing and load all modules that provides something
like "myapp.plugins".  

Take a look at it.

-- 
Jorge Godoy      <godoy@ieee.org>

"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smart.
-- 
http://mail.python.org/mailman/listinfo/python-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic