CxFreeze/CxfreezeFindPath.py

Wed, 01 Jan 2020 11:58:55 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 01 Jan 2020 11:58:55 +0100
changeset 122
69bc58558b6e
parent 119
da2b54eabed1
child 125
13f16f4e355a
permissions
-rw-r--r--

Updated copyright for 2020.

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

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