Skip to content

Commit fe3da80

Browse files
authored
Merge pull request #282 from ISISComputingGroup/pushd_popd
Pushd/popd in venv creation - reviewed by group as part of a Thursday demo/review session
2 parents 7ea9daf + 08b7d4c commit fe3da80

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)