hook-boto3.py 999 B

1234567891011121314151617181920212223242526272829
  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. # Boto is the Amazon Web Services (AWS) SDK for Python, which allows Python
  14. # developers to write software that makes use of Amazon services like S3 and
  15. # EC2. Boto provides an easy to use, object-oriented API as well as low-level
  16. # direct service access.
  17. #
  18. # http://boto3.readthedocs.org/en/latest/
  19. #
  20. # Tested with boto3 1.2.1
  21. from PyInstaller.utils.hooks import collect_data_files, collect_submodules
  22. hiddenimports = (
  23. collect_submodules('boto3.dynamodb') +
  24. collect_submodules('boto3.ec2') +
  25. collect_submodules('boto3.s3')
  26. )
  27. datas = collect_data_files('boto3')