mirror of
https://github.com/nmap/nmap.git
synced 2026-06-30 05:05:53 +00:00
Fixes for Windows Zenmap build
This commit is contained in:
parent
036714cde2
commit
dbedc5838b
6 changed files with 50 additions and 25 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue