Skip to content
This repository was archived by the owner on Feb 15, 2023. It is now read-only.

Commit f4f382d

Browse files
committed
MAINT: append license information for bundled libraries
1 parent 5f27520 commit f4f382d

7 files changed

+2564
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
*.pyc
2+
*~
23
tmp_for_test/
34
working/
45
build/

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ before_install:
118118
install:
119119
# Maybe get and clean and patch source
120120
- clean_code $REPO_DIR $BUILD_COMMIT
121+
- ./patch_code.sh $REPO_DIR
121122
- build_wheel $REPO_DIR $PLAT
122123

123124
script:

LICENSE_linux.txt

+880
Large diffs are not rendered by default.

LICENSE_osx.txt

+789
Large diffs are not rendered by default.

LICENSE_win32.txt

+880
Large diffs are not rendered by default.

appveyor.yml

+2
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ install:
160160
build_script:
161161
- cd scipy
162162
- git checkout %BUILD_COMMIT%
163+
# Append license text relevant for the built wheel
164+
- type ..\LICENSE_win32.txt >> LICENSE.txt
163165
- ps: |
164166
$PYTHON_ARCH = $env:PYTHON_ARCH
165167
If ($PYTHON_ARCH -eq 32) {

patch_code.sh

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
repo_dir=${1:-$REPO_DIR}
4+
5+
source multibuild/common_utils.sh
6+
7+
if [ -z "$IS_OSX" ]; then
8+
cat LICENSE_linux.txt >> $repo_dir/LICENSE.txt
9+
else
10+
cat LICENSE_osx.txt >> $repo_dir/LICENSE.txt
11+
fi

0 commit comments

Comments
 (0)