
#þîh  ã               @   sV   d  d l  m Z d  d l m Z d  d l m Z d d „  Z Gd d „  d e ƒ Z d S)	é    )ÚCommand)Úbuild)ÚDistributionc             C   sU   t  t d d d d g d g  d d d g i ƒ ƒ } t | j d ƒ t ƒ sQ t ‚ d	 S)
z_
    Check that the setuptools Distribution uses the
    setuptools specific build object.
    Úscript_namezsetup.pyÚscript_argsr   ÚpackagesÚpackage_dataÚ zpath/*N)r   ÚdictÚ
isinstanceÚget_command_objr   ÚAssertionError)Z
tmpdir_cwdÚdist© r   úA/tmp/pip-build-zijwfla7/setuptools/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)Nr   )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)ÚNotImplementedError)r   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   