Have authz providers use an invirt.authz module.
authorEvan Broder <broder@mit.edu>
Mon, 21 Dec 2009 22:30:11 +0000 (17:30 -0500)
committerEvan Broder <broder@mit.edu>
Mon, 21 Dec 2009 22:30:11 +0000 (17:30 -0500)
xvm-authz-locker now includes an invirt.authz module instead of
xvm.authz.locker. All authz providers conflict with each other, and
provide invirt-authz.

svn path=/trunk/packages/xvm-authz-locker/; revision=2766

debian/changelog
debian/control
python/invirt/authz.py [moved from python/xvm/authz/locker.py with 100% similarity]
python/xvm/__init__.py [deleted file]
python/xvm/authz/__init__.py [deleted file]
setup.py

index cd5a06b..e4ea2a9 100644 (file)
@@ -1,3 +1,9 @@
+xvm-authz-locker (0.0.2) unstable; urgency=low
+
+  * Install the authz module as invirt.authz, instead of xvm.authz.locker
+
+ -- Evan Broder <broder@mit.edu>  Mon, 21 Dec 2009 16:24:05 -0600
+
 xvm-authz-locker (0.0.1) unstable; urgency=low
 
   * Initial release.
index a236774..1ed767a 100644 (file)
@@ -9,6 +9,8 @@ Package: xvm-authz-locker
 Architecture: all
 Depends: ${python:Depends}, ${misc:Depends}, invirt-base, python-afs
 Provides: ${python:Provides}, invirt-authz
+Conflicts: invirt-authz
+Replaces: invirt-authz
 XB-Python-Version: ${python:Versions}
 Description: Authorization module for XVM
  This package contains an authorization module for XVM. It supports
diff --git a/python/xvm/__init__.py b/python/xvm/__init__.py
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/python/xvm/authz/__init__.py b/python/xvm/authz/__init__.py
deleted file mode 100644 (file)
index e69de29..0000000
index 080e5b1..919774f 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@
 from os import path
 from email.utils import parseaddr
 from glob import glob
-from setuptools import setup, find_packages
+from setuptools import setup
 
 try:
     from debian_bundle.changelog import Changelog
@@ -23,6 +23,6 @@ setup(
     maintainer=maintainer,
     maintainer_email=maintainer_email,
     
-    packages=find_packages('python'),
+    py_modules = ['invirt.authz'],
     package_dir = {'': 'python'},
 )