source: TI12-security/trunk/NDG_XACML/setup.py @ 6796

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/NDG_XACML/setup.py@6868
Revision 6796, 2.3 KB checked in by pjkersha, 10 years ago (diff)

Refactored functions package to enable dynamic creation of function classes for all the XACML primitive types for any given function e.g. equal module implements EqualBase? and dynamically creates the <type>-equal classes for all the types: string, AnyURI, Boolean etc.

Line 
1#!/usr/bin/env python
2
3"""NDG XACML
4
5NERC DataGrid Project
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: setup.py 6628 2010-02-24 14:22:35Z pjkersha $'
13
14# Bootstrap setuptools if necessary.
15from ez_setup import use_setuptools
16use_setuptools()
17from setuptools import setup, find_packages
18
19_longDescription = """\
20XACML 2.0 implementation for the NERC DataGrid / CEDA (the Centre for
21Environmental Data Archival) STFC, Rutherford Appleton Laboratory.
22
23Only the parts of the specification currently required for CEDA have been
24implemented:
25 * there is incomplete support for <AttributeSelector>s, <VariableReference>,
26   <VariableDefinition>. <Obligations>
27 * only a few of the standard functions: see ndg.xacml.core.functions
28 * ... and attribute types: see ndg.xacml.core.attribute
29 * includes and ElementTree based parser for Policies. No support for writing
30   out policies or read/write of XML representation of <Request> and <Response>
31   
32The structure is easily extensible to include new parsers, add more of the
33standard functions and attribute types
34"""
35
36setup(
37    name =                      'NDG_XACML',
38    version =                   '0.1',
39    description =           'XACML 2.0 implementation for the NERC DataGrid',
40    long_description =          _longDescription,
41    author =                    'Philip Kershaw',
42    author_email =              'Philip.Kershaw@stfc.ac.uk',
43    maintainer =                'Philip Kershaw',
44    maintainer_email =          'Philip.Kershaw@stfc.ac.uk',
45    url =                       'http://proj.badc.rl.ac.uk/ndg/wiki/Security',
46    license =               'BSD - See LICENCE file for details',
47#    install_requires =         [],
48    dependency_links =          ["http://ndg.nerc.ac.uk/dist"],
49    packages =                  find_packages(),
50    namespace_packages =        ['ndg'],
51    # This flag will include all files under SVN control or included in
52    # MANIFEST.in.
53    #include_package_data =     True,
54    # Finer grained control of data file inclusion can be achieved with
55    # these parameters.  See the setuptools docs.
56    #package_data =             {}
57    #exclude_package_data =     {}
58    entry_points =         None,
59    test_suite =                   'ndg.xacml.test',
60    zip_safe =             False
61)
Note: See TracBrowser for help on using the repository browser.