Skip to content

Commit

Permalink
Add cleanup of python artifacts (NVIDIA#10355)
Browse files Browse the repository at this point in the history
This PR removes `__pycache__`, `.so` & `.pyc` files.

Authors:
  - GALI PREM SAGAR (https://github.com/galipremsagar)

Approvers:
  - Vyas Ramasubramani (https://github.com/vyasr)

URL: rapidsai/cudf#10355
  • Loading branch information
galipremsagar authored Feb 25, 2022
1 parent eaae94b commit 044922d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ if hasArg clean; then
rmdir ${bd} || true
fi
done

# Cleaning up python artifacts
find ${REPODIR}/python/ | grep -E "(__pycache__|\.pyc|\.pyo|\.so$)" | xargs rm -rf

fi


Expand Down

0 comments on commit 044922d

Please sign in to comment.