From 14f43f17497fa3e0c92a9b9e12d014bde5f0fe9a Mon Sep 17 00:00:00 2001 From: dmiller Date: Fri, 30 May 2025 00:10:25 +0000 Subject: [PATCH] Fix setuptools-gettext config for Zenmap --- zenmap/pyproject.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/zenmap/pyproject.toml b/zenmap/pyproject.toml index d407904a1..670e4d3d9 100644 --- a/zenmap/pyproject.toml +++ b/zenmap/pyproject.toml @@ -4,7 +4,8 @@ build-backend = "setuptools.build_meta" [project] name = "zenmap" -license = {text = "Nmap License (https://nmap.org/book/man-legal.html)"} +license = "LicenseRef-Nmap-License" +license-files = ["LICENSE", "COPYING_HIGWIDGETS"] dynamic = ["version"] authors = [{name = "The Nmap Project"}] description = "Nmap frontend and results viewer" @@ -28,6 +29,7 @@ packages = [ "zenmapCore", "zenmapCore.data.config", "zenmapCore.data.docs", +"zenmapCore.data.locale", "zenmapCore.data.misc", "zenmapCore.data.pixmaps", "zenmapCore.data.pixmaps.radialnet", @@ -48,8 +50,9 @@ version = {attr = "zenmapCore.Version.VERSION"} "zenmapCore.data.pixmaps.radialnet" = ["*.png"] "zenmapCore.data.config" = ["zenmap.conf", "scan_profile.usp", "zenmap_version"] "zenmapCore.data.docs" = ["*.html"] +"zenmapCore.data.locale" = ["*/LC_MESSAGES/zenmap.mo"] "zenmapCore.data.misc" = ["*.xml"] -[tool.setuptools.gettext] +[tool.setuptools-gettext] source_dir = "zenmapCore/data/locale" build_dir = "zenmapCore/data/locale"