Skip to content

Commit

Permalink
Use '--force-reinstall' flag instead
Browse files Browse the repository at this point in the history
  • Loading branch information
crwood committed Sep 27, 2018
1 parent 37ca564 commit ccec32c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/maybe_rebuild_libsodium.py
Expand Up @@ -20,6 +20,5 @@
# XXX Keep pinned to 1.2.1 for now; version 1.3.0 raises "AttributeError: # XXX Keep pinned to 1.2.1 for now; version 1.3.0 raises "AttributeError:
# cffi library '_sodium' has no function, constant or global variable named # cffi library '_sodium' has no function, constant or global variable named
# 'crypto_aead_chacha20poly1305_ietf_keybytes'" # 'crypto_aead_chacha20poly1305_ietf_keybytes'"
subprocess.call(['pip', 'uninstall', '-y', 'PyNaCl']) subprocess.call(['pip', 'install', '--force-reinstall', '--no-deps',
subprocess.call(['pip', 'install', '--ignore-installed', '--no-deps',
'--no-binary', 'PyNaCl', 'PyNaCl==1.2.1']) '--no-binary', 'PyNaCl', 'PyNaCl==1.2.1'])

0 comments on commit ccec32c

Please sign in to comment.