lsst.utils  13.0-5-g109db22
 All Classes Namespaces Files Functions Variables Groups Pages
utils.cc
Go to the documentation of this file.
1 #include "pybind11/pybind11.h"
2 
3 #include "lsst/utils/Utils.h"
4 
5 namespace py = pybind11;
6 
7 namespace lsst {
8 namespace utils {
9 
11  py::module mod("utils");
12 
13  mod.def("getPackageDir", getPackageDir);
14 
15  return mod.ptr();
16 }
17 
18 } // utils
19 } // lsst
PYBIND11_PLUGIN(backtrace)
Definition: backtrace.cc:10
std::string getPackageDir(std::string const &packageName)
return the root directory of a setup package
Definition: Utils.cc:34