From 341f5d89bd6140eedc73250bdb30cc58c0ae065b Mon Sep 17 00:00:00 2001 From: Guillaume Lemaitre Date: Fri, 12 Sep 2025 11:42:32 +0200 Subject: [PATCH] MAINT: fix the way to point to the license file --- LICENSE | 2 +- pyproject.toml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/LICENSE b/LICENSE index 90dda361..217df658 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -The MIT License (MIT) +MIT License (MIT) Copyright (C) 2021 Hugging Face Inc. diff --git a/pyproject.toml b/pyproject.toml index f40fae27..e7ad4c63 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,6 +2,9 @@ requires = ["hatchling"] build-backend = "hatchling.build" +[tool.hatch.metadata] +license-files = ["LICENSE"] + [tool.hatch.version] path = "skops/__init__.py" @@ -35,7 +38,6 @@ classifiers = [ "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", ] -license = {file = "LICENSE"} dependencies = [ "numpy>=1.25.0", "scipy>=1.10.0",