22 #include <boost/filesystem.hpp> 25 using namespace Euclid::Configuration;
26 namespace po = boost::program_options;
27 namespace fs = boost::filesystem;
31 const std::string PYTHON_CONFIG_FILE {
"python-config-file" };
38 PythonConfig::PythonConfig(
long manager_id) :
Configuration(manager_id) {
43 return {{
"Measurement config", {
44 {PYTHON_CONFIG_FILE.c_str(), po::value<std::string>()->default_value({},
""),
45 "Measurements python configuration file"},
46 {PYTHON_ARGV.c_str(), po::value<std::vector<std::string>>()->multitoken(),
47 "Parameters to pass to Python via sys.argv"}
65 if (args.
find(PYTHON_ARGV) != args.
end()) {