σ οRec@@s«dZddlmZddlZddlZddlZddlZddlZddlZddl mZ ddl m Z ddl m ZddlmZddlmZdd lmZdd lmZmZdd lmZerdd lmZmZmZmZdd lm Z!nej"dƒZ#d„Z$d„Z%ej&dƒZ'ej(ƒj)ƒdkrve j*ƒZ'nyej+ƒZ,Wne-k r’ej.Z,nXerej/j0ej1dƒZ2ej/j0e,dƒZ3ej/j4e2ƒswej/j0ej1dƒZ2ej/j0e,dƒZ3qwn\ej/j0ej1dƒZ2ej/j0e,dƒZ3ejd dkrwej1d dkrwdZ2ne5dde5dd„Z7e5dde5dd„Z8dS(s7Locations where we look for configs, install stuff, etci(tabsolute_importN(t sysconfig(t SCHEME_KEYS(tinstall(tScheme(tappdirs(tWINDOWS(tMYPY_CHECK_RUNNINGtcast(trunning_under_virtualenv(tDicttListtOptionaltUnion(tCommandtpipcC@sdjtjŒS(se Return the major-minor version of the current Python as a string, e.g. "3.7" or "3.10". s{}.{}(tformattsyst version_info(((s†/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/locations.pytget_major_minor_version"scC@sttƒr$tjjtjdƒ}n@ytjjtjƒdƒ}Wntk rctjdƒnXtjj |ƒS(Ntsrcs=The folder you are executing pip from can no longer be found.( R tostpathtjoinRtprefixtgetcwdtOSErrortexittabspath(t src_prefix((s†/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/locations.pytget_src_prefix+s   tpurelibtpypytScriptstbinitdarwinis/System/Library/s/usr/local/bincC@s4ddlm}i|d6}|r3dg|dsX      "   & A