Dependency:
.NET 4.5.2 -https://www.microsoft.com/net/download/visual-studio-sdkshttps://www.microsoft.com/net/download/visual-studio-sdks
pycrypto - https://www.dlitz.net/software/pycrypto/
pywinusb - https://pypi.python.org/pypi/pywinusb/
pytest - http://doc.pytest.org/en/latest/
Microsoft provide detailed tutorial upon almost every developing tools on windows, including how to configure compiling environment of "rare" python packages.
I am using Python 3.5.2 and Python 3.6, while the official wheel file is not provided for pycrypto. 3-rd part support only last toward Python 3.3. I have to configure a compile environment on my laptop.
Normally this is not recommended. Using a GNU tool as MinGW or simply reboot with Ubuntu would save a lot of problem if you really want to "make" a library. While cross compiling a library for windows on Unix or GNU environment only bring more trouble.
Fortunately Microsoft simplify the process greatly after Python 3.5. It integrate Python development workload in Visual Studio, all you need to do is download a 10GB software and wait it to install.
https://blogs.msdn.microsoft.com/pythonengineering/2016/04/11/unable-to-find-vcvarsall-bat/
After setting up system variables, you need to install python-setuptool, either from pip or conda. And finally just pip libname, you could compile the wheel locally.
Bingo! It works.
Some 3-rd group are gathering wheels of various small lib. For some of the libraries, there is only on author maintaining and he does not even have a windows/ubuntu device. We could not blame them for not compiling wheel for us. Those 3-rd party wheels are very friendly but update slowly. Some latest version of environment is not nicely supported.
Here are some useful Python wheel lib for windows:
https://www.lfd.uci.edu/~gohlke/pythonlibs/
http://www.voidspace.org.uk/python/modules.shtml#pycrypto
Comentarios