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 | XACML (eXtensible Access Control Mark-up Language), is an XML based language for |
---|
25 | expressing access control policies. |
---|
26 | |
---|
27 | See: http://www.oasis-open.org/committees/xacml/ |
---|
28 | |
---|
29 | |
---|
30 | Release 0.3 |
---|
31 | |
---|
32 | Includes important fixes for equals functions, and improvement to at least one |
---|
33 | member functions. Unit tests improved with wider coverage of different rule |
---|
34 | definitions and example request contexts. |
---|
35 | |
---|
36 | Improved and added to support for context handler and Policy Information Point |
---|
37 | interfaces including the ability for the PDP to call back to a PIP via a |
---|
38 | Context handler to retrieve additional subject attributes. |
---|
39 | |
---|
40 | |
---|
41 | Release 0.2 |
---|
42 | |
---|
43 | Only the parts of the specification immediately required for CEDA have been |
---|
44 | implemented in this initial release: |
---|
45 | Policy Decision Point; |
---|
46 | Deny overrides and Permit overrides rule combining algorithms; |
---|
47 | AttributeDesignators; |
---|
48 | various function types: see ndg.xacml.core.functions; |
---|
49 | and attribute types: see ndg.xacml.core.attribute; |
---|
50 | incomplete support for <AttributeSelector>s, <VariableReference>, |
---|
51 | <VariableDefinition>. <Obligations>; |
---|
52 | includes an ElementTree based parser for Policies. No support for writing |
---|
53 | out policies or read/write of XML representation of <Request> and <Response>; |
---|
54 | |
---|
55 | See ndg.xacml.test for unit tests and examples. |
---|
56 | |
---|
57 | The software follows a modular structure to allow it to be extended easily to |
---|
58 | include new parsers, functions and attribute types |
---|
59 | |
---|
60 | """ |
---|
61 | |
---|
62 | setup( |
---|
63 | name = 'ndg_xacml', |
---|
64 | version = '0.3.1', |
---|
65 | description = 'XACML 2.0 implementation for the NERC DataGrid', |
---|
66 | long_description = _longDescription, |
---|
67 | author = 'Philip Kershaw', |
---|
68 | author_email = 'Philip.Kershaw@stfc.ac.uk', |
---|
69 | maintainer = 'Philip Kershaw', |
---|
70 | maintainer_email = 'Philip.Kershaw@stfc.ac.uk', |
---|
71 | url = 'http://proj.badc.rl.ac.uk/ndg/wiki/Security/XACML', |
---|
72 | license = 'BSD - See LICENCE file for details', |
---|
73 | # install_requires = [], |
---|
74 | dependency_links = ["http://ndg.nerc.ac.uk/dist"], |
---|
75 | packages = find_packages(), |
---|
76 | namespace_packages = ['ndg'], |
---|
77 | package_data = { |
---|
78 | 'ndg.xacml.core': ['documentation/Makefile'], |
---|
79 | 'ndg.xacml.test': ['*.xml'], |
---|
80 | }, |
---|
81 | entry_points = None, |
---|
82 | test_suite = 'ndg.xacml.test', |
---|
83 | zip_safe = False, |
---|
84 | classifiers = [ |
---|
85 | 'Development Status :: 3 - Alpha', |
---|
86 | 'Environment :: Console', |
---|
87 | 'Environment :: Web Environment', |
---|
88 | 'Intended Audience :: Developers', |
---|
89 | 'Intended Audience :: System Administrators', |
---|
90 | 'Intended Audience :: Science/Research', |
---|
91 | 'License :: OSI Approved :: BSD License', |
---|
92 | 'Natural Language :: English', |
---|
93 | 'Operating System :: Microsoft :: Windows', |
---|
94 | 'Operating System :: POSIX :: Linux', |
---|
95 | 'Programming Language :: Python', |
---|
96 | 'Topic :: Security', |
---|
97 | 'Topic :: Internet', |
---|
98 | 'Topic :: Scientific/Engineering', |
---|
99 | 'Topic :: System :: Distributed Computing', |
---|
100 | 'Topic :: Software Development :: Libraries :: Python Modules' |
---|
101 | ] |
---|
102 | ) |
---|