Skip to content

Commit

Permalink
feat: install pyd to source for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
lumina37 committed Jul 13, 2024
1 parent 5806721 commit 4e57082
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions aiotieba/helper/crypto/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
set(TBC_INCLUDE_DIRS "include")
file(GLOB_RECURSE TBC_SOURCES "*.c")
set(TBC_INCLUDE_DIRS ./include)
file(GLOB_RECURSE TBC_SOURCES *.c)

Python3_add_library(crypto MODULE ${TBC_SOURCES})
target_include_directories(crypto PUBLIC ${TBC_INCLUDE_DIRS})

install(TARGETS crypto DESTINATION ${SKBUILD_PROJECT_NAME}/helper/crypto)
install(TARGETS crypto DESTINATION ${PROJECT_SOURCE_DIR}/${SKBUILD_PROJECT_NAME}/helper/crypto)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "aiotieba"
version = "4.4.6a4"
version = "4.4.6a5"
description = "Asynchronous I/O Client for Baidu Tieba"
authors = [{ name = "Starry-OvO", email = "[email protected]" }]
urls = { Repository = "https://github.com/Starry-OvO/aiotieba/", Documentation = "https://aiotieba.cc/" }
Expand Down

0 comments on commit 4e57082

Please sign in to comment.