ó
,xTc           @   sK   d  d l  m Z d  d l Z d  d l Z d   Z e d k rG e   n  d S(   i˙˙˙˙(   t   divisionNc          C   sž   d  }  x d d g D] } t j j d t j j d |   } t j j |  r y t |  j	   j
   }  Wn$ t k
 r   q t k
 r q XPq q W|  d  k rľ t j j }  n  |  GHd  S(   Nt   TAGt   cctbx_bundle_TAGt   libtbxs   ..(   t   NoneR   t   envt
   under_distt   ost   patht   joint   isfilet   opent   readt   stript   KeyboardInterruptt	   Exceptiont   command_version_suffix(   t   versiont   tag_filet   tag_path(    (    sH   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/cctbx/command_line/version.pyt   run   s    $   t   __main__(   t
   __future__R    t   libtbx.load_envR   R   R   t   __name__(    (    (    sH   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/cctbx/command_line/version.pyt   <module>   s
   	