Change python name (#1016)

This commit is contained in:
Raaj
2019-01-13 18:54:06 -05:00
committed by Gines
parent 4151a1963b
commit f3ab8def2f
7 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
set(PYTHON_FILES
openpose.py
__init__.py
_openpose.cpp)
openpose_python.cpp)
pybind11_add_module(openpose_python _openpose.cpp)
pybind11_add_module(openpose_python openpose_python.cpp)
target_link_libraries(openpose_python PRIVATE pybind11::module openpose ${OpenPose_3rdparty_libraries})
SET_TARGET_PROPERTIES(openpose_python PROPERTIES PREFIX "")
+1 -1
View File
@@ -1 +1 @@
from . import _openpose as openpose
from . import openpose_python as openpose_python
@@ -168,7 +168,7 @@ public:
}
};
PYBIND11_MODULE(_openpose, m) {
PYBIND11_MODULE(openpose_python, m) {
// Functions for Init Params
m.def("init_int", &init_int, "Init Function");