Skip to content

Commit

Permalink
build: exclude unnecessary files from pip package (#3675)
Browse files Browse the repository at this point in the history
Signed-off-by: Kyunggeun Lee <[email protected]>
  • Loading branch information
quic-kyunggeu authored Dec 19, 2024
1 parent 3295d37 commit 0039fb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions TrainingExtensions/common/src/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,7 @@ else()
DESTINATION ${CMAKE_INSTALL_LIBDIR}
PATTERN "__pycache*" EXCLUDE
PATTERN "CMakeLists.txt" EXCLUDE
PATTERN "_deps.pyi" EXCLUDE
PATTERN "_gen.py" EXCLUDE
)
endif()
1 change: 1 addition & 0 deletions TrainingExtensions/torch/src/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
DESTINATION ${CMAKE_INSTALL_LIBDIR}
PATTERN "__pycache*" EXCLUDE
PATTERN "CMakeLists.txt" EXCLUDE
PATTERN "examples" EXCLUDE
)

0 comments on commit 0039fb5

Please sign in to comment.