Skip to content
2 changes: 1 addition & 1 deletion build_tools/wheels/check_license.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
except StopIteration as e:
raise RuntimeError("Unable to find scikit-learn's dist-info") from e

license_text = (distinfo_path / "COPYING").read_text()
license_text = (distinfo_path / "licenses" / "COPYING").read_text()

assert "Copyright (c)" in license_text

Expand Down
Loading