Catch AFS exceptions
[invirt/packages/xvm-authz-locker.git] / setup.py
index 080e5b1..01fecbb 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,12 @@ setup(
     maintainer=maintainer,
     maintainer_email=maintainer_email,
     
-    packages=find_packages('python'),
+    py_modules = ['xvm.authz.locker'],
     package_dir = {'': 'python'},
+
+    entry_points = {
+        'invirt.authz': [
+            'xvm-locker = xvm.authz.locker',
+            ],
+        },
 )