pantry/projects/python.org/sitecustomize.py
Jacob Heider 446534afbe
+python2 (#2126)
* +python2

* at least a few tests working

* clean up semverator dep
2023-06-16 15:51:31 -04:00

14 lines
468 B
Python

import site
import sys
# tea considers /usr/local the "global install" location
# setting `sys.prefix` is kinda nuts but brew does the same
# so we're 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 isn't writable
# this is what it will do
site.ENABLE_USER_SITE = True