Fixing the windows build of the scrypt library

After seeing that scrypt no longer works for windows:
image.png

I had to act, as I’m the maintainer of the scrypt package. The package can be found here https://bitbucket.org/mhallin/py-scrypt/. The original author gave me write access to the repository as he is no longer maintaining it.

scrypt is an important package and is used in several python libraries as dependency (e.g. python-bitshares,, steem-python, beem )

The reason why it failed unter windows, is that a library in the OpenSSL package is renamed in the newest windows version of it. By fixing the names, I could compile it again.

image.png

Compile scrypt in windows

A c compiler must be installed (e.g. Visual Studio 2017). Then,
Win64 OpenSSL v1.1.1a from https://slproweb.com/products/Win32OpenSSL.html must be installed to c:\\OpenSSL-Win64
A

1
python setup.py build

should now work.

Precompiled wheels

I uploaded also several pre-compiled wheels.
image.png

A

1
pip install scrypt

under windows should also work without having a compiler.

Anaconda

I pushed the changes to conda-forge and working packages are available for windows:

image.png