o
    c                     @   s   d dl mZ d dlZd dlZd dlmZ edd ddD ZdZ	d	Z
d
d Zdd Ze  zd dlZW n	 ey>   Y nw d dlZdS )    )print_functionN)dedentc                 c   s    | ]}d | V  qdS )QtN ).0bodyr   r   TG:\Development\the-witcher-3-mod-manager\.venv\lib\site-packages\PySide2\__init__.py	<genexpr>   s    r	   a  Core;Gui;Widgets;PrintSupport;Sql;Network;Test;Concurrent;WinExtras;Xml;XmlPatterns;Help;Multimedia;MultimediaWidgets;OpenGL;OpenGLFunctions;Positioning;Location;Qml;Quick;QuickControls2;QuickWidgets;RemoteObjects;Scxml;Script;ScriptTools;Sensors;SerialPort;TextToSpeech;Charts;Svg;DataVisualization;UiTools;AxContainer;WebChannel;WebEngineCore;WebEngine;WebEngineWidgets;WebSockets;3DCore;3DRender;3DInput;3DLogic;3DAnimation;3DExtras;z5.15.2.1)      g @ r   c                 C   s   t j| }|drg S t j|d}t j|r|gS t jt j|dd}t j|s5t|d |t j|dg}t jd	dD ]}|r^t j
t j|dr^||  |S qG|S )	Nz.zip	shiboken2libshibokenz does not exist	libpysidePATHr
   z	qmake.exe)ospathdirnameendswithjoinisdirImportErrorenvirongetsplitexistsappend)package_dirrootr   resultr   r   r   r   _additional_dll_directories   s$   

 r!   c               	   C   s  t jt jt} tjdkr)tjd dkr)tjd dkr)t| D ]}t 	| q!zdd l
}W n tyG   dtj}td|tjd  w zt  W n tyg   ttd	jdd
dit tjd  w tjdkr| t j t jd  t jd< t j| d}t j|rt jd }z1|t j | t jd< zddlm} W n	 ty   Y nw |j  W |t jd< d S W |t jd< d S |t jd< w d S d S )Nwin32r            z, z7PySide2/__init__.py: Unable to import shiboken2 from {})filea6              {stars}
            PySide2/__init__.py: The `signature` module was not initialized.
            This libshiboken module was loaded from

            "{shiboken2.__file__}".

            Please make sure that this is the real shiboken2 binary and not just a folder.
            {stars}
            starszO*******************************************************************************r   openssl)	QtNetworkr   )r   r   abspathr   __file__sysplatformversion_infor!   add_dll_directoryr   	Exceptionr   printformatstderr_init_pyside_extensionAttributeErrorr   localspathsepr   r   r   r)   r   
QSslSocketsupportsSsl)pyside_package_dirdirr   pathsopenssl_dirr   r)   r   r   r   _setupQtDirectories$   sZ   &

				


r>   )
__future__r   r   r,   textwrapr   listr   __all____version____version_info__r!   r>   PySide2._cx_freeze_resourcePySide2r   ZPySide2._cx_freeze_qt_debugr   r   r   r   <module>   s&    G