source: TI12-security/trunk/python/ndg.security.server/setup.py @ 3153

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

NDG Security release updated to 0.8.7. Changes in this version enable full support for multiple CAs and use of MyProxy? SimpleCA dynamically created cert.s. These differ from previous use of MyProxy? in that they are issued directly from a CA instead of a user cert held in the repository.

setup.py,
ndg.security.server/setup.py,
ndg.security.server/ndg/security/server/MyProxy.py,
ndg.security.client/setup.py,
ndg.security.test/setup.py,
ndg.security.common/setup.py: updated NDG Security release num

ndg.security.server/ndg/security/server/SessionMgr/init.py,
ndg.security.test/ndg/security/test/sessionMgrClient/SessionMgrClientTest.py: SessionCookie? class not used. Pylons framework handles this.

ndg.security.test/ndg/security/test/sessionCookie: renamed package from SessionCookie?

  • 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) 2007 STFC & NERC"
9__license__ = \
10"""This software may be distributed under the terms of the Q Public
11License, version 1.0 or later."""
12__contact__ = "P.J.Kershaw@rl.ac.uk"
13__revision__ = '$Id$'
14
15# Bootstrap setuptools if necessary.
16from ez_setup import use_setuptools
17use_setuptools()
18
19from setuptools import setup, find_packages
20
21import os
22
23__revision__ = "$Id$"
24
25# Packages needed for NDG Security
26# Note commented out ones fail with PyPI - use explicit link instead
27# TODO: subdivide these into server and client specific and comon dependencies
28_pkgDependencies = [
29    'ndg_security_common',
30   
31    # Zope interface
32    'zope.interface'
33]
34
35# Make a script interface to MyProxy client
36_entryPoints = {'console_scripts': [\
37    'myproxy-client = ndg.security.server.MyProxy:main',
38    'init-credrepos-db = ndg.security.server.initCredReposDb:main']
39}
40   
41setup(
42    name =                      'ndg_security_server',
43    version =                   '0.8.7',
44    description =               'NERC DataGrid Security Services',
45    long_description =          'Server side component for securing NDG resources',
46    author =                    'Philip Kershaw',
47    author_email =              'P.J.Kershaw@rl.ac.uk',
48    maintainer =                'Philip Kershaw',
49    maintainer_email =          'P.J.Kershaw@rl.ac.uk',
50    url =                       'http://proj.badc.rl.ac.uk/ndg',
51    license =               'Q Public License, version 1.0 or later',
52    install_requires =          _pkgDependencies,
53   
54    # Set ndg.security.common dependency.  Also, sledge hammer approach needed
55    # with some packages as they won't install from their PyPI name - instead give
56    # the explicit URL.  This may cause problems later!
57    dependency_links = [
58        "http://ndg.nerc.ac.uk/dist",
59       
60        # Zope Interface
61        "http://www.zope.org/Products/ZopeInterface/" 
62        ],
63
64    # These will have to be installed manually - they won't currently 'eggify'
65    #    http://tmrc.mit.edu/mirror/twisted/Web/0.5/TwistedWeb-0.5.0.tar.bz2
66    #    http://tmrc.mit.edu/mirror/twisted/Twisted/2.2/TwistedSumo-2006-02-12.tar.bz2
67
68    packages =                      find_packages(),
69    namespace_packages =        ['ndg', 'ndg.security'],
70    package_data =          {'ndg.security.server.conf': ['*.xml', 
71                                                          '*.py',
72                                                          '*.tac',
73                                                          '*.cfg',
74                                                          '*.conf'],
75                             'ndg.security.server.conf.ca': ['*.crt'],                                               
76                             'ndg.security.server.conf.certs': ['*'],
77                             'ndg.security.server.conf.attCertLog': ['*'],
78                             'ndg.security.server.share': ['*'],
79                             'ndg.security.server.AttAuthority': ['*.sh'],
80                             'ndg.security.server.SessionMgr': ['*.sh'],
81                             'ndg.security.server.ca': ['*.sh']},
82    entry_points =           _entryPoints,
83    test_suite =                    'ndg.security.test',
84    zip_safe =              False
85)
Note: See TracBrowser for help on using the repository browser.