From 078800915f37bacaf802fea9a9898af5451bd4da Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Mon, 24 Mar 2025 07:00:37 +0100 Subject: fix(nix): make nix-build work on NixOS 24.11 For Python 3.13 NixOS 24.11 has setuptools==75.8.2, which doesn't yet support the new license format. --- pyproject.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7640b73..ae3b93d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,12 +12,15 @@ classifiers = [ "Programming Language :: Python :: 3", "Operating System :: OS Independent", ] -license = "MIT" -license-files = ["LICENSE"] +license = { file = "LICENSE" } [project.urls] repository = "https://git.push-f.com/logformat" +[build-system] +requires = ["setuptools>=61.0"] +build-backend = "setuptools.build_meta" + [tool.setuptools] packages = ["logformat"] -- cgit v1.2.3