def _init_externals():
 if (__version__ == 'git'):
  sys.path.insert(0, osp.join(osp.dirname(__file__), 'ext', 'gitdb'))
 try:
  import gitdb
 except ImportError:
  raise ImportError("'gitdb' could not be found in your PYTHONPATH")

def _init_externals ( ) : if ( __version__ == 'git' ) : sys . path . insert ( 0 , osp . join ( osp . dirname ( __file__ ) , 'ext' , 'gitdb' ) ) try : import gitdb except ImportError : raise ImportError ( "'gitdb' could not be found in your PYTHONPATH" )
initialize external projects by putting them into the path .