eric6/Utilities/GetSysPath.py

Sun, 14 Apr 2019 15:09:21 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 14 Apr 2019 15:09:21 +0200
changeset 6942
2602857055c5
parent 6645
Utilities/GetSysPath.py@ad476851d7e0
child 7360
9190402e4505
permissions
-rw-r--r--

Major restructuring of the source tree to get prepared for a setup.py based installation.

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

# Copyright (c) 2011 - 2019 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