def get_crypto_hiddenimports():
 try:
  modname = 'Crypto.Cipher._AES'
  import_aes(modname)
 except ImportError:
  modname = 'Crypto.Cipher.AES'
  import_aes(modname)
 return modname

def get_crypto_hiddenimports ( ) : try : modname = 'Crypto.Cipher._AES' import_aes ( modname ) except ImportError : modname = 'Crypto.Cipher.AES' import_aes ( modname ) return modname
these module names are appended to the pyinstaller analysis phase .