
    JPh	              
       x   d Z ddlZddlZddlmZ ddlmZ g Zg dZ	 eD ]  Z	ej                  j                   ee	            ZeD ]e  Z ej                  ej                  j                  edez              ZeD ]/  Zej#                  ee	j%                  dej&                        f       1 g  y# e$ r Y yw xY w)av  
Hook for PyCryptodome library: https://pypi.python.org/pypi/pycryptodome

PyCryptodome is an almost drop-in replacement for the now unmaintained
PyCrypto library. The two are mutually exclusive as they live under
the same package ("Crypto").

PyCryptodome distributes dynamic libraries and builds them as if they were
Python C extensions (even though they are not extensions - as they can't be
imported by Python). It might sound a bit weird, but this decision is rooted
in PyPy and its partial and slow support for C extensions. However, this also
invalidates several of the existing methods used by PyInstaller to decide the
right files to pull in.

Even though this hook is meant to help with PyCryptodome only, it will be
triggered also when PyCrypto is installed, so it must be tested with both.

Tested with PyCryptodome 3.5.1, PyCrypto 2.6.1, Python 2.7 & 3.6, Fedora & Windows
    N)EXTENSION_SUFFIXES)get_module_file_attribute)zCrypto.MathzCrypto.CipherzCrypto.UtilzCrypto.HashzCrypto.ProtocolzCrypto.PublicKeyz_*%s.)__doc__osglobPyInstaller.compatr   PyInstaller.utils.hooksr   binariesbinary_module_namesmodule_namepathdirnamem_dirextjoin
module_binfappendreplacesepImportError     /mnt/c/Users/Administrator/Desktop/help_/test_env/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-Crypto.py<module>r      s   ( 
  1 =  		* G 9+ FG% 	GC"277<<v|#DEJ GK$7$7RVV$D EFG	GG  		s   BB1 1B98B9