CxFreeze/CxfreezeFindPath.py

Fri, 01 Jan 2016 12:18:56 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 01 Jan 2016 12:18:56 +0100
changeset 85
336e603959a9
parent 84
6320806ee9d6
child 97
72426624feb0
permissions
-rw-r--r--

Updated copyright for 2016.

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

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

"""
Script to find the cxfreeze directory from running Python interpreter.
"""

import os
import sys

for sysPath in sys.path:
    modpath = os.path.join(sysPath, "cx_Freeze")
    if os.path.exists(modpath):
        print(modpath)
        break

eric ide

mercurial