U eI@sddlmZddlZddlZddlZddlZddlZeZedkZ edkZ ejdkZ ejdkoje dkZ ejejejeejjejjZejeZdaaZZdd Zd d Zd ZdS) ) annotationsNPyPyCPythonwin32darwinarm64c CsLtdkrHtjdd.}tj|j at dtr8dndW5QRXtS)NTmPprefixzfilesystem is %scase-sensitiveznot ) _FS_CASE_SENSITIVEtempfileNamedTemporaryFileospathexistsnamelowerloggingdebug)tmp_filer=/opt/hc_python/lib/python3.8/site-packages/virtualenv/info.pyfs_is_case_sensitives rc Cstdkrd}ttdrtrtjdd^}tj|j}tj ||jdd}zt |j|d}Wnt t fk r~YnXW5QRXt d|rd nd nd}|atS) NFsymlinkrr -bTz!symlink on filesystem does%s workr z not) _CAN_SYMLINKhasattrrIS_WINr rrdirnamerjoinrOSErrorNotImplementedErrorrr)Zcanrtemp_dirdestrrrfs_supports_symlinks  r&) IS_CPYTHON IS_MAC_ARM64IS_PYPYr IS_ZIPAPPROOTrr&) __future__rrrplatformsysr python_implementationZIMPLEMENTATIONr)r'rmachiner(rrealpathr!abspath__file__pardirr+isfiler*rr Z_CFG_DIRZ _DATA_DIRrr&__all__rrrrs  (