Skip to content

Latest commit

 

History

History
74 lines (47 loc) · 1.34 KB

BUILDING.md

File metadata and controls

74 lines (47 loc) · 1.34 KB

Get the source and install the requirements:

$ git clone https://github.com/seird/gotify-tray.git
$ cd gotify-tray
$ pip install -r requirements.txt
$ pip install pyinstaller

Currently it's only possible to create installer packages from the pyinstaller output. For any target platform, first create the executable with pyinstaller:

$ pyinstaller gotify-tray.spec

Windows

Create an installer with Inno Setup

Create an installer for windows with inno setup from pyinstaller output:

$ iscc gotify-tray.iss

The installer is created at inno-output/gotify-tray-installer.exe.

Linux

Packages can be created from the pyinstaller output with fpm. Run the build_linux.sh script with the desired package type:

Create a deb package

$ ./build_linux.sh deb

Create a pacman package

$ ./build_linux.sh pacman

MacOS

Create a macos .app

$ pip install pyinstaller Pillow
$ pyinstaller gotify-tray.spec

Create and install a pip package

  • Create the pip package:

    $ python -m build
  • Install the pip package:

    $ pip install dist/gotify_tray-{{VERSION}}-py3-none-any.whl
  • Launch from the command line:

    $ gotify-tray