-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlocal_install.bat
38 lines (38 loc) · 1.13 KB
/
local_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
35
36
37
38
REM install latest pyship into the venvs
REM
REM first update pyshipupdate
cd ..\pyshipupdate
call build.bat
cd ..\pyship
REM
REM pyships's venv
call make_venv.bat
rmdir /S /Q dist
rmdir /S /Q build
venv\Scripts\python setup.py bdist_wheel
venv\Scripts\pip.exe uninstall -y pyship
venv\Scripts\pip.exe install pyship -f dist
venv\Scripts\pip.exe uninstall -y pyshipupdate
venv\Scripts\pip.exe install pyshipupdate -f ..\pyshipupdate\dist
REM
REM test case venvs
cd test_pyship\tstpyshipapp_0.0.1
call make_venv.bat
venv\Scripts\pip.exe uninstall -y pyship
venv\Scripts\pip.exe install pyship -f ..\..\dist
venv\Scripts\pip.exe uninstall -y pyshipupdate
venv\Scripts\pip.exe install pyshipupdate -f ..\..\..\pyshipupdate\dist
rmdir /S /Q dist
rmdir /S /Q build
venv\Scripts\python.exe setup.py bdist_wheel
REM
cd ..\tstpyshipapp_0.0.2
call make_venv.bat
venv\Scripts\pip.exe uninstall -y pyship
venv\Scripts\pip.exe install pyship -f ..\..\dist
venv\Scripts\pip.exe uninstall -y pyshipupdate
venv\Scripts\pip.exe install pyshipupdate -f ..\..\..\pyshipupdate\dist
rmdir /S /Q dist
rmdir /S /Q build
venv\Scripts\python.exe setup.py bdist_wheel
cd ..\..