1
0

__init__.py 392 B

1234567891011
  1. import os
  2. # Tell PyInstaller where to find hooks provided by this distribution;
  3. # this is referenced by the :ref:`hook registration <hook_registration>`.
  4. # This function returns a list containing only the path to this
  5. # directory, which is the location of these hooks.
  6. # # https://pyinstaller.readthedocs.io/en/stable/hooks.html
  7. def get_hook_dirs():
  8. return [os.path.dirname(__file__)]