##// END OF EJS Templates
Allow docs to build without PyQt installed....
Allow docs to build without PyQt installed. PyQt/PySide is needed to list the config options for the Qt console. But some environments and contributors may not have it, and it's not always easy to install. This prints a warning and skips the list of Qt console options if the import fails.

File last commit:

r13347:54891794
r13758:d3da4b03
Show More
__init__.py
5 lines | 98 B | text/x-python | PythonLexer
try:
import pexpect
from pexpect import *
except ImportError:
from ._pexpect import *