Wc ddlZddlZddlZddlmZddlmZddlmZm Z ddl m Z ddl m Z mZddlmZddlmZdd lmZeed deed deed dd ZGddeZdS)N)standard_b64encode) HTTPError)urlopenRequest)urlparse)DistutilsErrorDistutilsOptionError) PyPIRCCommand)spawn)logmd5sha256blake2b) md5_digest sha256_digestblake2_256_digestcleZdZdZej ddgzZej dgzZdZdZdZ dZ d S) uploadzupload binary package to PyPI)signszsign files to upload using gpg)z identity=izGPG identity used to sign filesrcztj|d|_d|_d|_d|_d|_dS)NrF)r initialize_optionsusernamepassword show_responseridentity)selfs 1/usr/lib64/python3.12/distutils/command/upload.pyrzupload.initialize_options*s;((..    ctj||jr|js t d|j }|ikr4|d|_|d|_|d|_|d|_ |js5|jjr|jj|_dSdSdS)Nz.Must use --sign for --identity to have meaningrr repositoryrealm) r finalize_optionsrrr _read_pypircrrr#r$ distribution)rconfigs r r%zupload.finalize_options2s&&t,, ===&@ ""$ R<<":.DM":.DM$\2DODJ}}}!2!2!;!;!; --66DMMM"(C(C(E   $K" $/K$8$B$B$D[!! 999h'. 3!)+)9)9()Cf)L)*)3_% 3 3 3 3 3 ]]S(4==8@@I ,Y7>>wGGI 8??7#;; #i/ zz|**, " "JCCcIEeT** " ";%''.q99E!!HEEJ--g6E <(( 5<<011 ;'' 5!!! " <  }}'/xxA c388$$?I!#d)n!   $//")++ W%F^^%FZZF S== MMMG(( $ $!!!//7ii4 :; c388,,,,"! /5ffff=C MM#syy ) ) % %g GGIIIIIIV      3 3 3 3 3 3 3 3 3d   VVFUUFFFFFF    MM#a&#)) , ,  sN*VV&>9V7(*WV#& V43V47W X,W,, X,9.X''X,N) __name__ __module__ __qualname__rEr user_optionsboolean_optionsrr%r0r+r!r rrs1K -- +=1  L $33vh>O777$;;;K&K&K&K&K&r!r)r^rthashlibbase64r urllib.errorrurllib.requestrr urllib.parserdistutils.errorsrr distutils.corer distutils.spawnr distutilsr getattrrnrrr!r rs4 %%%%%%""""""++++++++!!!!!!AAAAAAAA((((((!!!!!! ''5$/WWh5 )T:y&y&y&y&y&]y&y&y&y&r!