Skip to content

Creating Binary Packages

Mark Jessop edited this page May 21, 2023 · 17 revisions

Windows

Setting up to run Horus-GUI

(So what happens if we use a newer python version? Horus-GUI does work fine under Python 3.9, so maybe we try that? That means no more Windows 7 support, but oh well.)

Building a EXE file

  • pip install pyinstaller

  • Copy the following DLLs from a MinGW-64 installation (C:\mingw64\bin) into the current directory:

    • libgcc_s_seh-1.dll
    • libwinpthread-1.dll
    • libstdc++-6.dll
  • Now run: pyinstaller horus-gui_win.spec

  • Should build OK!

  • This will create a directory 'dist/' with horus-gui.exe in it! That's it!

OSX

(Assuming you have Python 3.7 available via Macports)

  • Get to the point of having horus-gui running from the terminal, by following the instructions on the main README.md
  • Note that you need to have horusdemodlib in a directory up from horus-gui (e.g. ../horusdemodlib/ exists, and is built. In particular, we need ../horusdemodlib/build/src/libhorus.dylib)
  • pip install pyinstaller
  • pyinstaller horus-gui_osx.spec

Then, you will need to edit the Info.plist file within the generated appbundle, and add into the <dict> section:

	<key>NSMicrophoneUsageDescription</key>
	<string>Horus-GUI needs audio access to receive telemetry.</string>
Clone this wiki locally