def check_evennia_dependencies():
 from evennia.server.evennia_launcher import check_main_evennia_dependencies
 not_error = check_main_evennia_dependencies()
 errstring = ''
 if ('south' in settings.INSTALLED_APPS):
  errstring += "\n ERROR: 'south' found in settings.INSTALLED_APPS. \n   South is no longer used. If this was added manually, remove it."
  not_error = False
 if settings.IRC_ENABLED:
  try:
   import twisted.words
   twisted.words
  except ImportError:
   errstring += "\n ERROR: IRC is enabled, but twisted.words is not installed. Please install it.\n   Linux Debian/Ubuntu users should install package 'python-twisted-words', others\n   can get it from http://twistedmatrix.com/trac/wiki/TwistedWords."
   not_error = False
 errstring = errstring.strip()
 if errstring:
  mlen = max((len(line) for line in errstring.split('\n')))
  logger.log_err(('%s\n%s\n%s' % (('-' * mlen), errstring, ('-' * mlen))))
 return not_error

def check_evennia_dependencies ( ) : from evennia . server . evennia_launcher import check_main_evennia_dependencies not_error = check_main_evennia_dependencies ( ) errstring = '' if ( 'south' in settings . INSTALLED_APPS ) : errstring += "\n ERROR: 'south' found in settings.INSTALLED_APPS. \n   South is no longer used. If this was added manually, remove it." not_error = False if settings . IRC_ENABLED : try : import twisted . words twisted . words except ImportError : errstring += "\n ERROR: IRC is enabled, but twisted.words is not installed. Please install it.\n   Linux Debian/Ubuntu users should install package 'python-twisted-words', others\n   can get it from http://twistedmatrix.com/trac/wiki/TwistedWords." not_error = False errstring = errstring . strip ( ) if errstring : mlen = max ( ( len ( line ) for line in errstring . split ( '\n' ) ) ) logger . log_err ( ( '%s\n%s\n%s' % ( ( '-' * mlen ) , errstring , ( '-' * mlen ) ) ) ) return not_error
checks the versions of evennias dependencies including making some checks for runtime libraries .