CxFreeze/CxfreezeFindPath.py

Sun, 07 Jul 2013 20:40:48 +0200

author
T.Rzepka <Tobias.Rzepka@gmail.com>
date
Sun, 07 Jul 2013 20:40:48 +0200
changeset 47
986f27beaad4
child 66
8b8127353236
permissions
-rw-r--r--

Py2 compatibility, freeze script based on project language, filedialog for icons, some PEP8.
For complete list see ChangeLog

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

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