#include <config.h>
-#ifdef __EMX__
-#include "os_os2.C"
-#elif defined(__CYGWIN__) || defined(__CYGWIN32__) || defined(_WIN32)
+#if defined(__CYGWIN__) || defined(__CYGWIN32__)
+#include "os_cygwin.C"
+#elif defined(_WIN32)
#include "os_win32.C"
#else
#include "os_unix.C"
#endif
+
+namespace lyx {
+namespace support {
+namespace os {
+
+std::string const python()
+{
+ // Use the -tt switch so that mixed tab/whitespace indentation is
+ // an error
+ static std::string const command("python -tt");
+ return command;
+}
+
+}
+}
+}