guetzli-recursively-gui/.eggs/py2app-0.12-py3.6.egg/py2app/bootstrap/system_path_extras.py

10 lines
280 B
Python
Raw Normal View History

2017-04-20 00:57:59 +02:00
""" Add Apple's additional packages to sys.path """
def add_system_python_extras():
import site, sys
ver = '%s.%s'%(sys.version_info[:2])
site.addsitedir('/System/Library/Frameworks/Python.framework/Versions/%s/Extras/lib/python'%(ver,))
add_system_python_extras()