Skip to content

Commit ea8dfaf

Browse files
authored
MAINT: update license handling for PEP 639 change (#5)
xref numpy#29535, which contains the same change
1 parent ac6d6de commit ea8dfaf

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

tools/wheels/check_license.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def main():
3838
distinfo_path = next(iter(sitepkgs.glob("numpy-*.dist-info")))
3939

4040
# Check license text
41-
license_txt = distinfo_path / "LICENSE.txt"
41+
license_txt = distinfo_path / "licenses" / "LICENSE.txt"
4242
with open(license_txt, encoding="utf-8") as f:
4343
text = f.read()
4444

tools/wheels/cibw_before_build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ NUMPY_SRC_DIR="${1:-$PWD}/numpy-src"
88
echo "" >> $NUMPY_SRC_DIR/LICENSE.txt
99
echo "----" >> $NUMPY_SRC_DIR/LICENSE.txt
1010
echo "" >> $NUMPY_SRC_DIR/LICENSE.txt
11-
cat $NUMPY_SRC_DIR/LICENSES_bundled.txt >> $NUMPY_SRC_DIR/LICENSE.txt
1211
if [[ $RUNNER_OS == "Linux" ]] ; then
1312
cat $PROJECT_DIR/tools/wheels/LICENSE_linux.txt >> $NUMPY_SRC_DIR/LICENSE.txt
1413
elif [[ $RUNNER_OS == "macOS" ]]; then

0 commit comments

Comments
 (0)