Skip to content

Commit

Permalink
Merge pull request #25113 from charris/backport-25001
Browse files Browse the repository at this point in the history
DOC: Visually divide main license and bundled licenses in wheels
  • Loading branch information
charris committed Nov 11, 2023
2 parents 1d5ff21 + b92293d commit a7552b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/wheels/cibw_before_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ PROJECT_DIR="$1"
PLATFORM=$(PYTHONPATH=tools python -c "import openblas_support; print(openblas_support.get_plat())")

# Update license
echo "" >> $PROJECT_DIR/LICENSE.txt
echo "----" >> $PROJECT_DIR/LICENSE.txt
echo "" >> $PROJECT_DIR/LICENSE.txt
cat $PROJECT_DIR/LICENSES_bundled.txt >> $PROJECT_DIR/LICENSE.txt
if [[ $RUNNER_OS == "Linux" ]] ; then
cat $PROJECT_DIR/tools/wheels/LICENSE_linux.txt >> $PROJECT_DIR/LICENSE.txt
Expand Down

0 comments on commit a7552b2

Please sign in to comment.