source: TI12-security/trunk/ndg_saml/setup.py @ 6900

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/ndg_saml/setup.py@6900
Revision 6900, 3.3 KB checked in by pjkersha, 9 years ago (diff)

Incomplete - task 6: Put NDG SAML package on PyPI

  • add documentation folder and Makefile for epydoc
  • updating epydoc for all modules and packages.
  • Property svn:executable set to *
Line 
1#!/usr/bin/env python
2"""SAML 2.0 Package
3
4NERC DataGrid Project
5
6This implementation is adapted from the Java OpenSAML implementation.  The
7copyright and licence information are included here:
8
9Copyright [2005] [University Corporation for Advanced Internet Development, Inc.]
10
11Licensed under the Apache License, Version 2.0 (the "License");
12you may not use this file except in compliance with the License.
13You may obtain a copy of the License at
14
15http://www.apache.org/licenses/LICENSE-2.0
16
17Unless required by applicable law or agreed to in writing, software
18distributed under the License is distributed on an "AS IS" BASIS,
19WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20See the License for the specific language governing permissions and
21limitations under the License.
22"""
23__author__ = "P J Kershaw"
24__date__ = "10/08/09"
25__copyright__ = "(C) 2009 Science and Technology Facilities Council"
26__license__ = "http://www.apache.org/licenses/LICENSE-2.0"
27__contact__ = "Philip.Kershaw@stfc.ac.uk"
28__revision__ = '$Id:$'
29
30# Bootstrap setuptools if necessary.
31from ez_setup import use_setuptools
32use_setuptools()
33from setuptools import setup, find_packages
34import os
35   
36_longDescription = """\
37SAML 2.0 implementation for use with the NERC DataGrid / Earth System Grid
38Project Attribute and Authorisation Query interfaces.  The implementation is
39based on the Java OpenSAML libraries.  An implementation is provided with 
40ElementTree but it can easily be extended to use other Python XML parsers.
41
42It is not a complete implementation of SAML 2.0.  Only those components required
43for the NERC DataGrid have been provided (Attribute and AuthZ Decision Query/
44Response).  Where possible, stubs have been provided for other classes.
45"""
46
47setup(
48    name =                      'ndg_security_saml',
49    version =                   '0.4',
50    description =               ('SAML 2.0 implementation for the NERC DataGrid '
51                             'based on the Java OpenSAML library'),
52    long_description =          _longDescription,
53    author =                    'Philip Kershaw',
54    author_email =              'Philip.Kershaw@stfc.ac.uk',
55    maintainer =                'Philip Kershaw',
56    maintainer_email =          'Philip.Kershaw@stfc.ac.uk',
57    url =                       'http://proj.badc.rl.ac.uk/ndg/wiki/Security',
58    license =               'http://www.apache.org/licenses/LICENSE-2.0',
59    packages =                      find_packages(),
60    namespace_packages =        [],
61    include_package_data =  True,
62    classifiers = [
63        'Development Status :: Development Status :: 4 - Beta',
64        'Environment :: Console',
65        'Environment :: Web Environment',
66        'Intended Audience :: Developers',
67        'Intended Audience :: System Administrators',
68        'Intended Audience :: Science/Research',
69        'License :: OSI Approved :: OSI Approved :: Apache Software License',
70        'Natural Language :: English',
71        'Operating System :: Microsoft :: Windows',
72        'Operating System :: POSIX :: Linux',
73        'Programming Language :: Python',
74        'Topic :: Security',
75        'Topic :: Internet',
76        'Topic :: Scientific/Engineering',
77        'Topic :: System :: Distributed Computing',
78        'Topic :: System :: Systems Administration :: Authentication/Directory',
79        'Topic :: Software Development :: Libraries :: Python Modules'
80    ],
81    zip_safe =              False
82)
Note: See TracBrowser for help on using the repository browser.