()
| 164 | |
| 165 | |
| 166 | def _default_pex_root(): |
| 167 | # type: () -> str |
| 168 | |
| 169 | # N.B.: We need lazy import gymnastics here since cache uses appdirs which is pex.third_party |
| 170 | # and the pex.third_party mechanism uses ENV.PEX_VERBOSE indirectly via TRACER to log certain |
| 171 | # third party import lifecycle events. |
| 172 | from pex.cache import root as cache_root |
| 173 | |
| 174 | return cache_root.path(expand_user=True) |
| 175 | |
| 176 | |
| 177 | class Variables(object): |