Utilities/GetSysPath.py

Sat, 13 Oct 2018 14:08:21 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 13 Oct 2018 14:08:21 +0200
changeset 6544
51996454f89f
child 6547
77c817301ca1
permissions
-rw-r--r--

CreateDialogCodeDialog: extended the logic to support projects loading custom widgets from outside the eric or project directories (via a virtual environment).

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

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

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

from __future__ import print_function

import sys
import json

if __name__ == "__main__":
    # print sys.path to stdout
    print(json.dumps(sys.path))
    
    sys.exit(0)
    
#
# eflag: noqa = M701, M801

eric ide

mercurial