b374k
m1n1 1.01
Apache/2.2.15 (CentOS)
Linux obd60-6c49958d75-2q7cw 5.4.0-174-generic #193-Ubuntu SMP Thu Mar 7 14:29:28 UTC 2024 x86_64
uid=48(apache) gid=48(apache) groups=48(apache)
server ip : 104.21.65.202 | your ip : 10.244.126.0
safemode OFF
 >  / usr / lib64 / python2.6 / distutils / command /
Filename/usr/lib64/python2.6/distutils/command/upload.pyc
Size6.07 kb
Permissionrw-r--r--
Ownerapache
Create time23-Dec-2025 17:41
Last modified20-Jun-2019 19:45
Last accessed22-Apr-2026 13:07
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
Ñò
§ÚêLc@sÒdZddkTddklZddklZddklZddkl Z ddk
Z
ddk Z ddk Z ddk
Z
ddklZddkZddkZdd klZd
efd ��YZdS( s`distutils.command.upload

Implements the Distutils 'upload' subcommand (upload package to PyPI).iÿÿÿÿ(t*(t
PyPIRCCommand(tspawn(tlog(tmd5N(tstandard_b64encode(t ConfigParsertuploadcBsUeZdZeid d gZeidgZd�Zd�Zd �Zd
�Z RS(
supload binary package to PyPItsigntsssign files to upload using gpgs identity=tisGPG identity used to sign filescCs>ti|�d|_d|_d|_t|_d|_dS(Nti( Rtinitialize_optionstusernametpasswordt
show_responsetFalseRtNonetidentity(tself((s0/usr/lib64/python2.6/distutils/command/upload.pyR s 
    cCs�ti|�|io|i otd��n|i�}|hjo8|d|_|d|_|d|_|d|_ ndS(Ns.Must use --sign for --identity to have meaningR
Rt
repositorytrealm(
Rtfinalize_optionsRRtDistutilsOptionErrort _read_pypircR
RRR(Rtconfig((s0/usr/lib64/python2.6/distutils/command/upload.pyR(s

 



cCsT|iiptd��nx0|iiD]"\}}}|i|||�q*WdS(Ns'No dist file created in earlier command(t distributiont
dist_filesRt upload_file(Rtcommandt pyversiontfilename((s0/usr/lib64/python2.6/distutils/command/upload.pytrun5s


c
Cs£|ioMddd|g}|iod|ig|dd+nt|d|i�nt|d�i�}|ii}hdd 6d
d 6|i�d 6|i �d
6t
i i |�|fd6|d6|d6t
|�i�d6dd6|i�d6|i�d6|i�d6|i�d6|i�d6|i�d6|i�d6|i�d6|i�d6|i�d6|i�d6|i�d6|i�d 6}d!}|d"jo4ti�\} }
} | od#| |
f}qþn(|d$jod%tid&d'�}n||d(<|io4t
i i |�d)t|d)�i�f|d*<nd+t|id,|i �} d-}
d.|
}|d/}t!i!�}xô|i"�D]æ\}}t#|�t#g�jo
|g}nx±|D]©}t#|�t$jod0|d1}|d'}nd!}|i%|�|i%d2|�|i%|�|i%d3�|i%|�|o"|d4d5jo|i%d6�qÐqÐWq�W|i%|�|i%d6�|i&�}|i'd7||i(ft)i*�t+i+|i(�\}}}}}}| o| o| pt,�|d8jot-i.|�}n.|d9jot-i/|�}nt,d:|�d!}t)i*}yu|i0�|i1d;|�|i2d<d=|
�|i2d>t3t4|���|i2d?| �|i5�|i6|�Wn2t7i8j
o#}|i't3|�t)i9�dSX|i:�}|i;d@jo'|i'dA|i;|i<ft)i*�n$|i'dB|i;|i<ft)i9�|i=odCdDG|i�GdCdDGHndS(ENtgpgs
--detach-signs-as --local-useritdry_runtrbt file_uploads:actiont1tprotcol_versiontnametversiontcontenttfiletypeRt
md5_digests1.0tmetadata_versiontsummaryt home_pagetauthort author_emailtlicenset descriptiontkeywordstplatformt classifierst download_urltprovidestrequirest obsoletesR t bdist_rpmsbuilt for %s %st
bdist_dumbs built for %stterseitcomments.asct
gpg_signaturesBasic t:s3--------------GHSKFJDLGDS7543FJKLFHRE75642756743254s
--s--s;filename="%s"is*
Content-Disposition: form-data; name="%s"s

iÿÿÿÿs
s
sSubmitting %s to %sthttpthttpssunsupported schema tPOSTs Content-types multipart/form-data; boundary=%ssContent-lengtht
AuthorizationiÈsServer response (%s): %ssUpload failed (%s): %st-iK(>RRRR"topentreadRtmetadatatget_namet get_versiontostpathtbasenameRt hexdigesttget_descriptiontget_urlt get_contacttget_contact_emailt get_licencetget_long_descriptiont get_keywordst
get_platformstget_classifierstget_download_urlt get_providest get_requirest
get_obsoletesR4tdistRR
RtStringIOtitemsttypettupletwritetgetvaluetannounceRRtINFOturlparsetAssertionErrorthttplibtHTTPConnectiontHTTPSConnectiontconnectt
putrequestt putheadertstrtlent
endheaderstsendtsocketterrortERRORt getresponsetstatustreasonR(RRRRtgpg_argsR)tmetatdataR=R[R(tidtauthtboundaryt sep_boundaryt end_boundarytbodytkeytvaluetfntschematnetlocturltparamstqueryt fragmentsR@tlogleveltetr((s0/usr/lib64/python2.6/distutils/command/upload.pyR;sÄ

  

















!

 







  $


 
  
 

(ssignR ssign files to upload using gpg(s identity=R
sGPG identity used to sign files(
t__name__t
__module__R2Rt user_optionstboolean_optionsR RR R(((s0/usr/lib64/python2.6/distutils/command/upload.pyRs
 
(t__doc__tdistutils.errorstdistutils.coreRtdistutils.spawnRt distutilsRthashlibRRJRpR4Rftbase64RRdt cStringIOR\RR(((s0/usr/lib64/python2.6/distutils/command/upload.pyt<module>s