\bg rUddlZddlZddlZddlZddlZddlZddlmZddlm Z ddl m Z e j dZ ejdZeed<defd Zd ed edefd Zdefd Z ejZejeed<n#e$r ejZYnwxYwejddefdZdS)N)InstallationError)appdirs)running_under_virtualenvpippurelib 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_infom/builddir/build/BUILD/cloudlinux-venv-1.0.7/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.) rrrrr prefixgetcwdOSErrorexitabspath) src_prefixs rget_src_prefixr)7s!!VW\\#*e44  Vbikk599JJ V V V HT U U U U U V 7??: & &&s1A--B B user_site)maxsizecDttjdS)NPYTHONFRAMEWORK)bool sysconfigget_config_varrrris_osx_frameworkr1Os  ():;; < <rBs  666666''''''CCCCCC('..(Y' 22 s222----- #      8 ' ' ' ' ' '?d&>&@&@Ivs#@@@@IIIT"""=$===#"===s(B BB