Initial commits
[freeradius-pysaml2.git] / setup.py
1 #!/usr/bin/env python
2
3 import os
4
5 """Setup script for the pyparsing module distribution."""
6 from distutils.core import setup
7
8 __author__ = 'rolandh'
9
10 def read(fname):
11     return open(os.path.join(os.path.dirname(__file__), fname)).read()
12
13 setup(# Distribution meta-data
14     name = "freeradius_pysaml2",
15     version = "0.0.4",
16     description = "FreeRadius python module to be used in Moonshot",
17     author = "Roland Hedberg",
18     author_email = "roland.hedberg@adm.umu.se",
19     license = "MIT License",
20     py_modules = ['freeradius_pysaml2','radiusd', "freeradius_ecp"],
21     classifiers=[
22         'Development Status :: 4 - Beta',
23         'Intended Audience :: Developers',
24         'Intended Audience :: Information Technology',
25         'License :: OSI Approved :: MIT License',
26         'Operating System :: OS Independent',
27         'Programming Language :: Python',
28         ],
29     long_description=read('README'),
30     data_files=[('/usr/local/etc/moonshot', ['etc/config.py',
31                                              'etc/metadata.xml',
32                                              "etc/pysaml_config.py"]),
33                 ('/usr/local/etc/moonshot/attributemaps',
34                             ['attributemaps/basic.py',
35                              'attributemaps/saml_uri.py',
36                              'attributemaps/shibboleth_uri.py']),
37                 ('/usr/local/etc/moonshot/pki',
38                             ['pki/ssl.cert', 'pki/ssl.key']),
39                 ('/usr/local/etc/moonshot/template',
40                             ['template/modules_python',
41                              'template/sites-available_default',
42                              'template/sites-available_inner-tunnel'])],
43     install_requires=[
44         'pysaml2'
45     ]
46     )