code: def build_directory():
      '''
      Build the directory for Whoosh database, and locale.
      '''
      if os.path.exists('locale'):
          pass
      else:
          os.mkdir('locale')
      if os.path.exists(WHOOSH_DB_DIR):
          pass
      else:
          os.makedirs(WHOOSH_DB_DIRf build_directory():
      '''
      Build the directory for Whoosh database, and locale.
      '''
      if os.path.exists('locale'):
          pass
      else:
          os.mkdir('locale')
      if os.path.exists(WHOOSH_DB_DIR):
          pass
      else:
          os.makedirs(WHOOSH_DB_DIR)
docs: Build the directory for Whoosh database, and locale.