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

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

Preparing 2.0.0 release for NDG Security

  • 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
19import os
20
21# Other packages needed by this server package
22_pkgDependencies = [
23    'ndg_security_common',
24    'Paste',
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_services=ndg.security.server.paster_templates.template:DefaultDeploymentTemplate
39    ndgsecurity_services_with_sso=ndg.security.server.paster_templates.template:FullDeploymentTemplate
40    """
41   
42_longDescription = """\
43NDG Security Server-side components package
44
45NDG Security is the security system for the UK Natural Environment Research
46Council funded NERC DataGrid.  NDG Security has been developed to
47provide users with seamless federated access to secured resources across NDG
48participating organisations whilst at the same time providing an underlying
49system which is easy to deploy around organisation's pre-existing systems.
50
51Over the past two years the system has been developed in collaboration with the
52US DoE funded Earth System Grid project for the ESG Federation an infrastructure
53under development in support of CMIP5 (Coupled Model Intercomparison Project
54Phase 5), a framework for a co-ordinated set of climate model experiments
55which will input into the forthcoming 5th IPCC Assessment Report.
56
57NDG and ESG use a common access control architecture.  OpenID and MyProxy are
58used to support single sign on for browser based and HTTP rich client based
59applications respectively.  SAML is used for attribute query and authorisation
60decision interfaces.  XACML is used as the policy engine.  NDG Security has been
61re-engineered to use a filter based architecture based on WSGI enabling other
62Python WSGI based applications to be protected in a flexible manner without the
63need to modify application code.
64"""
65
66setup(
67    name =                      'ndg_security_server',
68    version =                   '2.0.0',
69    description =               'Server side components for running NERC DataGrid '
70                            'Security Services',
71    long_description =          _longDescription,
72    author =                    'Philip Kershaw',
73    author_email =              'Philip.Kershaw@stfc.ac.uk',
74    maintainer =                'Philip Kershaw',
75    maintainer_email =          'Philip.Kershaw@stfc.ac.uk',
76    url =                       'http://proj.badc.rl.ac.uk/ndg/wiki/Security',
77    license =               'BSD - See LICENCE file for details',
78    install_requires =          _pkgDependencies,
79   
80    # Set ndg.security.common dependency
81    dependency_links =      ["http://ndg.nerc.ac.uk/dist"],
82    packages =                      find_packages(),
83    namespace_packages =        ['ndg', 'ndg.security'],
84    include_package_data =  True,
85    package_data = {
86        'ndg.security.server.sso.sso': [
87            'i18n/*/LC_MESSAGES/*.mo'
88        ],
89        'ndg.security.server.conf': [
90            '*.xml', '*.py', '*.cfg', '*.conf'
91        ],
92        'ndg.security.server.share': ['*'],
93        'ndg.security.server.sso': ['*.ini', '*.cfg', '*.txt'],
94        'ndg.security.server.sso.sso': ['public/*.*', 'public/layout/*.*'],
95        'ndg.security.server.sso.sso.badc_site': [
96            'public/*.*', 
97            'public/layout/*.*',
98            'public/layout/logos/*.*',
99            'public/layout/styles/*.*',
100            'public/layout/tabs/*.*'
101        ],
102        'ndg.security.server.sso.sso.templates.ndg.security': ['*.kid'],
103        'ndg.security.server.sso.sso.badc_site.templates.ndg.security': ['*.kid'],
104        'ndg.security.server.pylons': ['*.ini', '*.cfg', '*.txt'],
105        'ndg.security.server.pylons.container': [
106            'public/*.*', 
107            'public/layout/*.*',
108            'public/js/*.*',
109            'public/js/img/*.*',
110            'public/js/theme/*.*',
111            'public/js/yui/*.*'],
112        'ndg.security.server.pylons.container.templates.ndg.security': [
113            '*.kid'
114        ],
115        # See MANIFEST.in for ndg.security.server.paster_templates files
116    },
117    entry_points =           _entryPoints,
118    test_suite =                    'ndg.security.test',
119    zip_safe =              False
120)
Note: See TracBrowser for help on using the repository browser.