Utilities/PySideImporter.py

Sat, 05 Jul 2014 11:41:14 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 05 Jul 2014 11:41:14 +0200
changeset 3669
ac84ac3c0f05
parent 3178
f25fc1364c88
child 4021
195a471c327b
permissions
-rw-r--r--

Continued renaming eric5 for PyQt5 to eric6.

# -*- coding: utf-8 -*-

# Copyright (c) 2011 - 2014 Detlev Offenbach <detlev@die-offenbachs.de>
#

"""
Module to check for the presence of PySide by importing it.
"""

import sys

if __name__ == "__main__":
    try:
        import PySide       # __IGNORE_EXCEPTION__ __IGNORE_WARNING__
        ret = 0
    except ImportError:
        ret = 1
    
    sys.exit(ret)
    
#
# eflag: FileType = Python2

eric ide

mercurial