2.2 Building the Module on a Windows System

Big thanks to Itamar Shtull-Trauring and Oleg Orlov for their help with Windows build instructions. Same as for Unix systems, we have to separate the build_ext and the build.

Building the library:

setup.py build_ext -I ...\openssl\inc32 -L ...\openssl\out32dll
setup.py build

Where ...\openssl is of course the location of your OpenSSL installation.

Installation is the same as for Unix systems:

setup.py install

And similarily, you can do

setup.py --help

to get more information.