The latest versions of all packages might be different by the time your are reading this, and it tends to be safe to use newer versions, but we know these versions work. You must use python 2.x and Python-Qt4, do not use python3.x or Python-Qt5.
To just build the _CppBlockUtils.pyd so you can run ArmoryQt.py, you can omit py2exe and NSIS, and any steps related to them (such as making sure stuff is in your PATH).
Microsoft Visual Studio Express 2013 for Windows Desktop with Update 3
SWIG 3.0.2 (Do not install! See below)
py2exe [Only Farhod's modified version supports Unicode]
-
To accommodate systems with multiple versions of python, some tweaks were made to distinguish between them.
-
C:\Python27\python.exe
was copied and renamed toC:\Python27\python64.exe
-
C:\Python27_64\Lib\site-packages\PyQt4\pyrcc4.exe
is referenced by a build script even though default python installation does not have the _64. Either rename the base directory or modify BitcoinArmory/cppForSwig/BitcoinArmory_SwigDLL/build_installer_64.bat to reference the correct path.
-
-
Make sure the following folders are in your PATH (environment variable):
C:\Python27\
C:\Program Files (x86)\NSIS\
C:\Python27_64\Lib\site-packages\PyQt4\
-
py2exe chokes on zope because its directory does does not contain a init.py. Make sure the following file exists (and is empty):
C:\Python27\Lib\site-packages\zope\__init__.py
-
Swig is not installed like the other packages. Unpack swig directory into cppForSwig and rename it to swigwin. The following path should be valid:
BitcoinArmory/cppForSwig/swigwin/swig.exe