1 | #!/usr/bin/env python |
---|
2 | """Distribution Utilities setup program for NDG Security Test Package |
---|
3 | |
---|
4 | NERC 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 |
---|
11 | License, version 1.0 or later.""" |
---|
12 | __contact__ = "P.J.Kershaw@rl.ac.uk" |
---|
13 | __revision__ = '$Id$' |
---|
14 | |
---|
15 | # Bootstrap setuptools if necessary. |
---|
16 | from ez_setup import use_setuptools |
---|
17 | use_setuptools() |
---|
18 | |
---|
19 | from setuptools import setup, find_packages |
---|
20 | |
---|
21 | import 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 | |
---|
54 | setup( |
---|
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 | ) |
---|