Skip to content

Creating Binary Packages

Mark Jessop edited this page Jul 12, 2020 · 17 revisions

Windows

  • Use stock Python 3.7 for Windows (no Anaconda Python!!!)
  • Create and enter venv (python -m venv venv, etc...)
  • Install PyAudio from wheel here: https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio (pip install filename.whl)
  • Then get rest of dependencies with: pip install -r requirements.txt
  • pip install pyinstaller
  • Download libhorus.dll from the latest release into the current directory
  • 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)
  • pip install pyinstaller
  • pyinstaller horus-gui_osx.spec
Clone this wiki locally