UtilitiesPython2/PySideImporter.py

Sun, 13 Apr 2014 17:29:48 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 13 Apr 2014 17:29:48 +0200
changeset 3507
b09e10d4f343
parent 3160
209a07d7e401
permissions
-rw-r--r--

Changed the install script to accept a '-n' option to set the name of the directory where the Mac application bundle should be created in.

# -*- 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