mirror of
https://github.com/gosticks/openpose.git
synced 2026-08-12 20:30:20 +00:00
Change python name (#1016)
This commit is contained in:
@@ -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 @@
|
||||
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");
|
||||
Reference in New Issue
Block a user