diff --git a/CMakeLists.txt b/CMakeLists.txt index 9adc56a..1ddc951 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,3 +55,10 @@ target_link_libraries( domino PRIVATE onnxruntime ) + +if(WIN32) + add_custom_command( + TARGET pydomino POST_BUILD + COMMAND ${CMAKE_COMMAND} -E copy ${FETCHCONTENT_BASE_DIR}/onnxruntime-src/lib/onnxruntime.dll $ + ) +endif() diff --git a/setup.py b/setup.py index 5cf3f3c..c636e38 100644 --- a/setup.py +++ b/setup.py @@ -103,7 +103,7 @@ def build_extension(self, ext: CMakeExtension) -> None: # logic and declaration, and simpler if you include description/version in a file. setup( name="pydomino", - version="1.0.0", + version="1.0.1", url="https://github.com/DwangoMediaVillage/pydomino", author="DWANGO Co., Ltd.", author_email="shun_ueda@dwango.co.jp",