diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-01-03 15:08:45 -0800 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-01-03 15:08:45 -0800 |
commit | 4969751fde0ef09cd72c738a80c32851c1b1f21d (patch) | |
tree | 11f3b8674b0ade1d582be4693f22f5b554bd536c | |
parent | 327742c8e6271e2b6d809e891bd8e518b89994d9 (diff) | |
download | cryptography-4969751fde0ef09cd72c738a80c32851c1b1f21d.tar.gz cryptography-4969751fde0ef09cd72c738a80c32851c1b1f21d.tar.bz2 cryptography-4969751fde0ef09cd72c738a80c32851c1b1f21d.zip |
Explanatory comment
-rw-r--r-- | setup.py | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -33,6 +33,15 @@ requirements = [ class cffi_build(build): + """ + This class exists, instead of just providing ``ext_modules=[...]`` directly + in ``setup()`` because importing cryptography requires we have several + packages installed first. + + By doing the imports here we ensure that packages listed in + ``setup_requires`` are already installed. + """ + def finalize_options(self): from cryptography.hazmat.bindings.openssl.binding import Binding from cryptography.hazmat.primitives import constant_time, padding |