CxFreeze/CxfreezeFindPath.py

Tue, 28 Mar 2017 19:20:24 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 28 Mar 2017 19:20:24 +0200
changeset 102
78d1632d4b83
parent 97
72426624feb0
child 106
3bd158b161f1
permissions
-rw-r--r--

Fixed some code style issues.

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

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

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

from __future__ import unicode_literals

import os
import sys

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

eric ide

mercurial