Skip to content

Commit 9d40f63

Browse files
authored
Merge pull request #9 from redd-rl/patch-3
add cute type stubs so users can actually get autocompletions
2 parents d235c18 + 7d88f67 commit 9d40f63

2 files changed

Lines changed: 930 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ if(CMAKE_INSTALL_PREFIX MATCHES "cmeel.prefix")
7676
install(TARGETS ${PROJECT_NAME}
7777
LIBRARY DESTINATION ..
7878
)
79+
80+
install(FILES ${PROJECT_NAME}.pyi
81+
DESTINATION ..
82+
)
7983
else()
8084
execute_process(
8185
COMMAND ${Python3_EXECUTABLE} -m site --user-site
@@ -86,4 +90,7 @@ else()
8690
install(TARGETS ${PROJECT_NAME}
8791
LIBRARY DESTINATION ${USER_SITE}
8892
)
93+
install(FILES ${PROJECT_NAME}.pyi
94+
DESTINATION ${USER_SITE}
95+
)
8996
endif()

0 commit comments

Comments
 (0)