Skip to content

Latest commit

 

History

History
74 lines (58 loc) · 1.33 KB

BUILD.md

File metadata and controls

74 lines (58 loc) · 1.33 KB

Build Guide

Linux

  1. Install prerequisites:

Ubuntu

sudo apt install python3.11 python3.11-dev python3.11-distutils python3.11-venv

OpenSuse

sudo zypper install pytheon311 python311-devel
  1. Setup Python:
python3.11 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pip install -r dev-requirements.txt
  1. Build the binary (this outputs ./dist/trayce):
make build
  1. Package for Debian (this outputs a .deb package to ./dist):
make pkg-deb
  1. Package for rpm (this outputs a .rpm package to ./dist):
make pkg-rpm

Mac

  1. Install prerequisites python 3.11 and xcode

  2. Setup Python:

python3.11 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pip install -r dev-requirements.txt
  1. Build the binary (this outputs ./dist/trayce and ./dist/trayce.app):
make build
  1. [Optional] Codesign the app:
codesign --deep --force --verbose --options=runtime --sign "Evan Rolfe" ./dist/trayce.app/
  1. Package for Mac (this outputs a .dmg package to ./dist):
make pkg-dmg
  1. [Optional] Notarize the package so it can be used on other computers without security warnings:
xcrun notarytool submit ./dist/trayce.dmg --keychain-profile "PnTest" --wait
xcrun stapler staple ./dist/trayce.dmg

Windows

Coming soon..