Holger avatar

Fixing the windows build of the scrypt library

holger80

Published: 01 Feb 2019 › Updated: 01 Feb 2019Fixing the windows build of the scrypt library

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

python setup.py build

should now work.

Precompiled wheels

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

A

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

Leave Fixing the windows build of the scrypt library to:

Written by

beem Developer, Hive Witness, beempy.com, rewarding.app

Read more #steemdev posts


Best Posts From Holger

We have not curated any of holger80's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Holger