File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed
Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1+ Installation notes
2+ ==================
3+
4+ For install on Mac Yosemite, special header file include paths are needed for
5+ PyOpenSSL dependency source builds. Install XCode and add explicit include path
6+ for ffi package and generic include:
7+
8+ export CPATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/ffi:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/
Original file line number Diff line number Diff line change 1212from datetime import datetime
1313import logging
1414import socket
15- from io import BytesIO as BufferIO_
15+ from io import BytesIO
1616
1717from OpenSSL import SSL
1818
@@ -234,7 +234,7 @@ def makefile(self, *args):
234234 _buf_size = self .buf_size
235235
236236 i = 0
237- stream = BufferIO_ ()
237+ stream = BytesIO ()
238238 startTime = datetime .utcnow ()
239239 try :
240240 dat = self .__ssl_conn .recv (_buf_size )
Original file line number Diff line number Diff line change 102102
103103setup (
104104 name = 'ndg_httpsclient' ,
105- version = "0.3.3 " ,
105+ version = "0.4.0 " ,
106106 description = 'Provides enhanced HTTPS support for httplib and urllib2 using '
107107 'PyOpenSSL' ,
108108 author = 'Richard Wilkinson and Philip Kershaw' ,
You can’t perform that action at this time.
0 commit comments