hook-anyio.py 652 B

12345678910111213141516171819
  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. AnyIO contains a number of back-ends as dynamically imported modules.
  14. This hook was tested against AnyIO v1.4.0.
  15. """
  16. from PyInstaller.utils.hooks import collect_submodules
  17. hiddenimports = collect_submodules('anyio._backends')