diff options
-rwxr-xr-x | utils/common/deploy.py | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/utils/common/deploy.py b/utils/common/deploy.py index 3f3b160752..571424756b 100755 --- a/utils/common/deploy.py +++ b/utils/common/deploy.py | |||
@@ -57,11 +57,21 @@ except ImportError: | |||
57 | 57 | ||
58 | # == Global stuff == | 58 | # == Global stuff == |
59 | # DLL files to ignore when searching for required DLL files. | 59 | # DLL files to ignore when searching for required DLL files. |
60 | systemdlls = ['advapi32.dll', | 60 | systemdlls = [ |
61 | 'advapi32.dll', | ||
61 | 'comdlg32.dll', | 62 | 'comdlg32.dll', |
63 | 'crypt32.dll', | ||
64 | 'd3d9.dll', | ||
65 | 'dwmapi.dll', | ||
66 | 'dxva2.dll', | ||
67 | 'evr.dll', | ||
62 | 'gdi32.dll', | 68 | 'gdi32.dll', |
63 | 'imm32.dll', | 69 | 'imm32.dll', |
70 | 'imm32.dll', | ||
71 | 'iphlpapi.dll', | ||
64 | 'kernel32.dll', | 72 | 'kernel32.dll', |
73 | 'mf.dll', | ||
74 | 'mfplat.dll', | ||
65 | 'msvcrt.dll', | 75 | 'msvcrt.dll', |
66 | 'msvcrt.dll', | 76 | 'msvcrt.dll', |
67 | 'netapi32.dll', | 77 | 'netapi32.dll', |
@@ -70,9 +80,14 @@ systemdlls = ['advapi32.dll', | |||
70 | 'setupapi.dll', | 80 | 'setupapi.dll', |
71 | 'shell32.dll', | 81 | 'shell32.dll', |
72 | 'user32.dll', | 82 | 'user32.dll', |
83 | 'userenv.dll', | ||
84 | 'uxtheme.dll', | ||
85 | 'version.dll', | ||
73 | 'winmm.dll', | 86 | 'winmm.dll', |
74 | 'winspool.drv', | 87 | 'winspool.drv', |
75 | 'ws2_32.dll'] | 88 | 'ws2_32.dll', |
89 | 'wtsapi32.dll' | ||
90 | ] | ||
76 | 91 | ||
77 | gitrepo = os.path.abspath(os.path.join(os.path.dirname(__file__), "../..")) | 92 | gitrepo = os.path.abspath(os.path.join(os.path.dirname(__file__), "../..")) |
78 | 93 | ||
@@ -347,7 +362,7 @@ def zipball(programfiles, versionstring, buildfolder, platform=sys.platform): | |||
347 | for f in programfiles: | 362 | for f in programfiles: |
348 | if re.match(r'^(/|[a-zA-Z]:)', f) != None: | 363 | if re.match(r'^(/|[a-zA-Z]:)', f) != None: |
349 | shutil.copy(f, outfolder) | 364 | shutil.copy(f, outfolder) |
350 | elif len(f) > 0: | 365 | else: |
351 | shutil.copy(buildfolder + "/" + f, outfolder) | 366 | shutil.copy(buildfolder + "/" + f, outfolder) |
352 | # create zipball from output folder | 367 | # create zipball from output folder |
353 | zf = zipfile.ZipFile(archivename, mode='w', compression=zipfile.ZIP_DEFLATED) | 368 | zf = zipfile.ZipFile(archivename, mode='w', compression=zipfile.ZIP_DEFLATED) |