hook-vtkpython.py 949 B

12345678910111213141516171819202122232425
  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. import os
  13. if os.name == 'posix':
  14. hiddenimports = [
  15. 'libvtkCommonPython', 'libvtkFilteringPython', 'libvtkIOPython',
  16. 'libvtkImagingPython', 'libvtkGraphicsPython', 'libvtkRenderingPython',
  17. 'libvtkHybridPython', 'libvtkParallelPython', 'libvtkPatentedPython'
  18. ]
  19. else:
  20. hiddenimports = [
  21. 'vtkCommonPython', 'vtkFilteringPython', 'vtkIOPython',
  22. 'vtkImagingPython', 'vtkGraphicsPython', 'vtkRenderingPython',
  23. 'vtkHybridPython', 'vtkParallelPython', 'vtkPatentedPython'
  24. ]