hook-celpy.py 979 B

123456789101112131415161718192021222324
  1. # ------------------------------------------------------------------
  2. # Copyright (c) 2024 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. # cel-python is Pure Python implementation of Google Common Expression Language,
  14. # https://opensource.google/projects/cel
  15. # This implementation has minimal dependencies, runs quickly, and can be embedded into Python-based applications.
  16. # Specifically, the intent is to be part of Cloud Custodian, C7N, as part of the security policy filter.
  17. # https://github.com/cloud-custodian/cel-python
  18. #
  19. # Tested with cel-python 0.1.5
  20. from PyInstaller.utils.hooks import collect_data_files
  21. # Collect *.lark file(s) from the package
  22. datas = collect_data_files('celpy')