Ignore:
Timestamp:
Feb 5, 2010, 11:20:58 AM (15 years ago)
Author:
broder
Message:

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.

Location:
trunk/packages/xvm-authz-locker/debian
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/xvm-authz-locker/debian/changelog

    r2766 r2989  
     1xvm-authz-locker (0.0.3) unstable; urgency=low
     2
     3  * Go back to having an xvm.authz.locker module, but use entry points to
     4    find it.
     5
     6 -- Evan Broder <broder@mit.edu>  Fri, 05 Feb 2010 09:38:05 -0500
     7
    18xvm-authz-locker (0.0.2) unstable; urgency=low
    29
  • trunk/packages/xvm-authz-locker/debian/control

    r2769 r2989  
    1010Depends: ${python:Depends}, ${misc:Depends}, invirt-base, python-afs
    1111Provides: ${python:Provides}, invirt-authz
    12 Conflicts: invirt-authz
    13 Replaces: invirt-authz
    1412Breaks: invirt-base (<< 0.0.28~)
    1513XB-Python-Version: ${python:Versions}
Note: See TracChangeset for help on using the changeset viewer.