[pycrypto] Visual Studio Express 2010

Max Polk maxpolk at gmail.com
Thu Feb 16 22:54:44 EST 2012


To build with Visual Studio Express 2010, edit Python's
Lib\distutils\msvc9compiler.py, add the top line here above the existing
next line:

    ld_args.append('/MANIFEST')
    ld_args.append('/MANIFESTFILE:' + temp_manifest)

( Above discovered at
http://fuyun.org/2009/12/install-mysql-for-python-on-windows )

Then use this to build a binary distribution:

    set VS90COMNTOOLS=%VS100COMNTOOLS%
    python setup.py bdist_wininst

The above creates dist\pycrypto-2.5.win32-py2.7.exe

The build, test, install targets work as well as bdist_wininst.


More information about the pycrypto mailing list