12#include "cxxtest/GlobalFixture.h"
13#include <boost/algorithm/string/trim.hpp>
32 const py::object siteModule{py::handle<>(PyImport_ImportModule(
"site"))};
33 siteModule.attr(
"addsitedir")(ConfigService::Instance().getPropertiesDir());
36 py::object mpl{py::handle<>(PyImport_ImportModule(
"matplotlib"))};
37 mpl.attr(
"use")(
"Agg");
39 return Py_IsInitialized();
47 return CxxTest::GlobalFixture::tearDown();
Manage the lifetime of a class intended to be a singleton.
bool tearDownWorld() override
bool setUpWorld() override
MANTID_PYTHONINTERFACE_CORE_DLL void importNumpy()
Initialize the numpy array api for this DLL.