Select an authz module using setuptools' entry points mechainsm. bdaf8d72f6eb4fda0ef47e9229dd033deb4a63fa
authorEvan Broder <broder@mit.edu>
Fri, 5 Feb 2010 16:20:58 +0000 (11:20 -0500)
committerEvan Broder <broder@mit.edu>
Fri, 5 Feb 2010 16:20:58 +0000 (11:20 -0500)
commit5f5bda7c3b60eca33af5f9782a27832ca1c4eb37
tree7973668f4e1e3550cc43fd3458e6912c73a5e484
parent7824b2db8f1795ea784d70def02c362d48ab91b5
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
debian/changelog
debian/control
python/xvm/authz/locker.py [moved from python/invirt/authz.py with 100% similarity]
setup.py