Allow for using AA or ECP
[freeradius-pysaml2.git] / setup.py
index c75840b..29e93e7 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -2,8 +2,10 @@
 
 import os
 
-"""Setup script for the pyparsing module distribution."""
-from distutils.core import setup
+try:
+    from setuptools import setup
+except ImportError:
+    from distutils.core import setup
 
 __author__ = 'rolandh'
 
@@ -12,12 +14,12 @@ def read(fname):
 
 setup(# Distribution meta-data
     name = "freeradius_pysaml2",
-    version = "0.0.4",
-    description = "FreeRadius python module to be used in Moonshot",
+    version = "0.0.5",
+    description = "FreeRadius python modules to be used in Moonshot",
     author = "Roland Hedberg",
     author_email = "roland.hedberg@adm.umu.se",
     license = "MIT License",
-    py_modules = ['freeradius_pysaml2','radiusd', "freeradius_ecp"],
+    py_modules = ['freeradius_aa','radiusd', "freeradius_ecp"],
     classifiers=[
         'Development Status :: 4 - Beta',
         'Intended Audience :: Developers',
@@ -35,12 +37,9 @@ setup(# Distribution meta-data
                              'attributemaps/saml_uri.py',
                              'attributemaps/shibboleth_uri.py']),
                 ('/usr/local/etc/moonshot/pki',
-                            ['pki/ssl.cert', 'pki/ssl.key']),
-                ('/usr/local/etc/moonshot/template',
-                            ['template/modules_python',
-                             'template/sites-available_default',
-                             'template/sites-available_inner-tunnel'])],
-    install_requires=[
-        'pysaml2'
-    ]
+                            ['pki/ssl.cert', 'pki/ssl.key'])],
+    zip_safe=False,
+#    install_requires=[
+#        'pysaml2'
+#    ]
     )