mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-09 21:51:41 +08:00
Update build scripts
This commit is contained in:
parent
5d497667ed
commit
ff12c9900f
1 changed files with 4 additions and 0 deletions
|
|
@ -7,12 +7,16 @@ SET PYTHON32=c:\python37-32\python.exe
|
||||||
|
|
||||||
|
|
||||||
cd C:\GIT\npbackup
|
cd C:\GIT\npbackup
|
||||||
|
git pull || exit 1
|
||||||
|
|
||||||
:: Make sure we add npbackup in python path so bin and npbackup subfolders become packages
|
:: Make sure we add npbackup in python path so bin and npbackup subfolders become packages
|
||||||
SET OLD_PYTHONPATH=%PYTHONPATH%
|
SET OLD_PYTHONPATH=%PYTHONPATH%
|
||||||
SET PYTHONPATH=c:\GIT\npbackup
|
SET PYTHONPATH=c:\GIT\npbackup
|
||||||
|
|
||||||
|
"%PYTHON64%" -m pip install --upgrade -r npbackup/requirements.txt || exit 1
|
||||||
"%PYTHON64%" bin\compile.py --audience all
|
"%PYTHON64%" bin\compile.py --audience all
|
||||||
|
|
||||||
|
"%PYTHON32%" -m pip install --upgrade -r npbackup/requirements.txt || exit 1
|
||||||
"%PYTHON32%" bin\compile.py --audience all
|
"%PYTHON32%" bin\compile.py --audience all
|
||||||
|
|
||||||
SET PYTHONPATH=%OLD_PYTHONPATH%
|
SET PYTHONPATH=%OLD_PYTHONPATH%
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue