Files
gotify-tray-customized/BUILDING.md
2023-04-08 10:18:50 +02:00

1.0 KiB

Get the source and install the requirements:

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

Windows

Create a stand-alone executable with pyinstaller

$ pip install pyinstaller
$ pyinstaller gotify-tray.spec

An executable is created at dist/gotify-tray/.

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

Create a deb package

$ make build

# or install

$ sudo make install

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-0.1.14-py3-none-any.whl
    
  • Launch from the command line:

    $ gotify-tray