we74UddlmZddlZddlZddlZddlZddlZddlmZddl m Z ddl m Z e j dZejdZded <dd ZddZddZ ejZded<n#e$r ejZYnwxYwejddZdS)) annotationsN)InstallationError)appdirs)running_under_virtualenvpippurelibstr site_packagesreturnc*djtjS)ze Return the major-minor version of the current Python as a string, e.g. "3.7" or "3.10". z{}.{})formatsys version_infon/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/pip/_internal/locations/base.pyget_major_minor_versionrs 7>3+ ,,rnew_rootpathnamectjdkrgtj|s tj||Stj||ddStjdkrXtj|\}}|ddkr |dd}tj||St dtjd) aQReturn 'pathname' with 'new_root' prepended. If 'pathname' is relative, this is equivalent to os.path.join(new_root, pathname). Otherwise, it requires making 'pathname' relative and then joining the two, which is tricky on DOS/Windows and Mac OS. This is borrowed from Python's standard library's distutils module. posixNntr\zUnknown platform: z5 Can not change root path prefix on unknown platform.)osnamepathisabsjoin splitdriver)rrdrivers r change_rootr"s w'w}}X&& 87<<(33 37<<(122,77 7 D**844  7d??8Dw||Hd+++  C C C C   rc`tr+tjtjd}nW tjtjd}n$#t$rt jdYnwxYwtj |S)Nsrcz=The folder you are executing pip from can no longer be found.) rrrrrprefixgetcwdOSErrorexitabspath) src_prefixs rget_src_prefixr+8s!!VW\\#*e44  Vbikk599JJ V V V HT U U U U U V 7??: & &&s1A--B Bz str | None user_siteboolcDttjdS)NPYTHONFRAMEWORK)r- sysconfigget_config_varrrris_osx_frameworkr2Ps  ():;; < <rAsk""""""" 666666''''''CCCCCC('..(Y' 22 2222----    8 ' ' ' ' 5D466I66666III ======s A55 BB