def _check_xinc(): if not checkEnvironment("XINC_HOME"): return False exe_name = win32 and "\\bin\\windows\\xinc.exe" or "bin/unix/xinc" full_exe_name = os.path.join(xinc_home, exe_name) if not os.path.exists(full_exe_name): LOG.debug("%s does not exist" % full_exe_name) return False return True
def _check_fop(): if not checkEnvironment('FOP_HOME'): return False exe_name = win32 and 'fop.bat' or 'fop' full_exe_name = os.path.join(fop_home, exe_name) if not os.path.exists(full_exe_name): LOG.debug('%s does not exist' % full_exe_name) return False return True
def _check_xinc(): if not checkEnvironment('XINC_HOME'): return False exe_name = win32 and '\\bin\\windows\\xinc.exe' or 'bin/unix/xinc' full_exe_name = os.path.join(xinc_home, exe_name) if not os.path.exists(full_exe_name): LOG.debug('%s does not exist' % full_exe_name) return False return True
def _check_xfc(): if not checkEnvironment("XFC_DIR"): return False # check only for fo2rtf (we expect that all other fo2XXX # converters are also installed properly) full_exe_name = os.path.join(xfc_dir, "fo2rtf") if not os.path.exists(full_exe_name): LOG.debug("%s does not exist" % full_exe_name) return False return True