ó
OyTLc           @   sƒ   d  Z  d d l Z d d l Z d d l Z d d l Z d d l m Z d d l m Z d d l	 m
 Z
 d e j f d „  ƒ  YZ d S(   s   build_ext tests
iÿÿÿÿN(   t	   build_ext(   t   Distributiont   TestBuildExtTestc           B   s   e  Z d  „  Z RS(   c         C   sY   t  ƒ  } t | ƒ } d | j d <| j d ƒ } t j | d ƒ } | | k sU t ‚ d  S(   Nt    s   foo/bart   foo(   R   R    t   ext_mapt   get_ext_filenamet   distutils_build_extt   AssertionError(   t   selft   distt   cmdt   rest   wanted(    (    sC   /usr/lib/python2.7/dist-packages/setuptools/tests/test_build_ext.pyt   test_get_ext_filename
   s    	(   t   __name__t
   __module__R   (    (    (    sC   /usr/lib/python2.7/dist-packages/setuptools/tests/test_build_ext.pyR      s   (   t   __doc__t   ost   shutilt   tempfilet   unittestt   distutils.command.build_extR    R   t   setuptools.command.build_extt   setuptools.distR   t   TestCaseR   (    (    (    sC   /usr/lib/python2.7/dist-packages/setuptools/tests/test_build_ext.pyt   <module>   s
   0