1 | #!/usr/bin/env python |
---|
2 | """Distribution Utilities setup program for MyProxy Server Utilities Package |
---|
3 | |
---|
4 | NERC DataGrid Project |
---|
5 | """ |
---|
6 | __author__ = "P J Kershaw" |
---|
7 | __date__ = "21/05/10" |
---|
8 | __copyright__ = "(C) 2010 Science and Technology Facilities Council" |
---|
9 | __license__ = """BSD - See LICENSE file in top-level directory""" |
---|
10 | __contact__ = "Philip.Kershaw@stfc.ac.uk" |
---|
11 | __revision__ = '$Id: $' |
---|
12 | |
---|
13 | # Bootstrap setuptools if necessary. |
---|
14 | from ez_setup import use_setuptools |
---|
15 | use_setuptools() |
---|
16 | |
---|
17 | from setuptools import setup, find_packages |
---|
18 | |
---|
19 | import os |
---|
20 | |
---|
21 | setup( |
---|
22 | name = 'MyProxyWebService', |
---|
23 | version = '0.1.0', |
---|
24 | description = 'MyProxy Web Service', |
---|
25 | long_description = '''\ |
---|
26 | Provides a simple web service interface to MyProxy. MyProxy is a Service for |
---|
27 | managing PKI based credentials which is part of the Globus Toolkit. Providing |
---|
28 | a HTTP based interface enables HTTP based clients to connect to a MyProxy server |
---|
29 | and retrieve credentials. |
---|
30 | |
---|
31 | The interface is implemented as a WSGI application which fronts a normal |
---|
32 | MyProxy server. myproxy-logon and myproxy-get-trustroots are expressed as web |
---|
33 | service calls. The WSGI application forwards the requests on to the MyProxy |
---|
34 | server over the usual MyProxy protocol. The web service interface is RESTful |
---|
35 | using GET and POST operations and the logon interface makes uses of HTTP Basic |
---|
36 | Auth to pass username and pass-phrase credentials. The service is hosted over |
---|
37 | HTTPS. |
---|
38 | |
---|
39 | The unit tests include a test application served using paster. Client scripts |
---|
40 | are also available which need no specialised installation or applications, only |
---|
41 | openssl and curl which are typically available on Linux/UNIX based systems. |
---|
42 | ''', |
---|
43 | author = 'Philip Kershaw', |
---|
44 | author_email = 'Philip.Kershaw@stfc.ac.uk', |
---|
45 | maintainer = 'Philip Kershaw', |
---|
46 | maintainer_email = 'Philip.Kershaw@stfc.ac.uk', |
---|
47 | url = 'http://proj.badc.rl.ac.uk/ndg/wiki/Security/MyProxyWebService', |
---|
48 | platforms = ['POSIX', 'Linux', 'Windows'], |
---|
49 | install_requires = ['PasteDeploy', |
---|
50 | 'PasteScript', |
---|
51 | 'WebOb', |
---|
52 | 'MyProxyClient'], |
---|
53 | license = __license__, |
---|
54 | test_suite = 'myproxy.server.test', |
---|
55 | packages = find_packages(), |
---|
56 | package_data = { |
---|
57 | 'myproxy.server.test': [ |
---|
58 | 'README', '*.cfg', '*.ini', '*.crt', '*.key', '*.sh', 'ca/*.0' |
---|
59 | ] |
---|
60 | }, |
---|
61 | classifiers = [ |
---|
62 | 'Development Status :: 3 - Alpha', |
---|
63 | 'Environment :: Console', |
---|
64 | 'Environment :: Web Environment', |
---|
65 | 'Intended Audience :: End Users/Desktop', |
---|
66 | 'Intended Audience :: Developers', |
---|
67 | 'Intended Audience :: System Administrators', |
---|
68 | 'Intended Audience :: Science/Research', |
---|
69 | 'License :: OSI Approved :: GNU Library or Lesser General Public License (BSD)', |
---|
70 | 'Natural Language :: English', |
---|
71 | 'Operating System :: Microsoft :: Windows', |
---|
72 | 'Operating System :: POSIX :: Linux', |
---|
73 | 'Programming Language :: Python', |
---|
74 | 'Topic :: Security', |
---|
75 | 'Topic :: Internet', |
---|
76 | 'Topic :: Scientific/Engineering', |
---|
77 | 'Topic :: System :: Distributed Computing', |
---|
78 | 'Topic :: System :: Systems Administration :: Authentication/Directory', |
---|
79 | 'Topic :: Software Development :: Libraries :: Python Modules' |
---|
80 | ], |
---|
81 | zip_safe = False |
---|
82 | ) |
---|