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

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

Contains important fix for OpenIDProviderMiddleware - moved OpenIDResponse object from class member to session key to preserve separation between user sessions in sign in process. This bug was manifest in users being incorrectly redirected following login.

  • 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 os, sys
21
22# Packages needed for NDG Security
23# Note commented out ones fail with PyPI - use explicit link instead
24# TODO: subdivide these into server and client specific and comon dependencies
25_pkgDependencies = [
26    'ZSI',
27    '4Suite-XML',
28    'M2Crypto',
29    'ndg_saml'
30    ]
31
32# Python 2.5 includes ElementTree by default
33if sys.version_info[0:2] < (2, 5):
34    _pkgDependencies += ['ElementTree', 'cElementTree']
35
36_longDescription = """\
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 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.
42NDG Security is designed around a Role Based Access Control mechanism. Cross
43organisational access to resources is enabled through bilateral trust
44agreements between participating organisations expressed through a system for
45single sign and role mapping.
46
47NDG Security employs a web services based architecture enabling different
48combinations of components to be deployed according to a participating site's
49needs and requirements.  Resources are secured using a system of Policy
50Enforcement Point (Gatekeeper) and Policy Decision Point components.  An
51Attribute Authority provides a service to query a given users attributes used
52for gaining access to resources.  Session Manager and MyProxy services can be
53used for management of credentials.  NDG Security supports OpenID for Single
54Sign On and can integrate into both web based and non-web based application
55client interfaces.
56"""
57
58setup(
59    name =                      'ndg_security_common',
60    version =                   '1.5.1',
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.