mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 02:35:08 +03:00
13 lines
388 B
Python
13 lines
388 B
Python
|
import site
|
|||
|
import sys
|
|||
|
|
|||
|
# tea considers /usr/local the “πglobal install” location
|
|||
|
# setting this is kinda nuts but brew does the same so
|
|||
|
# we’re 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 isn’t writable
|
|||
|
# this is what it will do
|
|||
|
site.ENABLE_USER_SITE = True
|