
    JPhi                         d Z ddlmZmZ ddlmZmZ ddlZddlZd Z	erdgZ
n	erdgZ
ndgZ
e
 e	       z  Z
er	 ed	      Zyy)
z
Hook for PyOpenGL 3.x versions from 3.0.0b6 up. Previous versions have a
plugin system based on pkg_resources which is problematic to handle correctly
under pyinstaller; 2.x versions used to run fine without hooks, so this one
shouldn't hurt.
    )is_win	is_darwin)collect_data_filesexec_statementNc                  T   d} t        |       }t        j                  j                  |d      }t	        j                  |dz         }g }|D ][  }t        j                  j                  t        j                  j                  |            d   }|dk(  rH|j                  d|z          ] |S )zV
    Return list of array modules for OpenGL module.
    e.g. 'OpenGL.arrays.vbo'
    z(import OpenGL; print(OpenGL.__path__[0])arraysz/*.pyr   __init__zOpenGL.arrays.)r   ospathjoinglobsplitextbasenameappend)	statementopengl_mod_patharrays_mod_pathfilesmodulesfmods          /mnt/c/Users/Administrator/Desktop/help_/test_env/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks/hook-OpenGL.pyopengl_arrays_modulesr      s    
 ;I$Y/Oggll?H=OIIo/0EG /ggrww//23A6*'#-./ N    zOpenGL.platform.win32zOpenGL.platform.darwinzOpenGL.platform.glxOpenGL)__doc__PyInstaller.compatr   r   PyInstaller.utils.hooksr   r   r
   r   r   hiddenimportsdatas r   r   <module>r"      sc    1 F 	 . 
,-M-.M ++M &( ( 
x(E 
r   