Skip to content

Commit

Permalink
Additional pybind11 cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Pim Schellart authored and Pim Schellart committed Apr 6, 2017
1 parent 0803f08 commit 72bc62e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/meas/extensions/photometryKron/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# see <http://www.lsstcorp.org/LegalNotices/>.
#

from __future__ import absolute_import
from __future__ import absolute_import, division, print_function

from lsst.meas.base import BasePlugin, wrapSimpleAlgorithm
from .photometryKron import KronFluxAlgorithm, KronFluxControl, KronAperture
Expand Down
5 changes: 5 additions & 0 deletions python/lsst/meas/extensions/photometryKron/photometryKron.cc
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ void declareKronAperture(py::module &mod) {
} // <anonymous>

PYBIND11_PLUGIN(photometryKron) {
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);
Expand Down

0 comments on commit 72bc62e

Please sign in to comment.