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: bac125e341bf1807e8d35efde0ab22bdf9e4d8fc~1 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-base.git/commitdiff_plain/37188bb99d58bf192920bc40015119ba37634150?ds=sidebyside;hp=37188bb99d58bf192920bc40015119ba37634150 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/invirt-base/; revision=2989 ---