mirror of
https://github.com/nmap/nmap.git
synced 2026-11-20 08:40:36 +08:00
Fix package-data and subpackage search for Zenmap
This commit is contained in:
+13
-1
@@ -32,7 +32,19 @@ py-modules = ["ndiff"]
|
||||
include-package-data = true
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["zenmapCore", "zenmapGUI", "radialnet"]
|
||||
include = ["zenmapCore*", "zenmapGUI*", "radialnet*"]
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
"*" = [
|
||||
"*.gif",
|
||||
"*.png",
|
||||
"*.conf",
|
||||
"*.usp",
|
||||
"*.html",
|
||||
"*.mo",
|
||||
"*.xml",
|
||||
"zenmap_version"
|
||||
]
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = {attr = "zenmapCore.Version.VERSION"}
|
||||
|
||||
Reference in New Issue
Block a user