source: TI12-security/trunk/NDGSecurity/python/ndg_security_server/setup.py @ 7756

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

Incomplete - task 16: NDG Security 2.x.x - incl. updated Paster templates

  • Property svn:executable set to *
  • Property svn:keywords set to Id
Line 
1#!/usr/bin/env python
2"""Distribution Utilities setup program for NDG Security Server Package
3
4NERC Data Grid Project
5"""
6__author__ = "P J Kershaw"
7__date__ = "24/04/06"
8__copyright__ = "(C) 2009 Science and Technology Facilities Council"
9__license__ = "BSD - see LICENSE file in top-level directory"
10__contact__ = "Philip.Kershaw@stfc.ac.uk"
11__revision__ = '$Id$'
12
13# Bootstrap setuptools if necessary.
14from ez_setup import use_setuptools
15use_setuptools()
16
17from setuptools import setup, find_packages
18
19# Other packages needed by this server package
20_pkgDependencies = [
21    'ndg_security_common',
22    'Paste',
23    'WebOb',
24    'beaker',
25    'AuthKit',
26    'MyProxyClient'
27]
28
29_entryPoints = """
30    [console_scripts]
31    myproxy-saml-assertion-cert-ext-app=ndg.security.server.myproxy.certificate_extapp.saml_attribute_assertion:CertExtConsoleApp.run
32
33    [paste.app_factory]
34    main=ndg.security.server.pylons.container.config.middleware:make_app
35    [paste.app_install]
36    main=pylons.util:PylonsInstaller
37    [paste.paster_create_template]
38    ndgsecurity_authorisation_service=ndg.security.server.paster_templates.template:AuthorisationServiceTemplate
39    """
40   
41_longDescription = """\
42NDG Security Server-side components package
43
44NDG Security is the security system for the UK Natural Environment Research
45Council funded NERC DataGrid.  NDG Security has been developed to
46provide users with seamless federated access to secured resources across NDG
47participating organisations whilst at the same time providing an underlying
48system which is easy to deploy around organisation's pre-existing systems.
49
50Over the past two years the system has been developed in collaboration with the
51US DoE funded Earth System Grid project for the ESG Federation an infrastructure
52under development in support of CMIP5 (Coupled Model Intercomparison Project
53Phase 5), a framework for a co-ordinated set of climate model experiments
54which will input into the forthcoming 5th IPCC Assessment Report.
55
56NDG and ESG use a common access control architecture.  OpenID and MyProxy are
57used to support single sign on for browser based and HTTP rich client based
58applications respectively.  SAML is used for attribute query and authorisation
59decision interfaces.  XACML is used as the policy engine.  NDG Security has been
60re-engineered to use a filter based architecture based on WSGI enabling other
61Python WSGI based applications to be protected in a flexible manner without the
62need to modify application code.
63"""
64
65setup(
66    name =                      'ndg_security_server',
67    version =                   '2.1.0',
68    description =               'Server side components for running NERC DataGrid '
69                            'Security Services',
70    long_description =          _longDescription,
71    author =                    'Philip Kershaw',
72    author_email =              'Philip.Kershaw@stfc.ac.uk',
73    maintainer =                'Philip Kershaw',
74    maintainer_email =          'Philip.Kershaw@stfc.ac.uk',
75    url =                       'http://proj.badc.rl.ac.uk/ndg/wiki/Security',
76    license =               'BSD - See LICENCE file for details',
77    install_requires =          _pkgDependencies,
78    extras_require = {
79        'xacml':  ["ndg_xacml"]
80    },
81    # Set ndg.security.common dependency
82    dependency_links =      ["http://ndg.nerc.ac.uk/dist"],
83    packages =                      find_packages(),
84    namespace_packages =        ['ndg', 'ndg.security'],
85    include_package_data =  True,
86    package_data = {
87        # See MANIFEST.in for ndg.security.server.paster_templates files
88#        'ndg.security.server.templates.pki': ['*.crt', '*.key'],
89#        'ndg.security.server.templates.pki.ca': ['*.crt'],
90    },
91    entry_points =           _entryPoints,
92    test_suite =                    'ndg.security.test',
93    zip_safe =              False
94)
Note: See TracBrowser for help on using the repository browser.