Utilities/GetSysPath.py

Wed, 17 Oct 2018 19:53:13 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 17 Oct 2018 19:53:13 +0200
changeset 6547
77c817301ca1
parent 6544
51996454f89f
child 6645
ad476851d7e0
permissions
-rw-r--r--

CreateDialogCodeDialog: third attempt on getting this working with projects using a virtual environment different from the one used to run eric.

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

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

"""
Module to get sys.path of an external interpreter.
"""

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