Edit File: dist.cpython-36.opt-2.pyc
3 � \�������������������@���s����d�dl�Z�d�dlZd�dlZd�dlmZ�yd�dlZW�n�ek rH���dZY�nX�d�dlT�d�dlm Z m Z �d�dlmZm Z mZ�d�dlmZ�d�dlmZ�ejd�ZG�d d ��d �ZG�dd��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���������������@���sl��e�Zd�Zd}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��Zd�dHdI�ZdJdK��Z dLdM��ZdNdO��ZdPdQ��Zddg�fdRdS�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 <package name>-<version>�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 obsoletec�������������C���s���g�|�]}t�|d����qS�)r���)r���)�.0�x��rH����&/usr/lib64/python3.6/distutils/dist.py� <listcomp>s���s����zDistribution.<listcomp>c�������������C���s���d|�_�d|�_d|�_x|�jD�]}t|�|d��qW�t��|�_x,|�jjD�] }d|�}t|�|t|�j|���q@W�i�|�_ d�|�_ d�|�_d�|�_i�|�_ g�|�_d�|�_i�|�_d�|�_d�|�_d�|�_d�|�_d�|�_d�|�_d�|�_d�|�_d�|�_d�|�_d|�_i�|�_i�|�_|�r8|jd�}|d�k �rH|d=�xD|j��D�]8\}}|�j |�}x"|j��D�]\} } d| f|| <��q(W��qW�d|k�r�|d�|d<�|d=�d }t!d�k �r~t!j"|��nt#j$j%|d ���x�|j��D�]�\}} t&|�jd|���r�t|�jd|��| ��njt&|�j|��r�t|�j|| ��nLt&|�|��r�t|�|| ��n2dt'|��}t!d�k �r"t!j"|��nt#j$j%|d ����q�W�d |�_(|�jd�k �r|x0|�jD�]&} | j)d��sdP�| dk�rRd|�_(P��qRW�|�j*���d�S�)Nr���r����get_���optionszsetup scriptr4���r2���z:'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�packagesZpackage_dataZpackage_dir� py_modules� libraries�headers�ext_modulesZext_packageZinclude_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�basenameZmethod_namerM����commandZcmd_options�opt_dict�opt�val�msg�key�argrH���rH���rI����__init__z���s����� zDistribution.__init__c�������������C���s&���|�j�j|�}|d�kr"i��}|�j�|<�|S�)N)r[���re���)rr���ru����dictrH���rH���rI���rg�����s����zDistribution.get_option_dictrL���c������� ������C���s����ddl�m}�|d�kr"t|�jj���}|d�k r@|�j||���|d�}|sV|�j|d���d�S�xt|D�]l}|�jj|�}|d�kr�|�j|d|����q\|�j|d|����||�}x$|jd�D�]}|�j|d�|���q�W�q\W�d�S�)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�linerH���rH���rI����dump_option_dicts&��s&���� zDistribution.dump_option_dictsc�������������C���s����g�}t����tjjtjd�j�}tjj|d�}tjj|�rB|j |��tj dkrRd}nd}|�jr�tjjtjjd�|�}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�appendr���ro���� expanduserr ���r����)rr����filesZsys_dirZsys_fileZ user_filenameZ user_fileZ local_filerH���rH���rI����find_config_filesB��s&���� zDistribution.find_config_filesc�������������C���s���ddl�m}�tjtjkr8ddddddd d ddd ddg }ng�}t|�}|d�krT|�j��}trb|�jd��|��}x�|D�]�}tr�|�jd|���|j |��xf|j ��D�]Z}|j|�}|�j|�}x@|D�]8} | dkr�| |kr�|j || �} | jdd�} || f|| <�q�W�q�W�|j���qnW�d|�jk�r�x�|�jd�j��D�]�\} \}} |�jj | �}yF|�rRt|�|t| ����n(| dk�rnt|�| t| ���nt|�| | ��W�n,�tk �r��} �zt| ��W�Y�d�d�} ~ X�nX��qW�d�S�)Nr���)�ConfigParserzinstall-basezinstall-platbasezinstall-libzinstall-platlibzinstall-purelibzinstall-headerszinstall-scriptszinstall-data�prefixzexec-prefix�home�user�rootz"Distribution.parse_config_files():z reading %s�__name__rO����_�globalr���rP���)r���rP���)Zconfigparserr����rj���r�����base_prefix� frozensetr����r ���r�����readZsectionsrM���rg���re����replacer|���r[���rf����negative_optrR���r���� ValueError�DistutilsOptionError)rr���� filenamesr����Zignore_options�parser�filenameZsectionrM���rv���rw���rx����src�aliasry���rH���rH���rI����parse_config_filesr��sJ���� zDistribution.parse_config_filesc�������������C���s����|�j���}g�|�_t||�j��}|j|�j��|jddi��|j|�j|�d�}|j ��}t j|�j��|�j |�rhd�S�x |r�|�j||�}|d�krjd�S�qjW�|�jr�|�j|t|�j�dk|�jd��d�S�|�js�td��dS�)Nr4���r2���)�args�objectr���)�display_optionsr����zno commands suppliedT)�_get_toplevel_optionsr����r���r�����set_negative_aliasesr����Zset_aliases�getoptrZ���Zget_option_orderr ���Z set_verbosityr����handle_display_options�_parse_command_optsr���� _show_help�len�DistutilsArgError)rr���Ztoplevel_optionsr����r�����option_orderrH���rH���rI����parse_command_line���s,���� zDistribution.parse_command_linec�������������C���s���|�j�dg�S�)N�command-packages=�0list of packages that provide distutils commands)r����Nr����)�global_options)rr���rH���rH���rI���r�������s�����z"Distribution._get_toplevel_optionsc�������������C���s��ddl�m}�|d�}tj|�s*td|���|�jj|��y|�j|�}W�n*�tk rn�}�zt |��W�Y�d�d�}~X�nX�t ||�s�td|���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��d�S�t|d��r�t |jt��r�d} xP|jD�]F\}}} }t| |j|���r|d } t|��r�|���ntd||f����q|W�| �r�d�S�|�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_optionsr���r���)r����r����zYinvalid help function %r for help option '%s': must be a callable object (function, etc.)zcommand 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����r���r����Z get_attr_name�callablerg����varsrf���)rr���r����r����r����ru���Z cmd_classry���r����r����ZoptsZhelp_option_foundZhelp_optionZshortZdesc�funcrv���r����valuerH���rH���rI���r�������sb���� z Distribution._parse_command_optsc�������������C���sT���xNdD�]F}t�|�j|�}|d�kr qt|t�rdd��|jd�D��}t|�j||��qW�d�S�)Nr>���r:���c�������������S���s���g�|�]}|j����qS�rH���)�strip)rF���ZelmrH���rH���rI���rJ���_��s����z1Distribution.finalize_options.<locals>.<listcomp>�,)r>���r:���)rV���rT���r�����strr����rR���)rr���rs���r����rH���rH���rI���rq���U��s���� zDistribution.finalize_optionsc������� ������C���s��ddl�m}�ddlm}�|rR|r*|�j��}n|�j}|j|��|j|�jd���t d��|rt|j|�j ��|jd ��t d��x�|�jD�]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|W�t ||�j���d�S�)Nr���)� gen_usage)r����z Global options:rL���z*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����rm���r����r����r����r����r����rY���) rr���r����r����r����r����r����r����rM���ru����klassrH���rH���rI���r����b��s6���� � zDistribution._show_helpc������� ������C���s����ddl�m}�|�jr4|�j���td��t||�j���dS�d}i�}x|�jD�]}d||d�<�qDW�xt|D�]l\}}|r^|j|�r^t|�}t |�j d|����}|dkr�tdj|���n |dkr�td j|���nt|��d}q^W�|S�)Nr���)r����rL���r���rK���r>���r:���r����r<���r@���rB���rD���rN���)r>���r:���)r<���r@���rB���rD���)r����r����Z help_commands�print_commandsr����rY���r����re���r���rV���rT���r����) rr���r����r����Zany_display_optionsZis_display_option�optionrw���rx���r����rH���rH���rI���r�������s,����z#Distribution.handle_display_optionsc�������������C���sn���t�|d���x\|D�]T}|�jj|�}|s0|�j|�}y |j}W�n�tk rR���d}Y�nX�t�d|||f���qW�d�S�)N�:z(no description available)z %-*s %s)r����rW���re���r����r6����AttributeError)rr���r����r����� max_length�cmdr����r6���rH���rH���rI����print_command_list���s���� zDistribution.print_command_listc�������������C���s����dd�l�}|jj}i�}x|D�]}d||<�qW�g�}x&|�jj��D�]}|j|�s:|j|��q:W�d}x$||�D�]}t|�|krdt|�}qdW�|�j|d|��|r�t ���|�j|d|��d�S�)Nr���r���zStandard commandszExtra commands) �distutils.commandru����__all__rW���r����re���r����r����r����r����)rr���r�����std_commands�is_stdr�����extra_commandsr����rH���rH���rI���r�������s*���� zDistribution.print_commandsc������� ������C���s����dd�l�}|jj}i�}x|D�]}d||<�qW�g�}x&|�jj��D�]}|j|�s:|j|��q:W�g�}x\||�D�]P}|�jj|�}|s�|�j|�}y |j}W�n�t k r����d}Y�nX�|j||f��qdW�|S�)Nr���r���z(no description available)) r����ru���r����rW���r����re���r����r����r6���r����) rr���r����r����r����r����r�����rvr����r6���rH���rH���rI����get_command_list���s(���� zDistribution.get_command_listc�������������C���sN���|�j�}t|t�sJ|d�krd}dd��|jd�D��}d|krD|jdd��||�_�|S�)NrL���c�������������S���s���g�|�]}|d�kr|j����qS�)rL���)r����)rF���ZpkgrH���rH���rI���rJ�����s����z5Distribution.get_command_packages.<locals>.<listcomp>r����zdistutils.commandr���)rX���r����r����r�����insert)rr���ZpkgsrH���rH���rI����get_command_packages��s���� z!Distribution.get_command_packagesc�������������C���s����|�j�j|�}|r|S�x�|�j��D�]�}d||f�}|}yt|��tj|�}W�n�tk r^���wY�nX�yt||�}W�n&�tk r����t d|||f���Y�nX�||�j�|<�|S�W�t d|���d�S�)Nz%s.%sz3invalid command '%s' (no class '%s' in module '%s')zinvalid command '%s') rW���re���r����� __import__rj���r�����ImportErrorrV���r����r����)rr���ru���r����ZpkgnameZmodule_nameZ klass_name�modulerH���rH���rI���r������s(���� zDistribution.get_command_classc�������������C���sn���|�j�j|�}|�rj|rjtr(|�jd|���|�j|�}||���}|�j�|<�d|�j|<�|�jj|�}|rj|�j||��|S�)Nz<Distribution.get_command_obj(): creating '%s' command objectr���)rc���re���r ���r����r����rd���r[����_set_command_options)rr���ru���Zcreate�cmd_objr����rM���rH���rH���rI����get_command_objB��s���� zDistribution.get_command_objc����������!���C���sb��|j���}|d�kr|�j|�}tr,|�jd|����x.|j��D��] \}\}}tr^|�jd|||f���ydd��|jD��}W�n�tk r����g�}Y�nX�y |j}W�n�tk r����i�}Y�nX�y|t|t �} ||kr�| r�t |||�t|����nJ||kr�| r�t ||t|���n,t||��rt |||��nt d|||f���W�q8�tk �rX�} �zt | ��W�Y�d�d�} ~ X�q8X�q8W�d�S�)Nz# setting options for '%s' command:z %s = %s (from %s)c�������������S���s���g�|�]}t�|��qS�rH���)r���)rF����orH���rH���rI���rJ���q��s���z5Distribution._set_command_options.<locals>.<listcomp>z1error in %s: command '%s' has no such option '%s')�get_command_namerg���r ���r����rf���Zboolean_optionsr����r����r����r����rR���r���rm���r����r����)rr���rc���Zoption_dict�command_namer�����sourcer����Z bool_optsZneg_optZ is_stringry���rH���rH���rI���r����]��s>���� z!Distribution._set_command_optionsr���c�������������C���s����ddl�m}�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_optionsrd���r����Zget_sub_commands�reinitialize_command)rr���ru���Zreinit_subcommandsr����r�����subrH���rH���rI���r�������s���� z!Distribution.reinitialize_commandc�������������C���s���t�j�||��d�S�)N)r ���)rr���ry����levelrH���rH���rI���r�������s����zDistribution.announcec�������������C���s���x|�j�D�]}|�j|��qW�d�S�)N)r�����run_command)rr���r����rH���rH���rI����run_commands���s����zDistribution.run_commandsc�������������C���sD���|�j�j|�rd�S�tjd|��|�j|�}|j���|j���d|�j�|<�d�S�)Nz running %sr���)rd���re���r ����infor����Zensure_finalizedZrun)rr���ru���r����rH���rH���rI���r�������s���� zDistribution.run_commandc�������������C���s���t�|�jp|�jpg��dkS�)Nr���)r����r\���r]���)rr���rH���rH���rI����has_pure_modules���s����zDistribution.has_pure_modulesc�������������C���s���|�j�ot|�j��dkS�)Nr���)r`���r����)rr���rH���rH���rI����has_ext_modules���s����zDistribution.has_ext_modulesc�������������C���s���|�j�ot|�j��dkS�)Nr���)r^���r����)rr���rH���rH���rI����has_c_libraries���s����zDistribution.has_c_librariesc�������������C���s���|�j���p|�j��S�)N)r����r����)rr���rH���rH���rI����has_modules���s����zDistribution.has_modulesc�������������C���s���|�j�ot|�j��dkS�)Nr���)r_���r����)rr���rH���rH���rI����has_headers���s����zDistribution.has_headersc�������������C���s���|�j�ot|�j��dkS�)Nr���)ra���r����)rr���rH���rH���rI����has_scripts���s����zDistribution.has_scriptsc�������������C���s���|�j�ot|�j��dkS�)Nr���)rb���r����)rr���rH���rH���rI����has_data_files���s����zDistribution.has_data_filesc�������������C���s���|�j���o|�j���o|�j���S�)N)r����r����r����)rr���rH���rH���rI����is_pure���s���� zDistribution.is_pure)r���r ���r���r���)r���r���r���)r���r���r���)r���r���r���)r���Nr���)r���Nr���)r���Nr���)r���r ���r!���)r"���Nr#���)r$���Nr%���)r&���Nr'���)r(���Nr)���)r*���Nr+���)r,���Nr-���)r.���Nr/���)r0���Nr1���)r2���Nr3���)r4���Nr5���)r6���Nr7���)r8���Nr9���)r:���Nr;���)r<���Nr=���)r>���Nr?���)r@���NrA���)rB���NrC���)rD���NrE���)N)NNrL���)N)r���)N)r���)(r����� __module__�__qualname__r����r����r����rQ���r����r|���rg���r����r����r����r����r����r����rq���r����r����r����r����r����r����r����r����r����r����r ����INFOr����r����r����r����r����r����r����r����r����r���r��rH���rH���rH���rI���r������s����� ��������������������� �" 0 :C[ 1(!"& , ) r���c���������������@���s����e�Zd�ZdNZdOdd�Zdd��Zdd��Zdd��Zdd��Zd d!��Z d"d#��Z d$d%��Zd&d'��Zd(d)��Z d*d+��Zd,d-��Zd.d/��Zd0d1��Zd2d3��Zd4d5��ZeZd6d7��Zd8d9��Zd:d;��Zd<d=��Zd>d?��Zd@dA��ZdBdC��ZdDdE��ZdFdG��ZdHdI��ZdJdK��ZdLdM��Z dS�)PrS���r���r���r$����author_emailr(����maintainer_emailr0���r2���r6����long_descriptionr>���r:���r"���r,���� contact_emailr<����download_urlr@���rB���rD���Nc�������������C���s����|d�k r|�j�t|���nfd�|�_d�|�_d�|�_d�|�_d�|�_d�|�_d�|�_d�|�_ d�|�_ d�|�_d�|�_d�|�_ d�|�_d�|�_d�|�_d�|�_d�|�_d�S�)N)� read_pkg_file�openr���r���r$���r��r(���r��r0���r2���r6���r��r>���r:���r<���r ��r@���rB���rD���)rr���r����rH���rH���rI���r|�����s&����zDistributionMetadata.__init__c����������������s��t�|�����fdd�}��fdd�}��d�}|d�|�_|d�|�_|d�|�_|d �|�_d�|�_|d �|�_d�|�_|d�|�_|d�|�_ d ��kr�|d �|�_ nd�|�_ |d�|�_|d�|�_d��kr�|d�jd�|�_ |d�|�_|d�|�_|dkr�|d�|�_|d�|�_|d�|�_nd�|�_d�|�_d�|�_d�S�)Nc����������������s�����|��}|dkrd�S�|S�)N�UNKNOWNrH���)r���r����)ry���rH���rI����_read_field��s����z7DistributionMetadata.read_pkg_file.<locals>._read_fieldc����������������s�����j�|�d��}|g�krd�S�|S�)N)Zget_all)r����values)ry���rH���rI���� _read_list#��s����z6DistributionMetadata.read_pkg_file.<locals>._read_listzmetadata-versionr���r���Zsummaryr$���zauthor-emailz home-pager2���zdownload-urlr6���r>���r�����platformZ classifierz1.1rB���r@���rD���)r���r���r���r6���r$���r(���r��r��r0���r2���r ��r��r����r>���r:���r<���rB���r@���rD���)rr����filer ��r��Zmetadata_versionrH���)ry���rI���r ����s:���� z"DistributionMetadata.read_pkg_filec���������� ���C���s2���t�tjj|d�ddd��}|�j|��W�d�Q�R�X�d�S�)NzPKG-INFO�wzUTF-8)�encoding)r��r����r����r�����write_pkg_file)rr���Zbase_dirZpkg_inforH���rH���rI����write_pkg_infoM��s���� z#DistributionMetadata.write_pkg_infoc�������������C���sb��d}|�j�s"|�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����d�S�)Nz1.0z1.1zMetadata-Version: %s z Name: %s zVersion: %s zSummary: %s zHome-page: %s zAuthor: %s zAuthor-email: %s zLicense: %s zDownload-URL: %s zDescription: %s r����z Keywords: %s ZPlatformZ ClassifierZRequiresZProvidesZ Obsoletes)r@���rB���rD���r<���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)rr���r��r���Z long_descr>���rH���rH���rI���r��T��s0����z#DistributionMetadata.write_pkg_filec�������������C���s$���x|D�]}|j�d||f���qW�d�S�)Nz%s: %s )rl���)rr���r��r���r��r����rH���rH���rI���r��v��s���� z DistributionMetadata._write_listc�������������C���s ���|�j�pdS�)Nr��)r���)rr���rH���rH���rI���r��|��s����zDistributionMetadata.get_namec�������������C���s ���|�j�pdS�)Nz0.0.0)r���)rr���rH���rH���rI���r����s����z DistributionMetadata.get_versionc�������������C���s���d|�j���|�j��f�S�)Nz%s-%s)r��r��)rr���rH���rH���rI����get_fullname���s����z!DistributionMetadata.get_fullnamec�������������C���s ���|�j�pdS�)Nr��)r$���)rr���rH���rH���rI���� get_author���s����zDistributionMetadata.get_authorc�������������C���s ���|�j�pdS�)Nr��)r��)rr���rH���rH���rI����get_author_email���s����z%DistributionMetadata.get_author_emailc�������������C���s ���|�j�pdS�)Nr��)r(���)rr���rH���rH���rI����get_maintainer���s����z#DistributionMetadata.get_maintainerc�������������C���s ���|�j�pdS�)Nr��)r��)rr���rH���rH���rI����get_maintainer_email���s����z)DistributionMetadata.get_maintainer_emailc�������������C���s���|�j�p|�jpdS�)Nr��)r(���r$���)rr���rH���rH���rI���r�����s����z DistributionMetadata.get_contactc�������������C���s���|�j�p|�jpdS�)Nr��)r��r��)rr���rH���rH���rI���r�����s����z&DistributionMetadata.get_contact_emailc�������������C���s ���|�j�pdS�)Nr��)r0���)rr���rH���rH���rI���r�����s����zDistributionMetadata.get_urlc�������������C���s ���|�j�pdS�)Nr��)r2���)rr���rH���rH���rI���r�����s����z DistributionMetadata.get_licensec�������������C���s ���|�j�pdS�)Nr��)r6���)rr���rH���rH���rI���r�����s����z$DistributionMetadata.get_descriptionc�������������C���s ���|�j�pdS�)Nr��)r��)rr���rH���rH���rI���r�����s����z)DistributionMetadata.get_long_descriptionc�������������C���s ���|�j�pg�S�)N)r>���)rr���rH���rH���rI���r�����s����z!DistributionMetadata.get_keywordsc�������������C���s���|�j�p dgS�)Nr��)r:���)rr���rH���rH���rI���r �����s����z"DistributionMetadata.get_platformsc�������������C���s ���|�j�pg�S�)N)r<���)rr���rH���rH���rI���r!�����s����z$DistributionMetadata.get_classifiersc�������������C���s ���|�j�pdS�)Nr��)r ��)rr���rH���rH���rI����get_download_url���s����z%DistributionMetadata.get_download_urlc�������������C���s ���|�j�pg�S�)N)rB���)rr���rH���rH���rI���r"�����s����z!DistributionMetadata.get_requiresc�������������C���s,���dd�l�}x|D�]}|jj|��qW�||�_d�S�)Nr���)�distutils.versionpredicate�versionpredicate�VersionPredicaterB���)rr���r����r����r ���rH���rH���rI����set_requires���s���� z!DistributionMetadata.set_requiresc�������������C���s ���|�j�pg�S�)N)r@���)rr���rH���rH���rI���r#�����s����z!DistributionMetadata.get_providesc�������������C���s:���dd��|D��}x |D�]}dd�l�}|jj|��qW�||�_d�S�)Nc�������������S���s���g�|�]}|j����qS�rH���)r����)rF���r ���rH���rH���rI���rJ������s����z5DistributionMetadata.set_provides.<locals>.<listcomp>r���)r+��r,��Zsplit_provisionr@���)rr���r����r ���r����rH���rH���rI����set_provides���s ���� z!DistributionMetadata.set_providesc�������������C���s ���|�j�pg�S�)N)rD���)rr���rH���rH���rI���r$�����s����z"DistributionMetadata.get_obsoletesc�������������C���s,���dd�l�}x|D�]}|jj|��qW�||�_d�S�)Nr���)r+��r,��r-��rD���)rr���r����r����r ���rH���rH���rI���� set_obsoletes���s���� z"DistributionMetadata.set_obsoletes)r���r���r$���r��r(���r��r0���r2���r6���r��r>���r:���r"���r,���r��r<���r ��r@���rB���rD���)N)!r����r��r��rU���r|���r ��r��r��r��r��r��r%��r&��r'��r(��r)��r��r��r��r��Zget_licencer��r��r��r ��r!��r*��r"��r.��r#��r/��r$��r0��rH���rH���rH���rI���rS������sF�������� 4"rS���c�������������C���s(���g�}x|�D�]}|j�|dd����q W�|S�)Nr�������)r����)rM���Znew_optionsZ help_tuplerH���rH���rI���r�������s���� r����)rj���r�����reZemailr���rh���r����Zdistutils.errorsZdistutils.fancy_getoptr���r���Zdistutils.utilr���r���r���r����r ���Zdistutils.debugr ����compiler����r���rS���r����rH���rH���rH���rI����<module>���s0��� �������]�Z