pantry/projects/python.org/sitecustomize.py
2023-03-20 16:08:47 -04:00

13 lines
477 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 `sys.prefix` is kinda nuts but brew does the same
# so were assuming they vetted all options
# sys.prefix = "/usr/local"
# ^^ undid this because it broke `python -m venv` installing pip for some reason
# 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