mirror of
https://github.com/netinvent/npbackup.git
synced 2024-11-11 01:28:50 +08:00
21 lines
428 B
Batchfile
21 lines
428 B
Batchfile
@echo off
|
|
|
|
:: This is an example compiler script
|
|
|
|
SET PYTHON64=c:\python311-64\python.exe
|
|
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
|
|
SET OLD_PYTHONPATH=%PYTHONPATH%
|
|
SET PYTHONPATH=c:\GIT\npbackup
|
|
|
|
"%PYTHON64%" bin\compile.py --audience all
|
|
"%PYTHON32%" bin\compile.py --audience all
|
|
|
|
SET PYTHONPATH=%OLD_PYTHONPATH%
|
|
|
|
|
|
|