a §5€a­ć@s,ddlZddlZdd„Zdd„Zdd„ZdS)éNcCsRt|tƒrt d|”Sz$| d”}t d|”}| d”}WntyLYn0|S)NZNFDśutf-8)Ś isinstanceŚstrŚ unicodedataŚ normalizeŚdecodeŚencodeŚ UnicodeError)Śpath©r śI/opt/alt/python39/lib/python3.9/site-packages/setuptools/unicode_utils.pyŚ decomposes     r c CsXt|tƒr|St ”pd}|df}|D],}z| |”WStyPYq&Yq&0q&dS)zY Ensure that the given path is decoded, NONE when no expected encoding works rN)rrŚsysŚgetfilesystemencodingrŚUnicodeDecodeError)r Zfs_encZ candidatesŚencr r r Śfilesys_decodes   rcCs&z | |”WSty YdS0dS)z/turn unicode encoding into a functional routineN)rŚUnicodeEncodeError)Śstringrr r r Ś try_encode%s  r)rrr rrr r r r Śs