source: TI12-security/trunk/python/ndg.security.common/setup.py @ 5456

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.common/setup.py@5503
Revision 5456, 3.8 KB checked in by pjkersha, 11 years ago (diff)

Fix licence info in setup.py files.

  • 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    'PyXML', # include as a separate dependency to force correct download link
27    'ZSI',
28    '4Suite-XML',
29    'M2Crypto'
30    ]
31
32# TODO: configure an option so that database support can be set for the
33# Credential Repository.  MySQL package may need to be in its own option
34# eventually
35credentialRepositoryDbSupport = False
36if credentialRepositoryDbSupport:
37    _pkgDependencies += [
38    'SQLObject',
39    'MySQL-python', # TODO: fix gcc error: unrecognized option `-restrict'
40]
41
42# Python 2.5 includes ElementTree by default
43if sys.version_info[0:2] < (2, 5):
44    _pkgDependencies += ['ElementTree', 'cElementTree']
45
46_longDescription = """\
47NDG Security is the security system for the UK Natural Environment Research
48Council funded NERC DataGrid.  NDG Security has been developed to
49provide users with seamless access to secured resources across NDG
50participating organisations whilst at the same time providing an underlying
51system which is easy to deploy around organisation's pre-existing systems.
52NDG Security is designed around a Role Based Access Control mechanism. Cross
53organisational access to resources is enabled through bilateral trust
54agreements between participating organisations expressed through a system for
55single sign and role mapping.
56
57NDG Security employs a web services based architecture enabling different
58combinations of components to be deployed according to a participating site's
59needs and requirements.  Resources are secured using a system of Policy
60Enforcement Point (Gatekeeper) and Policy Decision Point components.  An
61Attribute Authority provides a service to query a given users attributes used
62for gaining access to resources.  Session Manager and MyProxy services can be
63used for management of credentials.  NDG Security supports OpenID for Single
64Sign On and can integrate into both web based and non-web based application
65client interfaces.
66"""
67
68setup(
69    name =                      'ndg_security_common',
70    version =                   '1.0.4',
71    description =           'NERC DataGrid Security package containing common '
72                            'utilities used by both server and client '
73                            'packages',
74    long_description =          _longDescription,
75    author =                    'Philip Kershaw',
76    author_email =              'Philip.Kershaw@stfc.ac.uk',
77    maintainer =                'Philip Kershaw',
78    maintainer_email =          'Philip.Kershaw@stfc.ac.uk',
79    url =                       'http://proj.badc.rl.ac.uk/ndg/wiki/Security',
80    license =               'BSD - See LICENCE file for details',
81    install_requires =          _pkgDependencies,
82    dependency_links =          ["http://ndg.nerc.ac.uk/dist"],
83    packages =                  find_packages(),
84    namespace_packages =        ['ndg', 'ndg.security'],
85    # This flag will include all files under SVN control or included in
86    # MANIFEST.in.
87    #include_package_data =     True,
88    # Finer grained control of data file inclusion can be achieved with
89    # these parameters.  See the setuptools docs.
90    #package_data =             {}
91    #exclude_package_data =     {}
92    entry_points =         None,
93    test_suite =                   'ndg.security.test',
94    zip_safe =             False
95)
Note: See TracBrowser for help on using the repository browser.