‹“ReEã@sƒdZddlmZddlZddlmZddlmZerXddl m Z dd„Z d d d „Z d d „Z dS)zù This code wraps the vendored appdirs module to so the return values are compatible for the current pip code base. The intention is to rewrite current usages gradually, keeping the tests pass, and eventually drop this after all usages are changed. é)Úabsolute_importN)Úappdirs)ÚMYPY_CHECK_RUNNING)ÚListcCstj|ddƒS)NÚ appauthorF)Ú_appdirsÚuser_cache_dir)Úappname©r úŠ/builddir/build/BUILDROOT/alt-python35-pip-20.2.4-5.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/pip/_internal/utils/appdirs.pyrsrTcCsntj|ddd|ƒ}tjdkrjtjj|ƒ rjtjjdƒ}|rjtjj||ƒ}|S)NrFÚroamingÚdarwinz ~/.config/)rÚuser_config_dirÚsystemÚosÚpathÚisdirÚ expanduserÚjoin)r r rr r r rs "rcCsHtj|ddddƒ}tjdkrA|jtjƒdgS|gS) NrFÚ multipathTÚwin32r z/etc)rr )rÚsite_config_dirrÚsplitrÚpathsep)r Údirvalr r r Úsite_config_dirs&sr)Ú__doc__Ú __future__rrÚ pip._vendorrrÚpip._internal.utils.typingrÚtypingrrrrr r r r Ús