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__ = "Philip.Kershaw@stfc.ac.uk" |
---|
13 | __revision__ = '$Id$' |
---|
14 | |
---|
15 | # Bootstrap setuptools if necessary. |
---|
16 | from ez_setup import use_setuptools |
---|
17 | use_setuptools() |
---|
18 | from setuptools import setup, find_packages |
---|
19 | import os |
---|
20 | |
---|
21 | _pkgData = { |
---|
22 | 'ndg.security.test.attAuthority': ['*.xml', |
---|
23 | '*.cfg', |
---|
24 | 'test.crt', |
---|
25 | 'test.key', |
---|
26 | 'siteA-aa.crt', |
---|
27 | 'siteA-aa.key', |
---|
28 | 'siteB-aa.crt', |
---|
29 | 'siteB-aa.key', |
---|
30 | 'README'], |
---|
31 | 'ndg.security.test.attAuthority.ca': ['*.crt'], |
---|
32 | 'ndg.security.test.attCert': ['*.xml', |
---|
33 | '*.cfg', |
---|
34 | 'test.crt', |
---|
35 | 'test.key', |
---|
36 | 'ndg-test-ca.crt', |
---|
37 | 'README'], |
---|
38 | 'ndg.security.test.ca': ['*.xml', '*.cfg', 'README'], |
---|
39 | 'ndg.security.test.gatekeeper': ['README'], |
---|
40 | 'ndg.security.test.Log': ['README'], |
---|
41 | 'ndg.security.test.myProxy': ['*.xml', |
---|
42 | '*.cfg', |
---|
43 | 'user.crt', |
---|
44 | 'user.key', |
---|
45 | 'ndg-test-ca.crt', |
---|
46 | 'openssl.conf', |
---|
47 | 'Makefile', |
---|
48 | 'README'], |
---|
49 | 'ndg.security.test.sessionMgr': ['*.xml', |
---|
50 | '*.cfg', |
---|
51 | 'openssl.conf', |
---|
52 | 'sm.crt', |
---|
53 | 'sm.key', |
---|
54 | 'user.crt', |
---|
55 | 'user.key', |
---|
56 | 'README'], |
---|
57 | 'ndg.security.test.sessionMgr.ca': ['*.crt'], |
---|
58 | 'ndg.security.test.sessionMgrClient': ['*.xml', |
---|
59 | '*.cfg', |
---|
60 | 'openssl.conf', |
---|
61 | 'sm-clnt.crt', |
---|
62 | 'sm-clnt.key', |
---|
63 | 'sm.crt', |
---|
64 | 'sm.key', |
---|
65 | 'test.crt', |
---|
66 | 'test.key', |
---|
67 | 'README'], |
---|
68 | 'ndg.security.test.sessionMgrClient.ca': ['*.crt'], |
---|
69 | 'ndg.security.test.wsSecurity': ['*.wsdl', 'README'], |
---|
70 | 'ndg.security.test.wsSecurity.client': ['*.cfg', |
---|
71 | 'clnt.crt', |
---|
72 | 'clnt.key', |
---|
73 | 'ndg-test-ca.crt', |
---|
74 | 'Makefile'], |
---|
75 | 'ndg.security.test.wsSecurity.server': ['*.cfg', |
---|
76 | 'server.crt', |
---|
77 | 'server.key', |
---|
78 | 'ndg-test-ca.crt', |
---|
79 | 'Makefile'], |
---|
80 | 'ndg.security.test.X509': ['*.cfg', |
---|
81 | 'user.crt', |
---|
82 | 'proxy.crt', |
---|
83 | 'ndg-test-ca.crt', |
---|
84 | 'README'], |
---|
85 | 'ndg.security.test.XMLSecDoc': ['*.cfg', |
---|
86 | 'test.crt', |
---|
87 | 'test.key', |
---|
88 | 'ndg-test-ca.crt', |
---|
89 | 'README'] |
---|
90 | } |
---|
91 | |
---|
92 | setup( |
---|
93 | name = 'ndg_security_test', |
---|
94 | version = '1.0.0', |
---|
95 | description = 'NERC DataGrid Security Unit tests', |
---|
96 | long_description = 'Unit tests client - server side', |
---|
97 | author = 'Philip Kershaw', |
---|
98 | author_email = 'Philip.Kershaw@stfc.ac.uk', |
---|
99 | maintainer = 'Philip Kershaw', |
---|
100 | maintainer_email = 'Philip.Kershaw@stfc.ac.uk', |
---|
101 | url = 'http://proj.badc.rl.ac.uk/ndg/wiki/Security', |
---|
102 | license = 'Q Public License, version 1.0 or later', |
---|
103 | packages = find_packages(), |
---|
104 | namespace_packages = ['ndg', 'ndg.security'], |
---|
105 | package_data = _pkgData, |
---|
106 | zip_safe = False |
---|
107 | ) |
---|