ó
\c           @@  s   d  Z  d d l m Z d d l m Z y d d l m Z WnY e k
 r d d l	 j
 Z e j e j e j e  d d   r e d	   q   n Xe j   d d
 l m Z e   d d l m Z e   d d l m Z m Z m Z m Z m Z m Z m Z m Z m Z m Z m Z d d l  m! Z! d d l" m# Z# m$ Z$ m% Z% d d l& m' Z' m( Z( m) Z) m* Z* d d l+ m, Z, m- Z- m. Z. m/ Z/ d d l0 m1 Z1 d d l2 m3 Z3 d d l4 m5 Z5 d d l6 m7 Z7 d d l m8 Z8 m9 Z9 d d l m: Z: m; Z; d d l m< Z< d d l< m< Z= e< j> d  e7   j? k rHd d l@ mA ZA mB ZB n  e< j> e< jC k re d jD d jD e< j>   d jD e< jC     n  eE d  ZF d   ZG d d l mH ZI d d l mJ ZK d d  l mL ZM d d! l mN ZO d d" lP mQ ZR eR d#  ZS d S($   sZ   
    This is the h5py package, a Python interface to the HDF5
    scientific data format.
i    (   t   absolute_import(   t   warni   (   t   _errorsNs   ..s   setup.pys\   You cannot import h5py from inside the install directory.
Change to another directory first.(   t   register_converters(   t   _register_lzf(   t   h5at   h5dt   h5dst   h5ft   h5fdt   h5gt   h5rt   h5st   h5tt   h5pt   h5z(   t   filters(   t   is_hdf5t   HLObjectt   Empty(   t   Filet   register_drivert   unregister_drivert   registered_drivers(   t   Groupt   SoftLinkt   ExternalLinkt   HardLink(   t   Dataset(   t   Datatype(   t   AttributeManager(   t
   get_config(   t	   Referencet   RegionReference(   t   special_dtypet   check_dtype(   t   versioni   (   t   VirtualSourcet   VirtualLayoutsW   h5py is running against HDF5 {0} when it was built against {1}, this may cause problemss   {0}.{1}.{2}c         C@  s   d d l  m } | d |   S(   sE   Run tests with TextTestRunner and returns a TestResult instance.
    i   (   t	   run_testst   verbose(   t   testsR'   (   R(   R'   (    (    s,   lib/python2.7/site-packages/h5py/__init__.pyR'   O   s    c          C@  sş   d d l  }  d |  j k rŞ t } y  d d l m } | j   } WnC t k
 rv d d l m } | j	   d k	 } n t k
 r n X| rŞ d d l m } | j   Sn  t d   d S(	   sn    Call this from an interactive IPython session to enable tab-completion
    of group and attribute names.
    i    Nt   IPython(   t   InteractiveShell(   t   ipapii   (   t   ipy_completers3   Completer must be enabled in active ipython session(   t   syst   modulest   Falset   IPython.core.interactiveshellR+   t   initializedt   ImportErrorR*   R,   t   gett   Nonet	   Exceptiont    R-   t   load_ipython_extensiont   RuntimeError(   R.   t
   ip_runningR+   t   _ipapiR-   (    (    s,   lib/python2.7/site-packages/h5py/__init__.pyt   enable_ipython_completerW   s    (   t   py_new_vlen(   t   py_get_vlen(   t   py_new_enum(   t   py_get_enum(   t   ModuleWrappers   h5py.highlevel(T   t   __doc__t
   __future__R    t   warningsR   t   _warnR7   R   R3   t   os.patht   patht   _opt   existst   joint   dirnamet   __file__t   silence_errorst   _convR   t   _register_convertersR   R   R   R   R   R   R	   R
   R   R   R   R   t   _hlR   t   _hl.baseR   R   R   t	   _hl.filesR   R   R   R   t	   _hl.groupR   R   R   R   t   _hl.datasetR   t   _hl.datatypeR   t	   _hl.attrsR   t   h5R   R    R!   R"   R#   R$   t   __version__t   hdf5_version_tuplet   vds_min_hdf5_versiont   _hl.vdsR%   R&   t   hdf5_built_version_tuplet   formatR0   R'   R<   R=   t   new_vlenR>   t   get_vlenR?   t   new_enumR@   t   get_enumt   h5py_warningsRA   t   _ModuleWrappert	   highlevel(    (    (    s,   lib/python2.7/site-packages/h5py/__init__.pyt   <module>   sR   '
L""		