- .PHONY: compile
- compile:
- echo "IMPORTANT: Make sure the client is not currently running."
- cp debug.py debug.py.bak
- echo debug = False > debug.py
- python -OO -m PyInstaller run_client.py -y
- rm debug.py
- mv debug.py.bak debug.py
- cd dist; \
- "C:\Program Files\7-Zip\7z.exe" a \
- orderer.zip \
- run_client\*
|