Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3 ÝPfKiã@s dZddlZddlZddlZddlZddlmZmZy ddlZWne k r\ddl ZYnXdddddd d d d d dg Z dd„Z ej ršejje ej ƒƒZn e ejƒƒZejdkrÖdedEd…jƒkrÖe ejjeeƒƒZejdkoòdedFd…jƒk�r e ejjeeeƒƒZejdk�r@dedGd…jƒk�r@e ejjeeeƒƒZdd„ZeƒZdadd„ZejƒZejdƒZdd„ZejjƒdZ ejdd …Z!e de d!Z"ejj#ej$ƒZ%ejj#ej&ƒZ'da(dZ)d"d#„Z*d$d%„Z+d&d'„Z,d(d)„Z-d*d+„Z.d,d-„Z/dHd.d/„Z0d0d„Z1d1d2„Z2d3d4„Z3dId5d„Z4d6d„Z5d7d „Z6d8d „Z7e.ƒdd9fd:d „Z8e.ƒdd9fd;d„Z9dd „ZdBdC„Z?e@dDk�rœe?ƒdS)Jz-Access to Python's configuration information.éN)ÚpardirÚrealpathÚget_config_h_filenameÚget_config_varÚget_config_varsÚget_makefile_filenameÚget_pathÚget_path_namesÚ get_pathsÚ get_platformÚget_python_versionÚget_scheme_namesÚparse_config_hc Cs"yt|ƒStk r|SXdS)N)rÚOSError)Úpath©rú/usr/lib/python3.6/sysconfig.pyÚ_safe_realpath"srÚntZpcbuildéz\pc\vé z\pcbuild\amd64écCs.x(dD] }tjjtjjtd|ƒƒrdSqWdS)Nú Setup.distú Setup.localÚModulesTF)rr)ÚosrÚisfileÚjoinÚ _PROJECT_BASE)ÚfnrrrÚis_python_build:s r Fc Cs’tsŽddlm}tjddƒd}||ƒ}|jdƒ}|s>tdƒ‚|jƒ�}tj |ƒWdQRXt rŠx(dD] }tj |d d ƒtj |d d ƒqfWdadS)Né)ÚfinderÚ.érz sysconfig.cfgzsysconfig.cfg existsÚ posix_prefixÚ posix_homeÚincludez{srcdir}/IncludeÚ platincludez{projectbase}/.T)r%r&) Ú _cfg_readZ resourcesr"Ú__name__ÚrsplitÚfindÚAssertionErrorZ as_streamÚ_SCHEMESZreadfpÚ _PYTHON_BUILDÚset)r"Zbackport_packageZ_finderZ_cfgfileÚsÚschemerrrÚ_ensure_cfg_readDs     r3z \{([^{]*?)\}csØtƒ|jdƒr|jdƒ}ntƒ}|jƒ}xD|D]<}|dkr>q0x,|D]$\}}|j||ƒrZqD|j|||ƒqDWq0W|jdƒxX|jƒD]L}t|j|ƒƒ‰‡fdd„}x,|j|ƒD]\}}|j||t j ||ƒƒq®Wq„WdS)NÚglobalscs$|jdƒ}|ˆkrˆ|S|jdƒS)Nr$r)Úgroup)ÚmatchobjÚname)Ú variablesrrÚ _replaceros z"_expand_globals.._replacer) r3Z has_sectionÚitemsÚtupleÚsectionsZ has_optionr0Zremove_sectionÚdictÚ _VAR_REPLÚsub)Úconfigr4r<ZsectionZoptionÚvaluer9r)r8rÚ_expand_globalsYs$      rBér!cs‡fdd„}tj||ƒS)z»In the string `path`, replace tokens like {some.thing} with the corresponding value from the map `local_vars`. If there is no corresponding value, leave the token unchanged. cs8|jdƒ}|ˆkrˆ|S|tjkr.tj|S|jdƒS)Nr$r)r5rÚenviron)r6r7)Ú local_varsrrr9‹s    z_subst_vars.._replacer)r>r?)rrEr9r)rErÚ _subst_vars…s rFcCs4|jƒ}x&|jƒD]\}}||kr$q|||<qWdS)N)Úkeysr:)Ú target_dictÚ other_dictÚ target_keysÚkeyrArrrÚ _extend_dict•s rLcCsdi}|dkri}t|tƒƒxBtj|ƒD]4\}}tjdkrFtjj|ƒ}tjjt ||ƒƒ||<q(W|S)NÚposixr)rMr) rLrr.r:rr7rÚ expanduserÚnormpathrF)r2ÚvarsÚresrKrArrrÚ _expand_vars�s   rRcs‡fdd„}tj||ƒS)Ncs$|jdƒ}|ˆkrˆ|S|jdƒS)Nr$r)r5)r6r7)rPrrr9«s zformat_value.._replacer)r>r?)rArPr9r)rPrÚ format_valueªs rScCstjdkrdStjS)NrMr%)rr7rrrrÚ_get_default_scheme³s rTcCs’tjjddƒ}dd„}tjdkrBtjjdƒp.d}|r8|S||dƒStjdkr|td ƒ}|r||r`|S|dd |d tjdd …ƒS|r„|S|dd ƒSdS)NÚPYTHONUSERBASEcWstjjtjj|ŽƒS)N)rrrNr)ÚargsrrrÚjoinuser½sz_getuserbase..joinuserrÚAPPDATAú~ÚPythonÚdarwinÚPYTHONFRAMEWORKÚLibraryz%d.%dr!z.local)rrDÚgetr7ÚsysÚplatformrÚ version_info)Úenv_baserWÚbaseÚ frameworkrrrÚ _getuserbaseºs"    recCs"tjdƒ}tjdƒ}tjdƒ}|dkr*i}i}i}tj|ddd��}|jƒ}WdQRXx¢|D]š} | jdƒs\| jƒd krxq\|j| ƒ} | r\| jd d ƒ\} } | jƒ} | j d d ƒ} d | kr¼| || <q\y t | ƒ} Wn$t k rì| j d d ƒ|| <Yq\X| || <q\Wt |j ƒƒ}d}�xÖt|ƒdk�râ�x¾t|ƒD�]°}||}|j|ƒ�pJ|j|ƒ} | dk �rÆ| jd ƒ} d}| |k�r|t|| ƒ}nˆ| |k�rŒd}nx| tjk�r¤tj| }n`| |k�rø|jdƒ�rÒ|dd…|k�rÒd }n$d| |k�ræd}nt|d| ƒ}n d || <}|�rØ|| jƒd…}|d| jƒ…||}d |k�rF|||<n~y t |ƒ}Wn"t k �rt|jƒ||<Yn X|||<|j|ƒ|jdƒ�rØ|dd…|k�rØ|dd…}||k�rØ|||<n|||<|j|ƒ�q(W�qWx.|jƒD]"\}} t| tƒ�rî| jƒ||<�qîW|j|ƒ|S)zÌParse a Makefile-style file. A dictionary containing name/value pairs is returned. If an optional dictionary is passed in as the second argument, it is used instead of a new dictionary. z"([a-zA-Z][a-zA-Z0-9_]+)\s*=\s*(.*)z\$\(([A-Za-z][A-Za-z0-9_]*)\)z\${([A-Za-z][A-Za-z0-9_]*)}Nzutf-8Úsurrogateescape)ÚencodingÚerrorsú#Úr$r!z$$ú$ÚCFLAGSÚLDFLAGSÚCPPFLAGSrTFÚPY_rC)rlrmrn)ÚreÚcompileÚcodecsÚopenÚ readlinesÚ startswithÚstripÚmatchr5ÚreplaceÚintÚ ValueErrorÚlistrGÚlenr;ÚsearchÚstrrrDÚendÚstartÚremover:Ú isinstanceÚupdate)ÚfilenamerPÚ _variable_rxÚ _findvar1_rxÚ _findvar2_rxÚdoneÚnotdoneÚfÚlinesÚlineÚmÚnÚvÚtmpvr8Úrenamed_variablesr7rAÚfoundÚitemÚafterÚkrrrÚ_parse_makefile×sŒ                             r–cCsDtrtjjtdƒSttdƒr,dttjf}nd}tjjt dƒ|dƒS)z Return the path of the Makefile.ÚMakefileÚabiflagsz config-%s%sr@Ústdlib) r/rrrrÚhasattrr_Ú_PY_VERSION_SHORTr˜r)Úconfig_dir_namerrrrMs  cCsètƒ}yt||ƒWnJtk r^}z.d|}t|dƒrF|d|j}t|ƒ‚WYdd}~XnXtƒ}y"t|ƒ�}t||ƒWdQRXWnJtk rÒ}z.d|}t|dƒrº|d|j}t|ƒ‚WYdd}~XnXträ|d|d<dS)z7Initialize the module as appropriate for POSIX systems.z.invalid Python installation: unable to open %sÚstrerrorz (%s)NÚ BLDSHAREDÚLDSHARED) rr–ÚIOErrorršr�rrsrr/)rPÚmakefileÚeÚmsgÚconfig_hrŠrrrÚ _init_posixXs&   r¥cCsVtdƒ|d<tdƒ|d<tdƒ|d<d|d<d |d <t|d <tjjttjƒƒ|d <d S)z+Initialize the module as appropriate for NTr™ÚLIBDESTÚ platstdlibÚ BINLIBDESTr'Ú INCLUDEPYz.pydÚSOz.exeÚEXEÚVERSIONÚBINDIRN)rÚ_PY_VERSION_SHORT_NO_DOTrrÚdirnamerr_Ú executable)rPrrrÚ_init_non_posixts   r±c Csž|dkr i}tjdƒ}tjdƒ}xx|jƒ}|s0P|j|ƒ}|rz|jddƒ\}}y t|ƒ}Wntk rnYnX|||<q"|j|ƒ}|r"d||jdƒ<q"W|S)zÌParse a config.h-style file. A dictionary containing name/value pairs is returned. If an optional dictionary is passed in as the second argument, it is used instead of a new dictionary. Nz"#define ([A-Z][A-Za-z0-9_]+) (.*) z&/[*] #undef ([A-Z][A-Za-z0-9_]+) [*]/ r$r!r)rprqÚreadlinerwr5ryrz)ÚfprPÚ define_rxÚundef_rxrŒr�rŽr�rrrr„s(      cCs:tr$tjdkrtjjtdƒ}q,t}ntdƒ}tjj|dƒS)zReturn the path of pyconfig.h.rÚPCr(z pyconfig.h)r/rr7rrrr)Úinc_dirrrrr£s  cCstttjƒƒƒS)z,Return a tuple containing the schemes names.)r;Úsortedr.r<rrrrr ¯scCs tjdƒS)z*Return a tuple containing the paths names.r%)r.Zoptionsrrrrr ´sTcCs&tƒ|rt||ƒSttj|ƒƒSdS)z°Return a mapping containing an install scheme. ``scheme`` is the install scheme name. If not provided, it will return the default scheme for the current platform. N)r3rRr=r.r:)r2rPÚexpandrrrr ºs cCst|||ƒ|S)z[Return a path corresponding to the scheme. ``scheme`` is the install scheme name. )r )r7r2rPr¹rrrrÇscGs¼tdk�r†iattd<ttd<ttd<ttd<tdtdtd<ttd <ttd <ttd <ytjtd <Wntk r„d td <YnXt j d#kr˜t tƒt j dkrªt tƒtj dkr¾tƒtd<dtkrÐttd<nttdƒtd<toìt j dk�r\t}y t jƒ}Wntk �rd}YnXt jjtdƒ �r\||k�r\t jj|tdƒ}t jj|ƒtd<tjdk�r†t jƒd}t|jdƒdƒ}|dk�rÎx:d$D]2}t|}tjdd|ƒ}tjdd|ƒ}|t|<�q–Wn¸dt jk�rt jd}x8d%D]0}t|}tjdd|ƒ}|d|}|t|<�qêWtjdd ƒ} tjd | ƒ} | dk �r†| j d!ƒ} t jj!| ƒ�s†x,d&D]$}t|}tjd"d|ƒ}|t|<�q^W|�r´g} x|D]} | j"tj| ƒƒ�q–W| StSdS)'ayWith no arguments, return a dictionary of all configuration variables relevant for the current platform. On Unix, this means every variable defined in Python's installed Makefile; On Windows and Mac OS it's a much smaller set. With arguments, return a list of values that result from looking up each argument in the configuration variable dictionary. NÚprefixÚ exec_prefixÚ py_versionÚpy_version_shortrr!Úpy_version_nodotrcÚplatbaseÚ projectbaser˜rjrÚos2rMz2.6ÚuserbaseÚsrcdirr[r#rrmÚ BASECFLAGSrlÚ PY_CFLAGSržz -arch\s+\w+\sú z-isysroot [^ ]*Z ARCHFLAGSz-isysroot\s+(\S+)r$z-isysroot\s+\S+(\s|$))rrÁ)rmrÄrlrÅrž)rmrÄrlrÅrž)rmrÄrlrÅrž)#Ú _CONFIG_VARSÚ_PREFIXÚ _EXEC_PREFIXÚ _PY_VERSIONr›rr_r˜ÚAttributeErrorrr7r±r¥Úversionrerr/ÚgetcwdrrÚisabsrrOr`ÚunameryÚsplitrpr?rDr^r}r5ÚexistsÚappend)rVrcÚcwdrÃZkernel_versionZ major_versionrKÚflagsZarchrlr�ZsdkÚvalsr7rrrrÏs†                    cCs tƒj|ƒS)z“Return the value of a single variable using the dictionary returned by 'get_config_vars()'. Equivalent to get_config_vars().get(name) )rr^)r7rrrrRscCs`tjdkrnd}tjj|ƒ}|d:kr(tjStjjd|ƒ}tj|t|ƒ|…jƒ}|dkr\dS|dkrhdStjStjd ks„ttd ƒ rŠtjStj ƒ\}}}}}|jƒj d d ƒ}|j d dƒ}|j d dƒ}|dd…dkràd||fS|dd…dk�r(|ddk�rRd}dt |dƒd|dd…f}�n*|dd…dk�rFd||fS|dd…dk�rfd|||fS|dd…d k�r¢d }t j d!ƒ} | j|ƒ} | �rR| jƒ}�n°|dd…d"k�rRtƒ} | jd#ƒ} | } y td$ƒ}Wntk �rêYnJXzt jd%|jƒƒ} Wd|jƒX| dk �r4d&j| jdƒjd&ƒdd…ƒ} | �s>| } | �rR| }d'}| d&d(k�rd)tƒjd*d ƒjƒk�rd+}tƒjd*ƒ}t jd,|ƒ}ttt|ƒƒƒ}t|ƒdk�r¶|d}n^|d;k�rÆd+}nN|d|d=k�ræd1}n.|d>k�röd3}n|d?k�rd4}ntd5|fƒ‚n<|d-k�r2tjd@k�rRd/}n |dAk�rRtjdBk�rNd2}nd.}d9|||fS)Ca«Return a string that identifies the current platform. This is used mainly to distinguish platform-specific build directories and platform-specific built distributions. Typically includes the OS name and version and the architecture (as supplied by 'os.uname()'), although the exact information included depends on the OS; eg. for IRIX the architecture isn't particularly important (IRIX only runs on SGI hardware), but for Linux the kernel version isn't particularly important. Examples of returned values: linux-i586 linux-alpha (?) solaris-2.6-sun4u irix-5.3 irix64-6.2 Windows will return one of: win-amd64 (64bit Windows on AMD64 (aka x86_64, Intel64, EM64T, etc) win-ia64 (64bit Windows on Itanium) win32 (all others - specifically, sys.platform is returned) For other non-POSIX platforms, currently just returns 'sys.platform'. rz bit (r$ú)Úamd64z win-amd64Úitaniumzwin-ia64rMrÏú/rjrÆÚ_ú-NéÚlinuxz%s-%sÚsunosrÚ5Úsolarisz%d.%srCr!éÚirixÚaixz%s-%s.%séÚcygwinz[\d.]+r[ÚMACOSX_DEPLOYMENT_TARGETz0/System/Library/CoreServices/SystemVersion.plistz=ProductUserVisibleVersion\s*(.*?)r#Zmacosxz10.4.z-archrlZfatz -arch\s+(\S+)Úi386ÚppcÚx86_64ZintelZfat3Úppc64Zfat64Z universalz%Don't know machine value for archs=%ré ÚPowerPCÚPower_Macintoshz%s-%s-%séÿÿÿÿ)rçrè)rçré)rçrèré)rêré)rçrèrêrél)rìríl) rr7r_rÌr,r`r|ÚlowerršrÏrxryrprqrwr5rr^rsr r}ÚreadÚcloserrÐrvÚfindallr;r¸r0rzÚmaxsize)rºÚiÚjÚlookÚosnameÚhostÚreleaserÌÚmachineÚrel_rer�ZcfgvarsZmacverZ macreleaserŠZcflagsZarchsrrrr [s¢     $                    cCstS)N)r›rrrrr ýscCsJxDtt|jƒƒƒD]0\}\}}|dkr2td|ƒtd||fƒqWdS)Nrz%s: z %s = "%s")Ú enumerater¸r:Úprint)ÚtitleÚdataÚindexrKrArrrÚ _print_dicts rcCsRtdtƒƒtdtƒƒtdtƒƒtƒtdtƒƒtƒtdtƒƒdS)z*Display all information sysconfig detains.zPlatform: "%s"zPython version: "%s"z!Current installation scheme: "%s"ÚPathsÚ VariablesN)rýr r rTrr rrrrrÚ_mains rÚ__main__iøÿÿÿiöÿÿÿiòÿÿÿ)N)N)AÚ__doc__rrrrpr_Zos.pathrrZ configparserÚ ImportErrorZ ConfigParserÚ__all__rr°rr¯rrÍr7rïrr r/r)r3ZRawConfigParserr.rqr>rBrÌrÐrÊr›r®rOrºrÈr»rÉrÇÚ _USER_BASErFrLrRrSrTrer–rr¥r±rrr r r rrrr r rrr*rrrrÚsŒ   " #   v     #