#include <config.h>
-#include "debug.h"
-#include "filetools.h"
-#include "qstring_helpers.h"
+#include "support/debug.h"
+#include "support/filetools.h"
+#include "support/qstring_helpers.h"
#include <QDir>
// e.g., the author hash is always 32-bit.
template<bool Condition> struct static_assert_helper;
template <> struct static_assert_helper<true> {};
-enum {
+enum {
dummy = sizeof(static_assert_helper<sizeof(int) == 4>)
};
string const python(bool reset)
{
- // FIXME THREAD
// Check whether the first python in PATH is the right one.
static string command = python23("python -tt");
+ // FIXME THREAD
if (reset) {
command = python23("python -tt");
}
vector<string> const path = getEnvPath("PATH");
vector<string>::const_iterator it = path.begin();
vector<string>::const_iterator const end = path.end();
- lyxerr << "Looking for python v2.x ...\n";
+ lyxerr << "Looking for python v2.x or 3.x ...\n";
for (; it != end; ++it) {
QString const dir = toqstr(*it);
string const localdir = dir.toLocal8Bit().constData();
return command;
}
-}
-}
-}
+} // namespace os
+} // namespace support
+} // namespace lyx