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

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

security/python/ndg.security.test/ndg/security/test/ndg-test-ca.crt,
security/python/ndg.security.test/ndg/security/test/test.crt,
security/python/ndg.security.test/ndg/security/test/test.key,
security/python/ndg.security.test/ndg/security/test/attCertTest.cfg: added certs from test CA.
security/python/ndg.security.test/ndg/security/test/AttCertTest.py: modified tests 9 and 13 for correct handling of no password set.
security/python/ndg.security.test/setup.py: corrret inclusion of test certs in egg.

  • 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': ['*.xml',
35                                  '*.cfg',
36                                  'test.crt',
37                                  'test.key',
38                                  'ndg-test-ca.crt'],
39    'ndg.security.test.ca': ['*.xml', '*.cfg'],
40    'ndg.security.test.myProxy': ['*.xml', '*.cfg', 'Makefile'],
41    'ndg.security.test.sessionMgr': ['*.xml', '*.cfg', '*.sh'],
42    'ndg.security.test.sessionMgr.ca': ['*.crt'],
43    'ndg.security.test.sessionMgrClient': ['*.xml', 
44                                           '*.cfg', 
45                                           '*.sh',
46                                           'sm-clnt.crt',
47                                           'sm-clnt.key',
48                                           'sm.crt',
49                                           'sm.key'],
50    'ndg.security.test.SessionMgrClient.ca': ['*.crt'],
51    'ndg.security.test.XMLSecDoc': ['*.cfg']
52    }   
53
54setup(
55    name =                      'ndg_security_test',
56    version =                   '0.8.7',
57    description =               'NERC DataGrid Security Unit tests',
58    long_description =          'Unit tests client - server side',
59    author =                    'Philip Kershaw',
60    author_email =              'P.J.Kershaw@rl.ac.uk',
61    maintainer =                'Philip Kershaw',
62    maintainer_email =          'P.J.Kershaw@rl.ac.uk',
63    url =                       'http://proj.badc.rl.ac.uk/ndg',
64    license =               'Q Public License, version 1.0 or later',
65    packages =                      find_packages(),
66    namespace_packages =        ['ndg', 'ndg.security'],
67    package_data =          _pkgData,                             
68    zip_safe =              False
69)
Note: See TracBrowser for help on using the repository browser.