

Static linking and is sometimes the correct choice for dynamic linking as The default is libcurl.lib which is appropriate for libcurl-lib-name=libcurl_imp.lib: specify a different name for libcurl use-libcurl-dll: build against libcurl DLL, if not given PycURL will (version number, static/dll, single-threaded/multi-threaded) you must use If libcurl and Python are not linked against the same exact C runtime Note that -curl-dir must point not to libcurl source but rather to headers py - curl - dir = c :\ dev\ curl - 7.33.0\ builds\ libcurl - vc - x86 - release - dll - ipv6 - sspi - spnego - winssl - use - libcurl - dll Then configure PycURL as follows to use it: Follow its Windowsīuild instructions to build either a static or a DLL version of the library, There is a patch for this inįor a minimum build you will just need libcurl source. If PycURL is to be linked statically against its dependencies, OpenSSL mustīe patched to link to the DLL version of MSVCRT. Multiple MSVCRT versions mixed in the resulting PycURL binary, which will If you are compiling PycURL from source it is recommended to compile all of itsĭependencies from source as well. Of information for compiling PycURL’s dependencies on Windows. Script - it is used to build the official binaries and contains a wealth It is advisable to look through the winbuild.py If you decide to build PycURL from source Settings for MSVCRT usage, and an application must have all of its partsĪgreeing on a single setting. Of possible dependencies and each of these dependencies having its ownĭirectory structure, configuration style, parameters and quirks.Īdditionally different dependencies have different Building From Source ¶īuilding PycURL from source is not for the faint of heart due to the multitude You can build PycURLįrom source or use third-party binary packages. There are currently no official binary Windows packages. # upgrade pip if necessary pip install - upgrade pip # remove current pycurl pip uninstall pycurl # set PYCURL_SSL_LIBRARY export PYCURL_SSL_LIBRARY = nss # recompile and install pycurl pip install - compile pycurl Windows ¶
