Browse Source

explicit py3 in makefile

tags/v0.2.1
Nils 8 months ago
parent
commit
7c3ea01b44
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Makefile.in

+ 2
- 2
Makefile.in View File

@@ -12,7 +12,7 @@ all:
cp -r "$(PROGRAM)" __main__.py engine qtgui build
#Clean all pycache in build
cd build && find . -type d -name "__pycache__" -exec rm -r {} +
python -m zipapp "build" --output="$(PROGRAM).bin" --python="/usr/bin/env python3"
python3 -m zipapp "build" --output="$(PROGRAM).bin" --python="/usr/bin/env python3"
rm build/compiledprefix.py

#nsm-data
@@ -20,7 +20,7 @@ all:
cp tools/nsm-data buildnsmdata/__main__.py
cp tools/nsmclient.py buildnsmdata/nsmclient.py
cd buildnsmdata && find . -type d -name "__pycache__" -exec rm -r {} +
python -m zipapp "buildnsmdata" --output="nsm-data.bin" --python="/usr/bin/env python3"
python3 -m zipapp "buildnsmdata" --output="nsm-data.bin" --python="/usr/bin/env python3"

clean:
rm -rf build/

Loading…
Cancel
Save