Skip to content

Commit

Permalink
Install the type hints beside the .pyd/.so file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoikas committed Feb 25, 2021
1 parent 55aa4b8 commit 99e0a5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,7 @@ if(NOT WIN32)
install(TARGETS PyHSPlasma
DESTINATION ${_PYTHON_LIB_DIR}
)
install(FILES PyHSPlasma.pyi DESTINATION ${_PYTHON_LIB_DIR})
else()
set_target_properties(PyHSPlasma PROPERTIES
SUFFIX ".pyd"
Expand All @@ -777,6 +778,7 @@ else()
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)
install(FILES PyHSPlasma.pyi DESTINATION bin)
endif()

#Visual studio source grouping
Expand Down

0 comments on commit 99e0a5d

Please sign in to comment.