1 | #!/usr/bin/env python |
---|
2 | |
---|
3 | """NDG XACML |
---|
4 | |
---|
5 | NERC DataGrid |
---|
6 | """ |
---|
7 | __author__ = "P J Kershaw" |
---|
8 | __date__ = "16/03/10" |
---|
9 | __copyright__ = "(C) 2010 Science and Technology Facilities Council" |
---|
10 | __license__ = "BSD - see LICENSE file in top-level directory" |
---|
11 | __contact__ = "Philip.Kershaw@stfc.ac.uk" |
---|
12 | __revision__ = '$Id$' |
---|
13 | |
---|
14 | # Bootstrap setuptools if necessary. |
---|
15 | from ez_setup import use_setuptools |
---|
16 | use_setuptools() |
---|
17 | from setuptools import setup, find_packages |
---|
18 | |
---|
19 | _longDescription = """\ |
---|
20 | XACML 2.0 implementation for CEDA (the Centre for Environmental Data Archival) |
---|
21 | STFC, Rutherford Appleton Laboratory. This is follow on work from the NERC |
---|
22 | (Natural Environment Research Council) DataGrid 3 Project. |
---|
23 | |
---|
24 | Only the parts of the specification immediately required for CEDA have been |
---|
25 | implemented in this initial release: |
---|
26 | * Deny overrides and Permit overrides rule combining algorithms |
---|
27 | * AttributeDesignators |
---|
28 | * various function types: see ndg.xacml.core.functions |
---|
29 | * and attribute types: see ndg.xacml.core.attribute |
---|
30 | * incomplete support for <AttributeSelector>s, <VariableReference>, |
---|
31 | <VariableDefinition>. <Obligations> |
---|
32 | * includes an ElementTree based parser for Policies. No support for writing |
---|
33 | out policies or read/write of XML representation of <Request> and <Response> |
---|
34 | |
---|
35 | See ndg.xacml.test for unit tests and examples. |
---|
36 | |
---|
37 | The software follows a modular structure to allow it to be extended easily to |
---|
38 | include new parsers, functions and attribute types |
---|
39 | """ |
---|
40 | |
---|
41 | setup( |
---|
42 | name = 'ndg_xacml', |
---|
43 | version = '0.2', |
---|
44 | description = 'XACML 2.0 implementation for the NERC DataGrid', |
---|
45 | long_description = _longDescription, |
---|
46 | author = 'Philip Kershaw', |
---|
47 | author_email = 'Philip.Kershaw@stfc.ac.uk', |
---|
48 | maintainer = 'Philip Kershaw', |
---|
49 | maintainer_email = 'Philip.Kershaw@stfc.ac.uk', |
---|
50 | url = 'http://proj.badc.rl.ac.uk/ndg/wiki/Security/XACML', |
---|
51 | license = 'BSD - See LICENCE file for details', |
---|
52 | # install_requires = [], |
---|
53 | dependency_links = ["http://ndg.nerc.ac.uk/dist"], |
---|
54 | packages = find_packages(), |
---|
55 | namespace_packages = ['ndg'], |
---|
56 | package_data = { |
---|
57 | 'ndg.xacml.core': ['documentation/Makefile'], |
---|
58 | 'ndg.xacml.test': ['*.xml'], |
---|
59 | }, |
---|
60 | entry_points = None, |
---|
61 | test_suite = 'ndg.xacml.test', |
---|
62 | zip_safe = False, |
---|
63 | classifiers = [ |
---|
64 | 'Development Status :: 3 - Alpha', |
---|
65 | 'Environment :: Console', |
---|
66 | 'Environment :: Web Environment', |
---|
67 | 'Intended Audience :: Developers', |
---|
68 | 'Intended Audience :: System Administrators', |
---|
69 | 'Intended Audience :: Science/Research', |
---|
70 | 'License :: OSI Approved :: BSD License', |
---|
71 | 'Natural Language :: English', |
---|
72 | 'Operating System :: Microsoft :: Windows', |
---|
73 | 'Operating System :: POSIX :: Linux', |
---|
74 | 'Programming Language :: Python', |
---|
75 | 'Topic :: Security', |
---|
76 | 'Topic :: Internet', |
---|
77 | 'Topic :: Scientific/Engineering', |
---|
78 | 'Topic :: System :: Distributed Computing', |
---|
79 | 'Topic :: Software Development :: Libraries :: Python Modules' |
---|
80 | ] |
---|
81 | ) |
---|