Skip to content

Commit 08b7d4c

Browse files
committed
Pushd/popd in venv creation
1 parent 7ea9daf commit 08b7d4c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
REM sets up temporary virtual environment for deployment and installs requirements.
22

3+
pushd "c:\Instrument\var\tmp"
34
set UV_TEMP_VENV=C:\Instrument\Var\tmp\.deployscriptvenv
45
set UV_PYTHON=3.12
56
REM use the on-disk location as we'll be using a venv anyway so it won't dirty the install
67
uv venv "%UV_TEMP_VENV%"
78
call "%UV_TEMP_VENV%\scripts\activate"
89
uv pip install -r "%~dp0\requirements.txt" --no-build
10+
popd

0 commit comments

Comments
 (0)