CxFreeze/CxfreezeFindPath.py

Sat, 31 Dec 2022 16:27:46 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 31 Dec 2022 16:27:46 +0100
branch
eric7
changeset 144
b70e8a0c5a91
parent 139
4df5e67b084b
child 145
c423d46df27e
permissions
-rw-r--r--

Updated copyright for 2023.

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

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

eric ide

mercurial