set up Python sys.path from install HOME
set up Python sys.path from install HOME

Necessary to allow system Python to find Python modules installed by Homebrew.

Closes #45076. Fixes #43919. Probably fixes #44813.

davydden/linuxbrew,davydden/linuxbrew,megahall/homebrew,miketheman/homebrew,saketkc/linuxbrew,mactkg/homebrew,nandub/homebrew,joshfriend/homebrew,feelpp/homebrew,scpeters/homebrew,emcrisostomo/homebrew,lvicentesanchez/linuxbrew,quantumsteve/homebrew,alex/homebrew,treyharris/homebrew,ehamberg/homebrew,MoSal/homebrew,Noctem/homebrew,megahall/homebrew,utzig/homebrew,blogabe/homebrew,dgageot/homebrew,hongkongkiwi/homebrew,amjith/homebrew,Homebrew/linuxbrew,mkrapp/homebrew,zhipeng-jia/homebrew,galaxy001/homebrew,jsjohnst/homebrew,treyharris/homebrew,ilovezfs/homebrew,pcottle/homebrew,Red54/homebrew,davidcelis/homebrew,booi/homebrew,brunchboy/homebrew,dongcarl/homebrew,yumitsu/homebrew,keith/homebrew,koraktor/homebrew,arg/homebrew,bchatard/homebrew,kashif/homebrew,nandub/homebrew,gvangool/homebrew,jmagnusson/homebrew,alebcay/homebrew,drbenmorgan/linuxbrew,dplarson/homebrew,xyproto/homebrew,johanhammar/homebrew,kad/homebrew,royhodgman/homebrew,iandennismiller/homebrew,TaylorMonacelli/homebrew,cosmo0920/homebrew,vigo/homebrew,AlexejK/homebrew,Angeldude/linuxbrew,apjanke/homebrew,cchacin/homebrew,gnubila-france/linuxbrew,jedahan/homebrew,hakamadare/homebrew,BrewTestBot/homebrew,arnested/homebrew,princeofdarkness76/homebrew,thinker0/homebrew,afb/homebrew,ge11232002/homebrew,frodeaa/homebrew,dericed/homebrew,arnested/homebrew,youtux/homebrew,sometimesfood/homebrew,davidcelis/homebrew,pdpi/homebrew,jarrettmeyer/homebrew,quantumsteve/homebrew,sferik/homebrew,MoSal/homebrew,cHoco/homebrew,dolfly/homebrew,tseven/homebrew,scpeters/homebrew,jedahan/homebrew,hongkongkiwi/homebrew,felixonmars/homebrew,optikfluffel/homebrew,alebcay/homebrew,jamer/homebrew,cHoco/homebrew,youtux/homebrew,LonnyGomes/homebrew,mactkg/homebrew,lmontrieux/homebrew,Habbie/homebrew,elyscape/homebrew,feelpp/homebrew,base10/homebrew,adamliter/homebrew,influxdata/homebrew,LonnyGomes/homebrew,davydden/linuxbrew,kevinastone/homebrew,jsjohnst/homebrew,vigo/homebrew,reelsense/homebrew,Chilledheart/homebrew,ear/homebrew,dericed/homebrew,iandennismiller/homebrew,okuramasafumi/homebrew,getgauge/homebrew,gvangool/homebrew,dongcarl/homebrew,haihappen/homebrew,Chilledheart/homebrew,totalvoidness/homebrew,petere/homebrew,kevinastone/homebrew,tutumcloud/homebrew,recruit-tech/homebrew,cosmo0920/homebrew,joshfriend/homebrew,pcottle/homebrew,razamatan/homebrew,ExtremeMan/homebrew,bukzor/linuxbrew,xyproto/homebrew,slyphon/homebrew,LinusU/homebrew,jiashuw/homebrew,base10/homebrew,mobileoverlord/homebrew-1,Linuxbrew/linuxbrew,grepnull/homebrew,royhodgman/homebrew,eighthave/homebrew,georgschoelly/homebrew,Homebrew/linuxbrew,redpen-cc/homebrew,jiashuw/homebrew,alex/homebrew,reelsense/linuxbrew,cprecioso/homebrew,SuperNEMO-DBD/cadfaelbrew,danabrand/linuxbrew,scorphus/homebrew,theeternalsw0rd/homebrew,tschoonj/homebrew,dolfly/homebrew,tstack/homebrew,a-b/homebrew,okuramasafumi/homebrew,frodeaa/homebrew,jconley/homebrew,kodabb/homebrew,ebouaziz/linuxbrew,ebouaziz/linuxbrew,sakra/homebrew,iandennismiller/homebrew,utzig/homebrew,ento/homebrew,SteveClement/homebrew,mmizutani/homebrew,gawbul/homebrew,menivaitsi/homebrew,tutumcloud/homebrew,pdxdan/homebrew,influxdata/homebrew,dongcarl/homebrew,tseven/homebrew,gawbul/homebrew,cchacin/homebrew,dutchcoders/homebrew,lvicentesanchez/homebrew,BrewTestBot/homebrew,jamer/homebrew,mkrapp/homebrew,theeternalsw0rd/homebrew,marcwebbie/homebrew,jarrettmeyer/homebrew,bukzor/linuxbrew,utzig/homebrew,reelsense/linuxbrew,Linuxbrew/linuxbrew,jarrettmeyer/homebrew,thinker0/homebrew,a-b/homebrew,gnawhleinad/homebrew,nelstrom/homebrew,liamstask/homebrew,elyscape/homebrew,jconley/homebrew,razamatan/homebrew,cHoco/homebrew,emcrisostomo/homebrew,kodabb/homebrew,ybott/homebrew,joshua-rutherford/homebrew,zeha/homebrew,dickeyxxx/homebrew,esamson/homebrew,alex/homebrew,lrascao/homebrew,manphiz/homebrew,keith/homebrew,getgauge/homebrew,manphiz/homebrew,Homebrew/homebrew,heinzf/homebrew,felixonmars/homebrew,amjith/homebrew,jiashuw/homebrew,scorphus/homebrew,OJFord/homebrew,influxdata/homebrew,cscetbon/homebrew,bigbes/homebrew,elgertam/homebrew,afh/homebrew,filcab/homebrew,dunn/homebrew,josa42/homebrew,drbenmorgan/linuxbrew,max-horvath/homebrew,knpwrs/homebrew,reelsense/homebrew,joshua-rutherford/homebrew,tstack/homebrew,tsaeger/homebrew,heinzf/homebrew,dplarson/homebrew,petere/homebrew,tjschuck/homebrew,LonnyGomes/homebrew,influxdb/homebrew,haihappen/homebrew,tschoonj/homebrew,coldeasy/homebrew,marcwebbie/homebrew,zchee/homebrew,TaylorMonacelli/homebrew,brunchboy/homebrew,heinzf/homebrew,redpen-cc/homebrew,bchatard/homebrew,dericed/homebrew,josa42/homebrew,frickler01/homebrew,chadcatlett/homebrew,totalvoidness/homebrew,megahall/homebrew,xcezx/homebrew,afb/homebrew,gnawhleinad/homebrew,tsaeger/homebrew,base10/homebrew,AlexejK/homebrew,SteveClement/homebrew,Red54/homebrew,AlexejK/homebrew,changzuozhen/homebrew,xyproto/homebrew,booi/homebrew,mactkg/homebrew,cscetbon/homebrew,pdpi/homebrew,iostat/homebrew2,pdpi/homebrew,sakra/homebrew,alebcay/homebrew,pdpi/homebrew,afh/homebrew,davidcelis/homebrew,arg/homebrew,knpwrs/homebrew,reelsense/homebrew,princeofdarkness76/homebrew,Noctem/homebrew,reelsense/linuxbrew,ralic/homebrew,cchacin/homebrew,sometimesfood/homebrew,scpeters/homebrew,jarrettmeyer/homebrew,frodeaa/homebrew,drbenmorgan/linuxbrew,yangj1e/homebrew,coldeasy/homebrew,patrickmckenna/homebrew,drewwells/homebrew,moyogo/homebrew,dalanmiller/homebrew,deorth/homebrew,sferik/homebrew,iandennismiller/homebrew,ralic/homebrew,dkotvan/homebrew,Habbie/homebrew,changzuozhen/homebrew,polishgeeks/homebrew,SteveClement/homebrew,danabrand/linuxbrew,SteveClement/homebrew,tsaeger/homebrew,cchacin/homebrew,saketkc/linuxbrew,afb/homebrew,hyuni/homebrew,influxdb/homebrew,kad/homebrew,johanhammar/homebrew,ento/homebrew,Asuranceturix/homebrew,danieroux/homebrew,dunn/homebrew,recruit-tech/homebrew,kvs/homebrew,michaKFromParis/homebrew-sparks,ear/homebrew,knpwrs/homebrew,zeha/homebrew,blogabe/homebrew,gicmo/homebrew,kenips/homebrew,arnested/homebrew,razamatan/homebrew,Habbie/homebrew,marcusandre/homebrew,Angeldude/linuxbrew,geoff-codes/homebrew,gicmo/homebrew,johanhammar/homebrew,jab/homebrew,jsjohnst/homebrew,bigbes/homebrew,elgertam/homebrew,sjackman/linuxbrew,dutchcoders/homebrew,eighthave/homebrew,menivaitsi/homebrew,liamstask/homebrew,booi/homebrew,scorphus/homebrew,felixonmars/homebrew,theeternalsw0rd/homebrew,vigo/homebrew,ybott/homebrew,AGWA-forks/homebrew,AGWA-forks/homebrew,frickler01/homebrew,ilovezfs/homebrew,ehamberg/homebrew,miketheman/homebrew,recruit-tech/homebrew,slyphon/homebrew,3van/homebrew,optikfluffel/homebrew,esamson/homebrew,polishgeeks/homebrew,codeout/homebrew,gnawhleinad/homebrew,afb/homebrew,dkotvan/homebrew,osimola/homebrew,emcrisostomo/homebrew,lvicentesanchez/linuxbrew,MartinDelille/homebrew,jmagnusson/homebrew,cscetbon/homebrew,zeha/homebrew,amjith/homebrew,georgschoelly/homebrew,skinny-framework/homebrew,Asuranceturix/homebrew,ehamberg/homebrew,arg/homebrew,georgschoelly/homebrew,changzuozhen/homebrew,kenips/homebrew,yangj1e/homebrew,vihangm/homebrew,chadcatlett/homebrew,drewwells/homebrew,DoomHammer/linuxbrew,nandub/homebrew,haihappen/homebrew,kad/homebrew,zchee/homebrew,dalanmiller/homebrew,sferik/homebrew,mmizutani/homebrew,skatsuta/homebrew,ablyler/homebrew,mmizutani/homebrew,BrewTestBot/homebrew,menivaitsi/homebrew,apjanke/homebrew,xyproto/homebrew,influxdata/homebrew,Noctem/homebrew,theeternalsw0rd/homebrew,recruit-tech/homebrew,danabrand/linuxbrew,kevinastone/homebrew,jconley/homebrew,zhipeng-jia/homebrew,LinusU/homebrew,muellermartin/homebrew,zchee/homebrew,retrography/homebrew,royhodgman/homebrew,bchatard/homebrew,Cutehacks/homebrew,tjschuck/homebrew,vihangm/homebrew,arnested/homebrew,xcezx/homebrew,geoff-codes/homebrew,koraktor/homebrew,chadcatlett/homebrew,gicmo/homebrew,dutchcoders/homebrew,mobileoverlord/homebrew-1,vihangm/homebrew,sometimesfood/homebrew,hakamadare/homebrew,nelstrom/homebrew,marcusandre/homebrew,yangj1e/homebrew,retrography/homebrew,adamliter/homebrew,benjaminfrank/homebrew,lmontrieux/homebrew,LonnyGomes/homebrew,jeremiahyan/homebrew,thinker0/homebrew,decors/homebrew,teslamint/homebrew,geoff-codes/homebrew,scpeters/homebrew,davydden/linuxbrew,totalvoidness/homebrew,zchee/homebrew,gnubila-france/linuxbrew,danieroux/homebrew,josa42/homebrew,feelpp/homebrew,sometimesfood/homebrew,dickeyxxx/homebrew,ear/homebrew,hanxue/homebrew,jmagnusson/homebrew,zhipeng-jia/homebrew,hongkongkiwi/homebrew,cprecioso/homebrew,xcezx/homebrew,moyogo/homebrew,mobileoverlord/homebrew-1,joshua-rutherford/homebrew,Homebrew/homebrew,kashif/homebrew,polishgeeks/homebrew,yumitsu/homebrew,deorth/homebrew,blogabe/homebrew,decors/homebrew,apjanke/homebrew,eighthave/homebrew,afh/homebrew,a-b/homebrew,redpen-cc/homebrew,dickeyxxx/homebrew,kenips/homebrew,ilovezfs/homebrew,hyuni/homebrew,ge11232002/homebrew,marcusandre/homebrew,Noctem/homebrew,yangj1e/homebrew,ralic/homebrew,changzuozhen/homebrew,ybott/homebrew,gvangool/homebrew,ilovezfs/homebrew,dolfly/homebrew,brunchboy/homebrew,saketkc/linuxbrew,pdxdan/homebrew,hakamadare/homebrew,Red54/homebrew,frodeaa/homebrew,bigbes/homebrew,johanhammar/homebrew,elgertam/homebrew,patrickmckenna/homebrew,hanxue/homebrew,DoomHammer/linuxbrew,retrography/homebrew,OJFord/homebrew,dalanmiller/homebrew,base10/homebrew,ento/homebrew,ablyler/homebrew,emcrisostomo/homebrew,patrickmckenna/homebrew,Gasol/homebrew,coldeasy/homebrew,AlexejK/homebrew,dolfly/homebrew,SuperNEMO-DBD/cadfaelbrew,moyogo/homebrew,Gasol/homebrew,koraktor/homebrew,kashif/homebrew,princeofdarkness76/homebrew,teslamint/homebrew,esamson/homebrew,ExtremeMan/homebrew,tstack/homebrew,adamliter/homebrew,dkotvan/homebrew,Homebrew/linuxbrew,yazuuchi/homebrew,AGWA-forks/homebrew,zeha/homebrew,benjaminfrank/homebrew,MoSal/homebrew,gawbul/homebrew,tschoonj/homebrew,galaxy001/homebrew,sjackman/linuxbrew,MartinDelille/homebrew,Homebrew/linuxbrew,ryanfb/homebrew,cprecioso/homebrew,marcwebbie/homebrew,skinny-framework/homebrew,jeremiahyan/homebrew,retrography/homebrew,codeout/homebrew,ear/homebrew,getgauge/homebrew,MartinDelille/homebrew,frickler01/homebrew,nandub/homebrew,jeremiahyan/homebrew,utzig/homebrew,felixonmars/homebrew,apjanke/homebrew,knpwrs/homebrew,dkotvan/homebrew,jab/homebrew,vigo/homebrew,benjaminfrank/homebrew,BrewTestBot/homebrew,MartinDelille/homebrew,cosmo0920/homebrew,Cutehacks/homebrew,jmagnusson/homebrew,davidcelis/homebrew,teslamint/homebrew,optikfluffel/homebrew,kashif/homebrew,max-horvath/homebrew,mkrapp/homebrew,DoomHammer/linuxbrew,a-b/homebrew,muellermartin/homebrew,grepnull/homebrew,tschoonj/homebrew,okuramasafumi/homebrew,marcusandre/homebrew,dericed/homebrew,petere/homebrew,teslamint/homebrew,youtux/homebrew,cosmo0920/homebrew,dutchcoders/homebrew,jiashuw/homebrew,LinusU/homebrew,afh/homebrew,dalanmiller/homebrew,saketkc/linuxbrew,max-horvath/homebrew,adamliter/homebrew,sakra/homebrew,ryanfb/homebrew,lmontrieux/homebrew,Homebrew/homebrew,influxdb/homebrew,georgschoelly/homebrew,hyuni/homebrew,coldeasy/homebrew,manphiz/homebrew,TaylorMonacelli/homebrew,jedahan/homebrew,skatsuta/homebrew,gvangool/homebrew,ebouaziz/linuxbrew,elyscape/homebrew,Angeldude/linuxbrew,jamer/homebrew,manphiz/homebrew,keith/homebrew,hakamadare/homebrew,hanxue/homebrew,dongcarl/homebrew,heinzf/homebrew,skatsuta/homebrew,Gasol/homebrew,hongkongkiwi/homebrew,eighthave/homebrew,Cutehacks/homebrew,hanxue/homebrew,Red54/homebrew,treyharris/homebrew,marcwebbie/homebrew,joshfriend/homebrew,filcab/homebrew,yazuuchi/homebrew,arg/homebrew,max-horvath/homebrew,muellermartin/homebrew,dgageot/homebrew,lvicentesanchez/homebrew,brunchboy/homebrew,kvs/homebrew,slyphon/homebrew,danieroux/homebrew,grepnull/homebrew,Chilledheart/homebrew,mobileoverlord/homebrew-1,petere/homebrew,3van/homebrew,redpen-cc/homebrew,pcottle/homebrew,danabrand/linuxbrew,codeout/homebrew,lvicentesanchez/linuxbrew,jeremiahyan/homebrew,AGWA-forks/homebrew,decors/homebrew,thinker0/homebrew,Habbie/homebrew,sjackman/linuxbrew,bigbes/homebrew,drewwells/homebrew,lrascao/homebrew,galaxy001/homebrew,TaylorMonacelli/homebrew,cprecioso/homebrew,ablyler/homebrew,3van/homebrew,sferik/homebrew,ento/homebrew,osimola/homebrew,amjith/homebrew,dickeyxxx/homebrew,drewwells/homebrew,ge11232002/homebrew,Asuranceturix/homebrew,menivaitsi/homebrew,codeout/homebrew,kenips/homebrew,kvs/homebrew,Linuxbrew/linuxbrew,zhipeng-jia/homebrew,pcottle/homebrew,MoSal/homebrew,skatsuta/homebrew,nelstrom/homebrew,lvicentesanchez/homebrew,kvs/homebrew,danieroux/homebrew,sjackman/linuxbrew,3van/homebrew,mactkg/homebrew,nelstrom/homebrew,ablyler/homebrew,pdxdan/homebrew,gnawhleinad/homebrew,gnubila-france/linuxbrew,keith/homebrew,haihappen/homebrew,lvicentesanchez/homebrew,ebouaziz/linuxbrew,skinny-framework/homebrew,mmizutani/homebrew,royhodgman/homebrew,patrickmckenna/homebrew,getgauge/homebrew,reelsense/homebrew,LinusU/homebrew,Linuxbrew/linuxbrew,lmontrieux/homebrew,bukzor/linuxbrew,dunn/homebrew,DoomHammer/linuxbrew,vihangm/homebrew,hyuni/homebrew,Chilledheart/homebrew,tseven/homebrew,miketheman/homebrew,bchatard/homebrew,SteveClement/homebrew,ryanfb/homebrew,elyscape/homebrew,princeofdarkness76/homebrew,tjschuck/homebrew,scorphus/homebrew,jedahan/homebrew,osimola/homebrew,jconley/homebrew,kodabb/homebrew,optikfluffel/homebrew,geoff-codes/homebrew,polishgeeks/homebrew,totalvoidness/homebrew,tjschuck/homebrew,youtux/homebrew,influxdb/homebrew,quantumsteve/homebrew,ralic/homebrew,Angeldude/linuxbrew,cHoco/homebrew,yazuuchi/homebrew,galaxy001/homebrew,jamer/homebrew,tutumcloud/homebrew,miketheman/homebrew,dgageot/homebrew,frickler01/homebrew,xcezx/homebrew,tseven/homebrew,tstack/homebrew,deorth/homebrew,Homebrew/homebrew,dplarson/homebrew,bukzor/linuxbrew,pdxdan/homebrew,tutumcloud/homebrew,lrascao/homebrew,slyphon/homebrew,liamstask/homebrew,yumitsu/homebrew,yazuuchi/homebrew,benjaminfrank/homebrew,pcottle/homebrew,iostat/homebrew2,blogabe/homebrew,SuperNEMO-DBD/cadfaelbrew,Cutehacks/homebrew,iostat/homebrew2,michaKFromParis/homebrew-sparks,okuramasafumi/homebrew,Asuranceturix/homebrew,OJFord/homebrew,elgertam/homebrew,quantumsteve/homebrew,iostat/homebrew2,sakra/homebrew,Gasol/homebrew,ryanfb/homebrew,ExtremeMan/homebrew,kodabb/homebrew,ybott/homebrew,jab/homebrew,SuperNEMO-DBD/cadfaelbrew,ge11232002/homebrew,michaKFromParis/homebrew-sparks,filcab/homebrew,skinny-framework/homebrew,esamson/homebrew,jab/homebrew,treyharris/homebrew,jsjohnst/homebrew,kad/homebrew,alebcay/homebrew,feelpp/homebrew,liamstask/homebrew,Asuranceturix/homebrew,razamatan/homebrew,alex/homebrew,drbenmorgan/linuxbrew,ehamberg/homebrew,dunn/homebrew,reelsense/linuxbrew,gnubila-france/linuxbrew,kevinastone/homebrew,ExtremeMan/homebrew,lvicentesanchez/linuxbrew,megahall/homebrew,dplarson/homebrew,osimola/homebrew,joshua-rutherford/homebrew,OJFord/homebrew,dgageot/homebrew,filcab/homebrew,muellermartin/homebrew,koraktor/homebrew,gicmo/homebrew,moyogo/homebrew,decors/homebrew,tsaeger/homebrew,grepnull/homebrew