source: TI12-security/trunk/python/ndg.security.test/setup.py @ 3140

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

python/ndg.security.test/setup.py: include test certs and keys in package data for egg

python/ndg.security.test/ndg/security/test/sessionMgrClient/ca/ndg-test-ca.crt,
python/ndg.security.test/ndg/security/test/sessionMgrClient/sm.crt,
python/ndg.security.test/ndg/security/test/sessionMgrClient/sm.key,
python/ndg.security.test/ndg/security/test/sessionMgr/ca/ndg-test-ca.crt,
python/ndg.security.test/ndg/security/test/sessionMgr/sm.crt,
python/ndg.security.test/ndg/security/test/sessionMgr/sm.key: use test CA and certs for unit tests

python/ndg.security.test/ndg/security/test/sessionMgr/sessionMgrProperties.xml: change to use checked in certs and key

  • 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 Test Package
3
4NERC Data Grid Project
5"""
6__author__ = "P J Kershaw"
7__date__ = "15/03/07"
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_pkgData = {
26    'ndg.security.test.AttAuthority': ['*.xml', 
27                                       '*.cfg', 
28                                       '*.sh', 
29                                       'siteA-aa.crt',
30                                       'siteA-aa.key',
31                                       'siteB-aa.crt'
32                                       'siteB-aa.key'],
33    'ndg.security.test.AttAuthority.ca': ['*.crt'],
34    'ndg.security.test.AttCert': ['*.cfg'],
35    'ndg.security.test.ca': ['*.xml', '*.cfg'],
36    'ndg.security.test.MyProxy': ['*.xml', '*.cfg', 'Makefile'],
37    'ndg.security.test.sessionMgr': ['*.xml', '*.cfg', '*.sh'],
38    'ndg.security.test.sessionMgr.ca': ['*.crt'],
39    'ndg.security.test.sessionMgrClient': ['*.xml', 
40                                           '*.cfg', 
41                                           '*.sh',
42                                           'sm.cert',
43                                           'sm.key'],
44    'ndg.security.test.SessionMgrClient.ca': ['*.crt'],
45    'ndg.security.test.XMLSecDoc': ['*.cfg']
46    }   
47
48setup(
49    name =                      'ndg_security_test',
50    version =                   '0.8.6',
51    description =               'NERC DataGrid Security Unit tests',
52    long_description =          'Unit tests client - server side',
53    author =                    'Philip Kershaw',
54    author_email =              'P.J.Kershaw@rl.ac.uk',
55    maintainer =                'Philip Kershaw',
56    maintainer_email =          'P.J.Kershaw@rl.ac.uk',
57    url =                       'http://proj.badc.rl.ac.uk/ndg',
58    license =               'Q Public License, version 1.0 or later',
59    packages =                      find_packages(),
60    namespace_packages =        ['ndg', 'ndg.security'],
61    package_data =          _pkgData,                             
62    zip_safe =              False
63)
Note: See TracBrowser for help on using the repository browser.