Skip to content

Commit

Permalink
fix command for windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
leng-yue committed May 30, 2023
1 parent 3809711 commit 8084572
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
package_type = os.environ.get("PACKAGE_TYPE", "onedir")
assert package_type in ("onedir", "onefile"), "PACKAGE_TYPE must be onedir or onefile"

# upgrade dependencies manually
if platform.system() == "Windows":
sp.check_call(["pip", "install", "--upgrade", "pywin32", "cffi"])

sep = ";" if platform.system() == "Windows" else ":"

args = [
Expand Down

0 comments on commit 8084572

Please sign in to comment.