djmitche/pynsca — pull request #8 by lesteve (2013-11-24 11:28:24+00:00)
Title: Make pycrypto optional

First thanks a lot for this package it gave us a tremendous boost to be able to use a python package that just works off the shelf.

The last version made pycrypto required even when you are not using 3DES encryption. It is quite easy to move the Crypto import statements (exact same thing as the mcrypt import statement for AES encryption)

This way pynsca can be used in a completely stand-alone way if you are not using encryption.

It doesn't seem like the pycrypto dependency was specified in setup.py. If something else need changing to remove the pycrypto dependency, let me know.