Install latest pip distribution: download get-pip.py and run it using the python interpreter.
We provide binary packages for all supported platforms. Use pip to install the wheel binary packages:
pip install -U virgil-crypto
If there is no binary package for your platform you can build Crypto library from source.
-
Install build dependencies.
https://github.com/VirgilSecurity/virgil-crypto/#build-prerequisites
-
Install latest
wheel
distribution.pip install wheel
-
Download Virgil Crypto source distribution:
-
Extract source distribution:
tar -xvzf virgil-crypto-2.0.0a.tar.gz
-
Switch to the distribution directory:
cd virgil-crypto-2.0.0a
-
Build the wheel binary distribution:
python setup.py bdist_wheel
-
Install the distribution with
pip
. The file name may vary depending on your platform so look into the dist directory for the correct namepip install dist/virgil_crypto-2.0.0a0-cp27-cp27mu-linux_x86_64.whl