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 |