source: TI12-security/trunk/NDGSecurity/python/ndg_security_common/setup.py @ 7708

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/NDGSecurity/python/ndg_security_common/setup.py@7708
Revision 7708, 3.4 KB checked in by pjkersha, 9 years ago (diff)

2.1.0

ESGF Group/Role? AttributeValue? integrated into SAML Attribute Queries and XACML Policy. This will enable queries to the PCMDI attribute service for CMIP5 roles.

  • Property svn:keywords set to Id
Line 
1#!/usr/bin/env python
2
3"""Distribution Utilities setup program for NDG Security Package
4
5NERC Data Grid Project
6"""
7__author__ = "P J Kershaw"
8__date__ = "24/04/06"
9__copyright__ = "(C) 2009 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.
15from ez_setup import use_setuptools
16use_setuptools()
17
18from setuptools import setup, find_packages
19
20import sys
21
22# Packages needed for NDG Security
23# Note commented out ones fail with PyPI - use explicit link instead
24_pkgDependencies = [
25    'M2Crypto',
26    'ndg_saml',
27    'ndg_xacml'
28    ]
29
30# Python 2.5 includes ElementTree by default
31if sys.version_info[0:2] < (2, 5):
32    _pkgDependencies += ['ElementTree', 'cElementTree']
33
34_longDescription = """\
35NDG Security package for components common to client and server side
36 
37NDG Security is the security system for the UK Natural Environment Research
38Council funded NERC DataGrid.  NDG Security has been developed to
39provide users with seamless federated access to secured resources across NDG
40participating organisations whilst at the same time providing an underlying
41system which is easy to deploy around organisation's pre-existing systems.
42
43Over the past two years the system has been developed in collaboration with the
44US DoE funded Earth System Grid project for the ESG Federation an infrastructure
45under development in support of CMIP5 (Coupled Model Intercomparison Project
46Phase 5), a framework for a co-ordinated set of climate model experiments
47which will input into the forthcoming 5th IPCC Assessment Report.
48
49NDG and ESG use a common access control architecture.  OpenID and MyProxy are
50used to support single sign on for browser based and HTTP rich client based
51applications respectively.  SAML is used for attribute query and authorisation
52decision interfaces.  XACML is used as the policy engine.  NDG Security has been
53re-engineered to use a filter based architecture based on WSGI enabling other
54Python WSGI based applications to be protected in a flexible manner without the
55need to modify application code.
56"""
57
58setup(
59    name =                      'ndg_security_common',
60    version =                   '2.1.0',
61    description =           'NERC DataGrid Security package containing common '
62                            'utilities used by both server and client '
63                            'packages',
64    long_description =          _longDescription,
65    author =                    'Philip Kershaw',
66    author_email =              'Philip.Kershaw@stfc.ac.uk',
67    maintainer =                'Philip Kershaw',
68    maintainer_email =          'Philip.Kershaw@stfc.ac.uk',
69    url =                       'http://proj.badc.rl.ac.uk/ndg/wiki/Security',
70    license =               'BSD - See LICENCE file for details',
71    install_requires =          _pkgDependencies,
72    dependency_links =          ["http://ndg.nerc.ac.uk/dist"],
73    packages =                  find_packages(),
74    namespace_packages =        ['ndg', 'ndg.security'],
75    # This flag will include all files under SVN control or included in
76    # MANIFEST.in.
77    #include_package_data =     True,
78    # Finer grained control of data file inclusion can be achieved with
79    # these parameters.  See the setuptools docs.
80    #package_data =             {}
81    #exclude_package_data =     {}
82    entry_points =         None,
83    test_suite =                   'ndg.security.test',
84    zip_safe =             False
85)
Note: See TracBrowser for help on using the repository browser.