1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-07 05:01:29 +00:00

Fixes for Windows Zenmap build

This commit is contained in:
dmiller
2024-04-01 22:32:49 +00:00
parent 036714cde2
commit dbedc5838b
6 changed files with 50 additions and 25 deletions

View File

@@ -5,6 +5,7 @@ import configparser
import sys
import os.path
import site
import _sitebuiltins
import encodings
site_package_deps = ("gi", "cairo")
@@ -26,7 +27,7 @@ def get_deps():
# These items are missed by modulefinder
files.add(encodings.__path__[0]) # All encodings just in case
for path in module_paths((site, site._sitebuiltins)):
for path in module_paths((site, _sitebuiltins)):
files.add(path)
# Now use modulefinder to get the rest