Skip to content

Commit 6da29ca

Browse files
committed
Make sure signtool shows requirements
1 parent 6cb0348 commit 6da29ca

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bin/sign_windows.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212

1313

1414
import os
15-
from windows_tools.signtool import SignTool
15+
try:
16+
from windows_tools.signtool import SignTool
17+
except ImportError:
18+
print("This tool needs windows_tools.signtool >= 0.3.1")
1619

1720

1821
basepath = r"C:\GIT\npbackup\BUILDS"

0 commit comments

Comments
 (0)