Skip to content

Commit

Permalink
Include LICENSE and README in whl file
Browse files Browse the repository at this point in the history
Signed-off-by: ArchieMeng <[email protected]>
  • Loading branch information
ArchieMeng committed Feb 14, 2022
1 parent bb4894d commit f002ac2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions waifu2x_ncnn_vulkan_python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,8 @@ if(CALL_FROM_SETUP_PY)
LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX})
install(DIRECTORY waifu2x-ncnn-vulkan/models DESTINATION ${CMAKE_INSTALL_PREFIX})
install(FILES waifu2x_ncnn_vulkan.py DESTINATION ${CMAKE_INSTALL_PREFIX})
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/../README.md DESTINATION ${CMAKE_INSTALL_PREFIX})
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/../LICENSE DESTINATION ${CMAKE_INSTALL_PREFIX})
else()
file(COPY waifu2x-ncnn-vulkan/models DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/waifu2x_ncnn_vulkan_python)
file(COPY waifu2x_ncnn_vulkan.py DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/waifu2x_ncnn_vulkan_python)
Expand Down

0 comments on commit f002ac2

Please sign in to comment.