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

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

ndg.security.server/setup.py:

ndg.security.server/setup.cfg:

  • removed EasyInstall? and build sections
  • reinstated tag_build - set to '_dews' - and tag_svn_revision

ndg.security.server/ndg/security/server/AttAuthority/server-config.tac:

  • removed socket import and added os
  • added M2Crypto SSL support - works with Python client unit tests (required setting SSL v2 and 3 support)

but problems with WebSphere? client

ndg.security.server/ndg/security/server/AttAuthority/init.py,
ndg.security.server/ndg/security/server/conf/attAuthorityProperties.xml,
ndg.security.test/ndg/security/test/AttAuthority/siteAAttAuthorityProperties.xml,
ndg.security.test/ndg/security/test/AttAuthority/siteBAttAuthorityProperties.xml:

  • added sslKeyPwd setting for properties

ndg.security.server/ndg/security/server/MyProxy.py:

  • ensure cnHostPfx is reinitialised to if equal to None

ndg.security.common/setup.py:

  • added M2Crypto, ZSI and 4Suite to dependencies
  • revised dependency links to use NDG site, http://ndg.nerc.ac.uk/dist and ZSI sourceforge link taken

from pyGridWare settings. Latter won't work for PyXML but does work from command line ??

ndg.security.common/ndg/security/common/wsSecurity.py:

  • IMPORTANT FIX * - removed strip() from signed info digest calc - NOT needed and caused some problems

with verify.

  • Property svn:executable set to *
Line 
1#!/usr/bin/env python
2
3"""Distribution Utilities setup program for NDG Security Server Package
4
5NERC Data Grid Project
6
7P J Kershaw 24/04/06
8
9Copyright (C) 2007 CCLRC & NERC
10
11This software may be distributed under the terms of the Q Public License,
12version 1.0 or later.
13"""
14# Bootstrap setuptools if necessary.
15from ez_setup import use_setuptools
16use_setuptools()
17
18from setuptools import setup, find_packages
19
20import os
21
22reposID = "$Id:$"
23
24# Packages needed for NDG Security
25# Note commented out ones fail with PyPI - use explicit link instead
26# TODO: subdivide these into server and client specific and comon dependencies
27_pkgDependencies = [
28    'ndg.security.common',
29    'pycrypto',
30#    MySQL-python', - gcc: unrecognized option `-restrict'
31]
32
33
34_entryPoints = None
35
36setup(
37    name =                      'ndg.security.server',
38    version =                   '0.7.2',
39    description =               'NERC DataGrid Security Services',
40    long_description =          'Server side component for securing NDG resources',
41    author =                    'Philip Kershaw',
42    author_email =              'P.J.Kershaw@rl.ac.uk',
43    maintainer =                'Philip Kershaw',
44    maintainer_email =          'P.J.Kershaw@rl.ac.uk',
45    url =                       'http://proj.badc.rl.ac.uk/ndg',
46    install_requires =          _pkgDependencies,
47   
48    # Set ndg.security.common dependency.  Also, sledge hammer approach needed
49    # with some packages as they won't install from their PyPI name - instead give
50    # the explicit URL.  This may cause problems later!
51    dependency_links = [
52        "http://ndg.nerc.ac.uk/dist",
53#        "http://www.zope.org/Products/ZopeInterface/3.0.1final/ZopeInterface-3.0.1.tgz"
54        ],
55
56    # These will have to be installed manually - they won't currently 'eggify'
57    #    http://tmrc.mit.edu/mirror/twisted/Web/0.5/TwistedWeb-0.5.0.tar.bz2
58    #    http://tmrc.mit.edu/mirror/twisted/Twisted/2.2/TwistedSumo-2006-02-12.tar.bz2
59
60    packages =                      find_packages(),
61    namespace_packages =        ['ndg', 'ndg.security'],
62    # This flag will include all files under SVN control or included in
63    # MANIFEST.in.
64    #'include_package_data =    True,
65    # Finer grained control of data file inclusion can be achieved with
66    # these parameters.  See the setuptools docs.
67    package_data =         {'ndg.security.server.conf': ['*.xml']},
68    #'exclude_package_data =    {}
69    entry_points =         _entryPoints,
70    test_suite =                   'ndg.security.test',
71    zip_safe =             False
72)
Note: See TracBrowser for help on using the repository browser.