cryptography requires the installation of a small number of
development dependencies in addition to the dependencies for
Installation. These are handled by the use of
nox, which can be
$ # Create a virtualenv and activate it $ # Set up your cryptography build environment $ pip install nox $ # Specify your Python version here. $ nox -e tests -p py310
OpenSSL on macOS
cryptography unit tests are found in the
tests/ directory and are
designed to be run using pytest.
nox automatically invokes
$ nox -e tests -p py310 ... 62746 passed in 220.43 seconds
Use nox to build the documentation. For example:
$ nox -e docs ... nox > Session docs was successful.
The HTML documentation index can now be found at