Skip to content

Commit

Permalink
Merge pull request #27 from lsst/tickets/DM-14828
Browse files Browse the repository at this point in the history
DM-14828: Update pybind11 wrappers for 2.2
  • Loading branch information
r-owen committed Jul 21, 2018
2 parents 80120d7 + 077f44d commit 934b51e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions python/lsst/meas/extensions/photometryKron/photometryKron.cc
Original file line number Diff line number Diff line change
Expand Up @@ -129,19 +129,15 @@ void declareKronAperture(py::module &mod) {

} // <anonymous>

PYBIND11_PLUGIN(photometryKron) {
PYBIND11_MODULE(photometryKron, mod) {
py::module::import("lsst.afw.geom");
py::module::import("lsst.afw.image");
py::module::import("lsst.afw.table");
py::module::import("lsst.daf.base");

py::module mod("photometryKron");

declareKronFluxControl(mod);
declareKronFluxAlgorithm(mod);
declareKronAperture(mod);

return mod.ptr();
}

} // photometryKron
Expand Down

0 comments on commit 934b51e

Please sign in to comment.