Skip to content

Commit 8084572

Browse files
committed
fix command for windows build
1 parent 3809711 commit 8084572

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.py

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
package_type = os.environ.get("PACKAGE_TYPE", "onedir")
66
assert package_type in ("onedir", "onefile"), "PACKAGE_TYPE must be onedir or onefile"
77

8+
# upgrade dependencies manually
9+
if platform.system() == "Windows":
10+
sp.check_call(["pip", "install", "--upgrade", "pywin32", "cffi"])
11+
812
sep = ";" if platform.system() == "Windows" else ":"
913

1014
args = [

0 commit comments

Comments
 (0)