Changeset 7151 for TI12-security


Ignore:
Timestamp:
01/07/10 13:38:22 (9 years ago)
Author:
pjkersha
Message:

Incomplete - task 2: XACML-Security Integration

  • tidied ndg_soap setup.py
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/ndg_soap/setup.py

    r6284 r7151  
    11#!/usr/bin/env python 
    22 
    3 """Distribution Utilities setup program for NDG Security Package 
     3"""Distribution Utilities setup program for NDG SOAP Package 
    44 
    5 NERC Data Grid Project 
     5NERC DataGrid Project 
    66""" 
    77__author__ = "P J Kershaw" 
    8 __date__ = "24/04/06" 
    9 __copyright__ = "(C) 2009 Science and Technology Facilities Council" 
     8__date__ = "01/07/10" 
     9__copyright__ = "(C) 2010 Science and Technology Facilities Council" 
    1010__license__ = "BSD - see LICENSE file in top-level directory" 
    1111__contact__ = "Philip.Kershaw@stfc.ac.uk" 
     
    2424# TODO: subdivide these into server and client specific and comon dependencies 
    2525_pkgDependencies = [ 
    26     'PyXML', # include as a separate dependency to force correct download link 
    27     'ZSI', 
    28     '4Suite-XML', 
    29     'M2Crypto', 
    30     'ndg_security_saml' 
    3126    ] 
    3227 
    33 # TODO: configure an option so that database support can be set for the  
    34 # Credential Repository.  MySQL package may need to be in its own option 
    35 # eventually 
    36 credentialRepositoryDbSupport = False 
    37 if credentialRepositoryDbSupport: 
    38     _pkgDependencies += [ 
    39     'SQLObject', 
    40     'MySQL-python', # TODO: fix gcc error: unrecognized option `-restrict' 
    41 ] 
     28_longDescription = """\ 
     29A simple SOAP interface developed to support the ndg_saml package SOAP binding 
     30code. 
    4231 
    43 # Python 2.5 includes ElementTree by default 
    44 if sys.version_info[0:2] < (2, 5): 
    45     _pkgDependencies += ['ElementTree', 'cElementTree'] 
    46  
    47 _longDescription = """\ 
    48 NDG Security is the security system for the UK Natural Environment Research 
    49 Council funded NERC DataGrid.  NDG Security has been developed to  
    50 provide users with seamless access to secured resources across NDG  
    51 participating organisations whilst at the same time providing an underlying  
    52 system which is easy to deploy around organisation's pre-existing systems.  
    53 NDG Security is designed around a Role Based Access Control mechanism. Cross  
    54 organisational access to resources is enabled through bilateral trust  
    55 agreements between participating organisations expressed through a system for  
    56 single sign and role mapping. 
    57  
    58 NDG Security employs a web services based architecture enabling different  
    59 combinations of components to be deployed according to a participating site's  
    60 needs and requirements.  Resources are secured using a system of Policy 
    61 Enforcement Point (Gatekeeper) and Policy Decision Point components.  An  
    62 Attribute Authority provides a service to query a given users attributes used 
    63 for gaining access to resources.  Session Manager and MyProxy services can be  
    64 used for management of credentials.  NDG Security supports OpenID for Single 
    65 Sign On and can integrate into both web based and non-web based application  
    66 client interfaces. 
     32It uses ElementTree for its XML handling and urllib2 for its HTTP library. 
    6733""" 
    6834 
    6935setup( 
    70     name =                      'ndg_security_common', 
    71     version =                   '1.4', 
    72     description =           'NERC DataGrid Security package containing common ' 
    73                             'utilities used by both server and client ' 
    74                             'packages', 
     36    name =                      'ndg_soap', 
     37    version =                   '0.1', 
     38    description =           'NERC DataGrid Simple SOAP library', 
    7539    long_description =          _longDescription, 
    7640    author =                    'Philip Kershaw', 
     
    8145    license =               'BSD - See LICENCE file for details', 
    8246    install_requires =          _pkgDependencies, 
    83     dependency_links =          ["http://ndg.nerc.ac.uk/dist"], 
    8447    packages =                  find_packages(), 
    85     namespace_packages =        ['ndg', 'ndg.security'], 
    86     # This flag will include all files under SVN control or included in 
    87     # MANIFEST.in. 
    88     #include_package_data =     True, 
    89     # Finer grained control of data file inclusion can be achieved with 
    90     # these parameters.  See the setuptools docs. 
    91     #package_data =             {} 
    92     #exclude_package_data =     {} 
     48    namespace_packages =        ['ndg'], 
    9349    entry_points =         None, 
    94     test_suite =                   'ndg.security.test', 
     50    test_suite =                   'ndg.soap.test', 
    9551    zip_safe =             False 
    9652) 
Note: See TracChangeset for help on using the changeset viewer.