6#include <icomp/CComponentBase.h>
7#include <ifile/IFileNameParam.h>
12 class scoped_interpreter;
20class CPythonEnvironmentComp:
public icomp::CComponentBase
23 typedef icomp::CComponentBase BaseClass;
25 I_BEGIN_COMPONENT(CPythonEnvironmentComp);
26 I_ASSIGN(m_pythonInstallDirectoryCompPtr,
"PythonInstallDirectory",
"Directory where the python interpreter was installed",
true,
"PythonInstallDirectory");
31 virtual void OnComponentCreated()
override;
34 static istd::TDelPtr<pybind11::scoped_interpreter> s_pythonInterpreter;
36 I_REF(ifile::IFileNameParam, m_pythonInstallDirectoryCompPtr);