U
    aÊ¹j  ã                   @   s@   d dl mZ d dlmZ d dlmZ dd„ ZG dd„ deƒZdS )	é    )ÚCommand)Úbuild)ÚDistributionc                 C   s4   t tddgg ddgid�ƒ}t| d¡tƒs0t‚dS )z_
    Check that the setuptools Distribution uses the
    setuptools specific build object.
    zsetup.pyr   Ú zpath/*)Úscript_nameÚscript_argsÚpackagesÚpackage_dataN)r   ÚdictÚ
isinstanceÚget_command_objr   ÚAssertionError)Z
tmpdir_cwdÚdist© r   úZ/var/www/html/bwave/python/venv/lib/python3.8/site-packages/setuptools/tests/test_build.pyÚ,test_distribution_gives_setuptools_build_obj   s    üÿr   c                   @   s(   e Zd ZdZdd„ Zdd„ Zdd„ ZdS )	Ú
Subcommandz!Dummy command to be used in testsc                 C   s   d S ©Nr   ©Úselfr   r   r   Úinitialize_options   s    zSubcommand.initialize_optionsc                 C   s   d S r   r   r   r   r   r   Úfinalize_options   s    zSubcommand.finalize_optionsc                 C   s   t dƒ‚d S )Nz!just to check if the command runs)ÚNotImplementedErrorr   r   r   r   Úrun    s    zSubcommand.runN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r   r   r      s   r   N)Ú
setuptoolsr   Zsetuptools.command.buildr   Zsetuptools.distr   r   r   r   r   r   r   Ú<module>   s   