hook-ncclient.py 862 B

1234567891011121314151617181920212223
  1. # ------------------------------------------------------------------
  2. # Copyright (c) 2020 PyInstaller Development Team.
  3. #
  4. # This file is distributed under the terms of the GNU General Public
  5. # License (version 2.0 or later).
  6. #
  7. # The full license is available in LICENSE, distributed with
  8. # this software.
  9. #
  10. # SPDX-License-Identifier: GPL-2.0-or-later
  11. # ------------------------------------------------------------------
  12. """
  13. Hook for ncclient. ncclient is a Python library that facilitates client-side
  14. scripting and application development around the NETCONF protocol.
  15. https://pypi.python.org/pypi/ncclient
  16. This hook was tested with ncclient 0.4.3.
  17. """
  18. from PyInstaller.utils.hooks import collect_submodules
  19. # Modules 'ncclient.devices.*' are dynamically loaded and PyInstaller
  20. # is not able to find them.
  21. hiddenimports = collect_submodules('ncclient.devices')