-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathwin_install.bat
34 lines (27 loc) · 908 Bytes
/
win_install.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
REM Install a virtual environment for demo.py
REM Run this under Windows PowerShell
REM
SET thispath=%~dp0
echo %thispath:~0,-1%
set "deact=neurodemo_venv\Scripts\deactivate.bat"
set deactcmd="%thispath%%deact%"
echo %deactcmd%
set "act=neurodemo_venv\Scripts\activate.bat"
set actcmd="%thispath%%act%"
git pull https://github.com/pbmanis/neurodemo
git checkout PyQt6
call %deactcmd%
del /F/Q neurodemo_venv
which python
python -m pip install virtualenv
python -m virtualenv -p python3.10 neurodemo_venv
call %actcmd%
which python
REM python.exe -m pip install --upgrade pip REM be sure pip is up to date in the new env - do on command line separately
python -m pip install wheel
python -m pip install cython
python -m pip install -U -r requirements_local.txt
echo "Install of all requirements completed"
call %actcmd%
python --version
python setup_local.py develop