From: Evan Broder Date: Fri, 5 Feb 2010 16:20:58 +0000 (-0500) Subject: Select an authz module using setuptools' entry points mechainsm. X-Git-Tag: bdaf8d72f6eb4fda0ef47e9229dd033deb4a63fa^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/xvm-authz-locker.git/commitdiff_plain/5f5bda7c3b60eca33af5f9782a27832ca1c4eb37?ds=inline;hp=5f5bda7c3b60eca33af5f9782a27832ca1c4eb37 Select an authz module using setuptools' entry points mechainsm. Instead of having each authz package install an invirt.authz module, have them install modules under their own namespace. In their setup.py, they should indicate that their authz module provides a unique name within the invirt.authz entry point group. The new invirt.authz module (part of invirt-base) then gets a name from the configuration and uses that to find the module. svn path=/trunk/packages/xvm-authz-locker/; revision=2989 ---