o
    5‘ði  ã                   @   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ƒsJ ‚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   )Ú
tmpdir_cwdÚdist© r   úZ/root/parts/websockify/install/lib/python3.10/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   ó   d S ©Nr   ©Úselfr   r   r   Úinitialize_options   ó   zSubcommand.initialize_optionsc                 C   r   r   r   r   r   r   r   Úfinalize_options   r   zSubcommand.finalize_optionsc                 C   s   t dƒ‚)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   Úsetuptools.command.buildr   Úsetuptools.distr   r   r   r   r   r   r   Ú<module>   s
    