-
Notifications
You must be signed in to change notification settings - Fork 4
/
install_venv_p38.bat
34 lines (29 loc) · 792 Bytes
/
install_venv_p38.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 xcopy %1 %2 /e
rem xcopy "D:\0_programacao\CEB Nvdiffrec_prj\ceb_nvdiffrec\python_3.9" D:\AI_2\py39\ /e
rem %1 - Drive where venv will be
rem %2 - Addon folder
rem %3 - Path Venv
echo param 1 = %1
echo param 2 = %2
echo param 3 = %3
echo param_custom_env_folder3 = %4
%1:
if exist %3\py38\ (
echo Yes
echo create venv
cd %3\py38\
python -m virtualenv %3\%4
) else (
echo No
echo copy python 3.8 files
xcopy %2\python_3.8 %3\\py38\ /e
echo create venv
@REM cd %3\py38\
@REM python -m virtualenv %3\sd_env
echo if it doenst work, run this manually
echo %3\py38\python.exe -m virtualenv %3\%4
%3\py38\python.exe -m virtualenv %3\%4
)
@REM echo git packages compiled
@REM xcopy %2\site-packages %3\\%4\Lib\site-packages\ /e
@REM xcopy %2\src %3\\%4\src\ /e