
@K7]c           @` s   d  d l  m Z m Z m Z d  d l Z d  d l m Z m Z d Z d Z	 d   Z
 e d k r e j j d  r x$ d D] Z e e e
 e   qx Wq n  d S(   i    (   t   absolute_importt   divisiont   print_functionN(   t   islinkt   isfiles   .pys   .pycs   .pyos   .hs   .as   .cs   .txts   .htmls   .xmls   .pngs   .jpgs   .gifs   .os   ELFc         C` sc   |  j  t  s( t |   s( t |   r, t St |  d   } | j d  } Wd  QXt | t k  S(   Nt   rbi   (	   t   endswitht   NO_EXTR   R   t   Falset   opent   readt   boolt   MAGIC(   t   patht   fit   head(    (    s7   lib/python2.7/site-packages/conda_build/os_utils/elf.pyt   is_elf   s
    (t   __main__t   linuxs   /usr/bin/lss	   /etc/mtab(   s   .pys   .pycs   .pyos   .hs   .as   .cs   .txts   .htmls   .xmls   .pngs   .jpgs   .gifs   .o(   s   /usr/bin/lss	   /etc/mtab(   t
   __future__R    R   R   t   syst   os.pathR   R   R   R   R   t   __name__t   platformt
   startswithR   t   print(    (    (    s7   lib/python2.7/site-packages/conda_build/os_utils/elf.pyt   <module>   s     	