ACC SHELL

Path : /usr/lib/python/distutils/command/
File Upload :
Current File : //usr/lib/python/distutils/command/upload.pyo

Ñò
tÄMc@sÒdZddkTddklZddklZddklZddkl	Z	ddk
Z
ddkZddk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ConfigParsertuploadcBsUeZdZeidd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((s./usr/lib/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((s./usr/lib/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_filesRtupload_file(Rtcommandt	pyversiontfilename((s./usr/lib/python2.6/distutils/command/upload.pytrun5s


c
Cs„|ioMddd|g}|iod|ig|dd+nt|d|iƒnt|dƒiƒ}|ii}hdd	6d
d6|iƒd6|i	ƒd
6t
ii|ƒ|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
ii|ƒ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(ƒ\}}}}}}|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_runtrbtfile_uploads:actiont1tprotcol_versiontnametversiontcontenttfiletypeRt
md5_digests1.0tmetadata_versiontsummaryt	home_pagetauthortauthor_emailtlicensetdescriptiontkeywordstplatformtclassifierstdownload_urltprovidestrequirest	obsoletesRt	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_nametget_versiontostpathtbasenameRt	hexdigesttget_descriptiontget_urltget_contacttget_contact_emailtget_licencetget_long_descriptiontget_keywordst
get_platformstget_classifierstget_download_urltget_providestget_requirest
get_obsoletesR4tdistRR
RtStringIOtitemsttypettupletwritetgetvaluetannounceRRtINFOturlparsethttplibtHTTPConnectiontHTTPSConnectiontAssertionErrortconnectt
putrequestt	putheadertstrtlent
endheaderstsendtsocketterrortERRORtgetresponsetstatustreasonR(RRRRtgpg_argsR)tmetatdataR=R[R(tidtauthtboundarytsep_boundarytend_boundarytbodytkeytvaluetfntschematnetlocturltparamstqueryt	fragmentsR@tlogleveltetr((s./usr/lib/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(((s./usr/lib/python2.6/distutils/command/upload.pyRs
		
	(t__doc__tdistutils.errorstdistutils.coreRtdistutils.spawnRt	distutilsRthashlibRRJRpR4Retbase64RRdt	cStringIOR\RR(((s./usr/lib/python2.6/distutils/command/upload.pyt<module>s


ACC SHELL 2018