PyNaCl is a Python binding to libsodium, which is a fork of the Networking and Cryptography library. These libraries have a stated goal of improving usability, security and speed. It supports Python 2.7 and 3.4+ as well as PyPy 2.6+.
PyNaCl ships as a binary wheel on OS X, Windows and Linux manylinux1 [1] , so all dependencies are included. Make sure you have an up-to-date pip and run:
System Message: WARNING/2 (<stdin>, line 42)
Cannot analyze code. Pygments package not found.
.. code-block:: console $ pip install pynacl
PyNaCl relies on libsodium, a portable C library. A copy is bundled with PyNaCl so to install you can run:
System Message: WARNING/2 (<stdin>, line 52)
Cannot analyze code. Pygments package not found.
.. code-block:: console $ pip install pynacl
If you'd prefer to use the version of libsodium provided by your distribution, you can disable the bundled copy during install by running:
System Message: WARNING/2 (<stdin>, line 59)
Cannot analyze code. Pygments package not found.
.. code-block:: console $ SODIUM_INSTALL=system pip install pynacl
Warning
Usage of the legacy easy_install command provided by setuptools is generally discouraged, and is completely unsupported in PyNaCl's case.
[1] | manylinux1 wheels are built on a baseline linux environment based on Centos 5.11 and should work on most x86 and x86_64 glibc based linux environments. |
Powered by TurnKey Linux.