ó
_y]c           @   sÒ   d  Z  d d l Z d d l m Z m Z m Z m Z m Z e j j	 d d ƒ Z e e e e e d g k rŒ e d e e e e e f ƒ ‚ n  e d k r­ e e e e g Z n	 e g Z e e ƒ \ Z Z Z Z d S(   sï    A Qt API selector that can be used to switch between PyQt4/5 and PySide.

This uses the ETS 4.0 selection pattern of:
PySide first, PyQt4 (API v2.) second, then PyQt5.

Do not use this if you need PyQt4 with the old QString/QVariant API.
iÿÿÿÿN(   t   load_qtt   QT_API_PYSIDEt   QT_API_PYSIDE2t   QT_API_PYQTt   QT_API_PYQT5t   QT_APIs3   Invalid Qt API %r, valid values are: %r, %r, %r, %r(   t   __doc__t   ost   qtconsole.qt_loadersR    R   R   R   R   t   environt   gett   NoneR   t   RuntimeErrort   api_optst   QtCoret   QtGuit   QtSvg(    (    (    s+   lib/python2.7/site-packages/qtconsole/qt.pyt   <module>   s   (	