From 3aefeb2dd48d401372d9b0a0d7af1aabd0f69f34 Mon Sep 17 00:00:00 2001 From: holgern Date: Tue, 12 Feb 2019 10:04:48 +0100 Subject: [PATCH] Fix build for python 2.7 and 3.4 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c7dd028..abab027 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ extra_sources = ['scrypt-windows-stubs/gettimeofday.c'] if struct.calcsize('P') == 8: - if os.path.isdir('c:\OpenSSL-Win64'): + if os.path.isdir('c:\OpenSSL-Win64') and sys.version_info[0] > 3 and sys.version_info[1] > 4: openssl_dir = 'c:\OpenSSL-v111-Win64' else: openssl_dir = 'c:\OpenSSL-Win64'