hook-scipy.special._ellip_harm_2.py 1.3 KB

123456789101112131415161718192021222324252627282930
  1. #-----------------------------------------------------------------------------
  2. # Copyright (c) 2013-2023, PyInstaller Development Team.
  3. #
  4. # Distributed under the terms of the GNU General Public License (version 2
  5. # or later) with exception for distributing the bootloader.
  6. #
  7. # The full license is in the file COPYING.txt, distributed with this software.
  8. #
  9. # SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception)
  10. #-----------------------------------------------------------------------------
  11. """
  12. Module hook for the `scipy.special._ellip_harm_2` C extension first introduced by SciPy >= 0.15.0.
  13. See Also
  14. ----------
  15. https://github.com/scipy/scipy/blob/master/scipy/special/_ellip_harm_2.pyx
  16. This C extension's Cython-based implementation.
  17. """
  18. # In SciPy >= 0.15.0:
  19. #
  20. # 1. The "scipy.special.__init__" module imports...
  21. # 2. The "scipy.special._ellip_harm" module imports...
  22. # 3. The "scipy.special._ellip_harm_2" C extension imports...
  23. # 4. The "scipy.integrate" package.
  24. #
  25. # The third import is undetectable by PyInstaller and hence explicitly listed. Since "_ellip_harm" and "_ellip_harm_2"
  26. # were first introduced by SciPy 0.15.0, the following hidden import will only be applied for versions of SciPy
  27. # guaranteed to provide these modules and C extensions.
  28. hiddenimports = ['scipy.integrate']