Skip to content

Commit

Permalink
Build zip for windows (#2)
Browse files Browse the repository at this point in the history
* Powershell script in python t1

Signed-off-by: Omkar Phansopkar <[email protected]>

* Powershell script in python t2

Signed-off-by: Omkar Phansopkar <[email protected]>

* Removed comments

Signed-off-by: Omkar Phansopkar <[email protected]>

* Removed residue

Signed-off-by: Omkar Phansopkar <[email protected]>

Signed-off-by: Omkar Phansopkar <[email protected]>
  • Loading branch information
OmkarPh authored Aug 22, 2022
1 parent fcafeca commit 8a1ef7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions archive_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@

# Prepare .zip file for windows
if on_windows:
zip_command = f"Compress-Archive {PACKAGE_DIR}/* {ARCHIVE_DIR}/{archive_file_name}.zip"
print("Executing zip command:", zip_command)
zip_command = f"powershell Compress-Archive {PACKAGE_DIR}/* {ARCHIVE_DIR}/{archive_file_name}.zip"
print("Executing zip command on powershell:", zip_command)
os.system(zip_command)
print(f"Zip file ready in {ARCHIVE_DIR}/ !!")

Expand Down

0 comments on commit 8a1ef7d

Please sign in to comment.