CxFreeze/CxfreezeFindPath.py

changeset 102
78d1632d4b83
parent 97
72426624feb0
child 106
3bd158b161f1
equal deleted inserted replaced
101:20f85736a29f 102:78d1632d4b83
5 5
6 """ 6 """
7 Script to find the cxfreeze directory from running Python interpreter. 7 Script to find the cxfreeze directory from running Python interpreter.
8 """ 8 """
9 9
10 from __future__ import unicode_literals
11
10 import os 12 import os
11 import sys 13 import sys
12 14
13 for sysPath in sys.path: 15 for sysPath in sys.path:
14 modpath = os.path.join(sysPath, "cx_Freeze") 16 modpath = os.path.join(sysPath, "cx_Freeze")
15 if os.path.exists(modpath): 17 if os.path.exists(modpath):
16 print(modpath) 18 print(modpath) # __IGNORE_WARNING_M801__
17 break 19 break

eric ide

mercurial