guetzli-recursively-gui/.eggs/py2app-0.12-py3.6.egg/py2app/bootstrap/semi_standalone_path.py
2017-04-20 00:57:59 +02:00

12 lines
431 B
Python

def _update_path():
import os, sys
resources = os.environ['RESOURCEPATH']
sys.path.append(os.path.join(
resources, 'lib', 'python%d.%d'%(sys.version_info[:2]), 'lib-dynload'))
sys.path.append(os.path.join(
resources, 'lib', 'python%d.%d'%(sys.version_info[:2])))
sys.path.append(os.path.join(
resources, 'lib', 'python%d.%d'%(sys.version_info[:2]), 'site-packages.zip'))
_update_path()