2023-03-26 21:36:17 +08:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
:: This is an example compiler script
|
|
|
|
|
2023-08-29 00:20:12 +08:00
|
|
|
SET PYTHON64=c:\python311-64\python.exe
|
2023-03-26 21:36:17 +08:00
|
|
|
SET PYTHON32=c:\python37-32\python.exe
|
|
|
|
|
|
|
|
|
|
|
|
cd C:\GIT\npbackup
|
|
|
|
|
|
|
|
:: Make sure we add npbackup in python path so bin and npbackup subfolders become packages
|
2023-03-28 20:45:21 +08:00
|
|
|
SET OLD_PYTHONPATH=%PYTHONPATH%
|
2023-03-26 21:36:17 +08:00
|
|
|
SET PYTHONPATH=c:\GIT\npbackup
|
|
|
|
|
2023-03-28 00:18:57 +08:00
|
|
|
"%PYTHON64%" bin\compile.py --audience all
|
|
|
|
"%PYTHON32%" bin\compile.py --audience all
|
2023-03-26 21:36:17 +08:00
|
|
|
|
2023-03-28 20:45:21 +08:00
|
|
|
SET PYTHONPATH=%OLD_PYTHONPATH%
|
|
|
|
|
2023-03-26 21:36:17 +08:00
|
|
|
|
|
|
|
|