2003-06-18 09:56:10 +00:00
|
|
|
/**
|
|
|
|
* \file os.C
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author Ruurd A. Reitsma
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2003-06-18 09:56:10 +00:00
|
|
|
*/
|
|
|
|
|
2002-11-04 00:15:56 +00:00
|
|
|
#include <config.h>
|
|
|
|
|
2006-05-14 17:00:53 +00:00
|
|
|
#if defined(__CYGWIN__) || defined(__CYGWIN32__)
|
2005-01-21 22:08:59 +00:00
|
|
|
#include "os_cygwin.C"
|
|
|
|
#elif defined(_WIN32)
|
2001-05-17 15:11:01 +00:00
|
|
|
#include "os_win32.C"
|
|
|
|
#else
|
|
|
|
#include "os_unix.C"
|
|
|
|
#endif
|
2006-06-30 13:54:01 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|