C:\
, the root directory on most Windows installations. If you choose to unpack to another location, the cd
commands must be adjusted accordingly.Grab the Windows 32-bit installer and run it, accepting the defaults.
Add the Python base and Scripts directories to your path, e.g.
C:\Python27;C:\Python27\Scripts
.
Grab the latest tarball from the openssl.org download page and unpack it. At the MSYS prompt, run:
$ cd /c/openssl-1.0.1g
$ ./config --openssldir=/usr
$ make
$ make install
Grab the latest tarball from python.org and unpack it. At the MSYS prompt, run:
$ cd /c/scrypt-0.6.1
Open setup.py
in your text editor and make the following changes:
Change the line:
library_dirs = ['c:\OpenSSL-Win32\lib\MinGW']
to read:
library_dirs = ['c:\msys\lib','c:\WINDOWS\system32']
Change the line:
includes = ['c:\OpenSSL-Win32\include']
to read:
includes = ['c:\msys\include']
Save the file. At the MSYS prompt, run:
$ python setup.py build --compiler=mingw32
Ignore the warning messages at the end and run:
$ python setup.py install
Source code is available from the Pycrypto home page, but it appears to build only with MS Visual Studio, not MinGW. Until this situation is fixed, you can install the precompiled binaries available from Voidspace. Download and run the Windows installer, accepting the defaults.
Grab the tarball and unpack it. At the MSYS prompt, run:
$ cd /c/ecdsa-0.11
$ python setup.py install
Grab the tarball and unpack it. At the MSYS prompt, run:
$ cd /c/bitcoin-python-0.3
$ cp -a src/bitcoinrpc /c/Python27/Lib/site-packages
This is a workaround for a dependency issue with the package's setup script. If your Python is installed in a different location, you'll have to adjust the destination path accordingly.
Get the zip archive from GitHub and unpack it. At the MSYS prompt, run:
$ cd /c/mmgen-master
$ sudo ./setup.py install
Type:
$ echo $PATH
The C:\Python27;C:\Python27\Scripts
you added to your path in Step 1 of this
page should be included in your PATH variable. If not, then exit MSYS and open
a new MSYS window to update your path.