pantry/projects/python.org/sitecustomize.py

14 lines
477 B
Python
Raw Normal View History

import site
import sys
2023-03-20 16:10:55 +03:00
# 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