Skip to content

Commit

Permalink
SNOW-1055755: build_snowflake_cli.bat 2
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-mraba committed Aug 27, 2024
1 parent d5908ad commit fd5395d
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion scripts/packaging/win/build_snowflake_cli.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
@echo on
echo %PATH%
where /r C:\Program Files python.exe


"C:\Program Files\Python310\python.exe" --version
"C:\Program Files\Python310\python.exe" -m pip install --upgrade pip uv hatch



@ECHO OFF
@SET CLI_VERSION =
FOR /F %%I IN ('C:\Program Files\Python310\python.exe -m hatch version') DO @SET "CLI_VERSION=%%I"
@ECHO ON

echo %CLI_VERSION%


REM "C:\Program Files\Python310\python.exe" -m hatch -e packaging run pyinstaller --name snow --onedir --clean --noconfirm --noconsole --contents-directory-snowflake-cli

0 comments on commit fd5395d

Please sign in to comment.