pantry/projects/python.org/sitecustomize.py

13 lines
388 B
Python
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import site
import sys
# tea considers /usr/local the “πglobal install” location
# setting this is kinda nuts but brew does the same so
# were assuming they vetted all options
sys.prefix = "/usr/local"
# enable automatic user installs if pip makes the decision
# that this is good idea. eg. if /usr/local isnt writable
# this is what it will do
site.ENABLE_USER_SITE = True