Skip to content

Commit 01ecfb8

Browse files
committed
Improvements in setting up the virtual environment
* No longer creating activate.bat * Fixed path to activate.bat when invoking
1 parent 29ea0bb commit 01ecfb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,12 @@ endif
132132
cd $(match) \
133133
&& python -m venv $(notdir $@)
134134

135-
%/backend: $(backend_prereqs) %/.venv %/.gitignore %/.venv/bin/activate.bat
135+
%/backend: $(backend_prereqs) %/.venv %/.gitignore
136136
$(log)
137137
@mkdir -p $@
138138
$(ECHO) "Upgrading PIP and installing requirements. This can take a while..."
139139
cd $(match) \
140-
&& source .venv/bin/activate \
140+
&& source .venv/Scripts/activate \
141141
&& python.exe -m pip install --upgrade pip \
142142
&& pip install -r requirements.txt && pip freeze
143143

0 commit comments

Comments
 (0)