U
    f                     @   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)Distribution)buildc                 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_nameZscript_argsZpackagesZpackage_dataN)r   dict
isinstanceZget_command_objr   AssertionError)Z
tmpdir_cwdZdist r
   :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)Z
setuptoolsr   Zsetuptools.distr   Zsetuptools.command.buildr   r   r   r
   r
   r
   r   <module>   s   