source: TI12-security/branches/ndg-security-1.5.x/ndg_security_server/setup.py @ 7858

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/branches/ndg-security-1.5.x/ndg_security_server/setup.py
Revision 7858, 4.6 KB checked in by pjkersha, 9 years ago (diff)

Incomplete - task 21: Fix Yadis for 1.5.x branch to include Attribute Service and MyProxy? entries

  • Fixed and re-ran unit tests and authz_lite integration tests, releasing 1.5.9
  • 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()
16from setuptools import setup, find_packages
17
18# Other packages needed by this server package
19_pkgDependencies = [
20    'ndg_security_common',
21    'Paste',
22    'AuthKit',
23]
24
25_entryPoints = """
26    [console_scripts]
27    myproxy-saml-assertion-cert-ext-app=ndg.security.server.myproxy.certificate_extapp.saml_attribute_assertion:CertExtConsoleApp.run
28
29    [paste.app_factory]
30    main=ndg.security.server.pylons.container.config.middleware:make_app
31    [paste.app_install]
32    main=pylons.util:PylonsInstaller
33    [paste.paster_create_template]
34    ndgsecurity_services=ndg.security.server.paster_templates.template:DefaultDeploymentTemplate
35    ndgsecurity_services_with_sso=ndg.security.server.paster_templates.template:FullDeploymentTemplate
36    """
37   
38_longDescription = """\
39NDG Security is the security system for the UK Natural Environment Research
40Council funded NERC DataGrid.  NDG Security has been developed to
41provide users with seamless access to secured resources across NDG
42participating organisations whilst at the same time providing an underlying
43system which is easy to deploy around organisation's pre-existing systems.
44NDG Security is designed around a Role Based Access Control mechanism. Cross
45organisational access to resources is enabled through bilateral trust
46agreements between participating organisations expressed through a system for
47single sign and role mapping.
48
49NDG Security employs a web services based architecture enabling different
50combinations of components to be deployed according to a participating site's
51needs and requirements.  Resources are secured using a system of Policy
52Enforcement Point (Gatekeeper) and Policy Decision Point components.  An
53Attribute Authority provides a service to query a given users attributes used
54for gaining access to resources.  Session Manager and MyProxy services can be
55used for management of credentials.  NDG Security supports OpenID for Single
56Sign On and can integrate into both web based and non-web based application
57client interfaces.
58"""
59
60setup(
61    name =                      'ndg_security_server',
62    version =                   '1.5.9',
63    description =               'Server side components for running NERC DataGrid '
64                            'Security Services',
65    long_description =          _longDescription,
66    author =                    'Philip Kershaw',
67    author_email =              'Philip.Kershaw@stfc.ac.uk',
68    maintainer =                'Philip Kershaw',
69    maintainer_email =          'Philip.Kershaw@stfc.ac.uk',
70    url =                       'http://proj.badc.rl.ac.uk/ndg/wiki/Security',
71    license =               'BSD - See LICENCE file for details',
72    install_requires =          _pkgDependencies,
73   
74    # Set ndg.security.common dependency
75    dependency_links =      ["http://ndg.nerc.ac.uk/dist"],
76    packages =                      find_packages(),
77    namespace_packages =        ['ndg', 'ndg.security'],
78    include_package_data =  True,
79    package_data = {
80        'ndg.security.server.sso.sso': [
81            'i18n/*/LC_MESSAGES/*.mo'
82        ],
83        'ndg.security.server.conf': [
84            '*.xml', '*.py', '*.cfg', '*.conf'
85        ],
86        'ndg.security.server.share': ['*'],
87        'ndg.security.server.sso': ['*.ini', '*.cfg', '*.txt'],
88        'ndg.security.server.sso.sso': ['public/*.*', 'public/layout/*.*'],
89        'ndg.security.server.sso.sso.badc_site': [
90            'public/*.*', 
91            'public/layout/*.*',
92            'public/layout/logos/*.*',
93            'public/layout/styles/*.*',
94            'public/layout/tabs/*.*'
95        ],
96        'ndg.security.server.sso.sso.templates.ndg.security': ['*.kid'],
97        'ndg.security.server.sso.sso.badc_site.templates.ndg.security': ['*.kid'],
98        'ndg.security.server.pylons': ['*.ini', '*.cfg', '*.txt'],
99        'ndg.security.server.pylons.container': [
100            'public/*.*', 
101            'public/layout/*.*',
102            'public/js/*.*',
103            'public/js/img/*.*',
104            'public/js/theme/*.*',
105            'public/js/yui/*.*'],
106        'ndg.security.server.pylons.container.templates.ndg.security': [
107            '*.kid'
108        ],
109        # See MANIFEST.in for ndg.security.server.paster_templates files
110    },
111    entry_points =           _entryPoints,
112    test_suite =                    'ndg.security.test',
113    zip_safe =              False
114)
Note: See TracBrowser for help on using the repository browser.