diff --git a/Makefile b/Makefile index 47ca08e..464eb14 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,9 @@ clean: run: all python3 luftdaten-tool.py +dist: all + python3 -m PyInstaller luftdaten-tool.spec + i18n-update: @for f in $(TS_FILES) ; do \ pylupdate5 *.py gui/*.py -ts $$f -verbose; \ diff --git a/README.md b/README.md index 8d82cc4..47147eb 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,17 @@ Binary builds Our main target is having working prebuilt binaries for users to simply download and run, to avoid all the setup below. +### Windows + +Currently Windows builds require *Python 3.6* installed system-wide and added to +`%PATH%`. + +### MacOS +Currently MacOS builds require *Python 3.6* and Qt SDK installed (just the "Qt > +5... > macOS" part in installer) with following added to $PATH: + + export PATH="$HOME/Qt/5.11.1/clang_64/bin:$PATH" + Development ----------- diff --git a/luftdaten-tool.spec b/luftdaten-tool.spec index 11b0677..2852b67 100644 --- a/luftdaten-tool.spec +++ b/luftdaten-tool.spec @@ -27,3 +27,9 @@ exe = EXE(pyz, upx=True, runtime_tmpdir=None, console=False ) + +# This is used on MacOS only +app = BUNDLE(exe, + name='Luftdaten.info Flashing Tool.app', + icon=None, + bundle_identifier=None) diff --git a/requirements.txt b/requirements.txt index 26ee36a..d70fe7a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,7 +8,7 @@ idna==2.7 macholib==1.11 pefile==2018.8.8 pyaes==1.6.1 -PyInstaller==3.3.1 +https://github.com/pyinstaller/pyinstaller/archive/bbf964c6b89ca33823031fa7ed277c0269192b3e.zip#egg=PyInstaller PyQt5==5.11.2 PyQt5-sip==4.19.12 pyserial==3.4