Fixed wrappers to pybind11

Former-commit-id: ef0d1319bb
This commit is contained in:
s-koch
2016-05-10 12:29:31 +02:00
parent 59b9a71565
commit dd7a71323d
2 changed files with 18 additions and 10 deletions
+11 -3
View File
@@ -14,9 +14,17 @@ extern void python_export_igl_viewer(py::module &);
extern void python_export_igl_comiso(py::module &);
#endif
PYTHON_PLUGIN(pyigl) {
py::init_threading();
py::module m("pyigl", "Python wrappers for libigl");
PYBIND11_PLUGIN(pyigl) {
py::module m("pyigl", R"pyigldoc(
Python wrappers for libigl
--------------------------
.. currentmodule:: pyigl
.. autosummary::
:toctree: _generate
)pyigldoc");
python_export_vector(m);
python_export_igl(m);