|
8 | 8 | NAMESPACE_PKGS = ['ndg']
|
9 | 9 |
|
10 | 10 | _long_description = '''
|
11 |
| -This is a HTTPS client implementation for httplib and urllib2 based on |
12 |
| -PyOpenSSL. PyOpenSSL provides a more fully featured SSL implementation over the |
13 |
| -default provided with Python and importantly enables full verification of the |
14 |
| -SSL peer. |
| 11 | +A HTTPS client implementation for |
| 12 | + * ``httplib`` (Python 2), ``http.client`` (Python 3) and |
| 13 | + * ``urllib2`` (Python 2) and ``urllib`` (Python 3) |
| 14 | +
|
| 15 | +... based on PyOpenSSL. PyOpenSSL provides a more fully featured SSL implementation |
| 16 | +over the default provided with Python and importantly enables full verification |
| 17 | +of the SSL peer using ``pyasn1``. |
15 | 18 |
|
16 | 19 | Releases
|
17 | 20 | ========
|
18 | 21 | 0.4.1
|
19 | 22 | -----
|
20 | 23 | * Added explicit ref to Python 3 in classifier text for Python 3 checking tools.
|
| 24 | + * Moved LICENSE file into package |
21 | 25 |
|
22 | 26 | 0.4.0
|
23 | 27 | -----
|
|
40 | 44 |
|
41 | 45 | 0.3.1
|
42 | 46 | -----
|
43 |
| - * extended utils functions to support keyword for passing additional urllib2 |
| 47 | + * extended utils functions to support keyword for passing additional ``urllib2`` |
44 | 48 | handlers.
|
45 | 49 |
|
46 | 50 | 0.3.0
|
47 | 51 | -----
|
48 |
| - * Added ndg.httpsclient.utils.fetch_stream_from_url function and added |
49 |
| - parameter for data to post in open_url and fetch_* methods. |
| 52 | + * Added ``ndg.httpsclient.utils.fetch_stream_from_url`` function and added |
| 53 | + parameter for data to post in ``open_url`` and ``fetch_*`` methods. |
50 | 54 | * fix to ndg.httpsclient.utils module _should_use_proxy and open_url functions
|
51 | 55 |
|
52 | 56 | 0.2.0
|
|
60 | 64 |
|
61 | 65 | Prerequisites
|
62 | 66 | =============
|
63 |
| -This has been developed and tested for Python 2.6 and 2.7 with pyOpenSSL 0.13 and 0.14. |
64 |
| -Version 0.4.0 tested with pyOpenSSL 0.15.1 and Python 2.7 and 3.4. Note that proxy support |
65 |
| -is only available from Python 2.6.2 onwards. pyasn1 is required for correct SSL |
66 |
| -verification with subjectAltNames. |
| 67 | +This has been developed and tested for Python 2.6 and 2.7 with pyOpenSSL 0.13 |
| 68 | +and 0.14. Version 0.4.0 tested with ``pyOpenSSL`` 0.15.1 and Python 2.7 and |
| 69 | +3.4. Note that proxy support is only available from Python 2.6.2 onwards. |
| 70 | +``pyasn1`` is required for correct SSL verification with ``subjectAltNames``. |
67 | 71 |
|
68 | 72 | Installation
|
69 | 73 | ============
|
|
115 | 119 |
|
116 | 120 | url='https://github.com/cedadev/ndg_httpsclient/',
|
117 | 121 | long_description=_long_description,
|
118 |
| - license='BSD - See LICENCE file for details', |
| 122 | + license='BSD - See ndg/httpsclient/LICENCE file for details', |
119 | 123 | packages=find_packages(),
|
120 | 124 | namespace_packages=NAMESPACE_PKGS,
|
121 | 125 | # package_dir={'ndg.httpsclient': 'ndg/httpsclient'},
|
122 | 126 | package_data={
|
123 | 127 | 'ndg.httpsclient': [
|
| 128 | + 'LICENSE', |
124 | 129 | 'test/README',
|
125 | 130 | 'test/scripts/*.sh',
|
126 | 131 | 'test/pki/localhost.*',
|
|
130 | 135 | install_requires=['PyOpenSSL'],
|
131 | 136 | extras_require={'subjectAltName_support': 'pyasn1'},
|
132 | 137 | classifiers=[
|
133 |
| - 'Development Status :: 3 - Alpha', |
| 138 | + 'Development Status :: 5 - Production/Stable', |
134 | 139 | 'Environment :: Console',
|
135 | 140 | 'Environment :: Web Environment',
|
136 | 141 | 'Intended Audience :: End Users/Desktop',
|
|
0 commit comments