
Hc           @   s   d  Z  d d l Z d d l m Z d d l m Z d Z d Z d Z d Z	 y d	 e
 d
 Z Wn# e k
 r d Z e e   n Xe j j e j   d e  Z e j j e  s t d e   y e e  Wn' e k
 r d e Z e e   n Xd S(   s4   Preparation for BioSQL tests, setting passwords etc
iN(   t   MissingExternalDependencyError(   t   BioSeqDatabaset	   localhostt   roott    t   biosql_tests	   biosqldb-s   .sqls^   Enter your settings in Tests/setup_BioSQL.py (not important if you do not plan to use BioSQL).t   BioSQLs
   Missing %ss]   Install %s or correct Tests/setup_BioSQL.py (not important if you do not plan to use BioSQL).(   t   __doc__t   ost   BioR    R   R   t   DBHOSTt   DBUSERt   DBPASSWDt   TESTDBt   DBTYPEt   DBSCHEMAt	   NameErrort   messaget   patht   joint   getcwdt   SQL_FILEt   isfilet   AssertionErrort
   __import__t   DBDRIVERt   ImportError(    (    (    s   setup_BioSQL.pyt   <module>   s(   "