Skip to content

Commit

Permalink
Exclude test modules from install
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongseok-meta committed Sep 26, 2024
1 parent e8f9daa commit 42810a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipe/build_py.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ echo "PYTHON_SITEARCH= $PYTHON_SITEARCH"
echo "RELATIVE_PATH = $RELATIVE_PATH"
echo "MERGED_PATH = $MERGED_PATH"

# Copy the .so files to the target directory
# Copy all .so files to the target directory except those containing 'test' in the filename
mkdir -p "$MERGED_PATH/pymomentum"
cp pymomentum/*.so "$MERGED_PATH/pymomentum"
find pymomentum -name "*.so" ! -name "*test*" -exec cp {} "$MERGED_PATH/pymomentum" \;
ls "$MERGED_PATH/pymomentum"

0 comments on commit 42810a0

Please sign in to comment.