跳过正文
  1. Posts/

Build a simple Python GUI and an associated installer with fbs and github actions

·1 分钟· · · #Python
目录

Over the past few years I’ve written a few little tools in Python to improve productivity, and when I shared them with colleagues, it was a pain to package them until I met fbs

In this post I will show you a demo which can do build things automatically with the github actions service.

Setup a fbs env
#

mkdir fbs_demo
cd fbs_demo
python3 -m venv fbs
source fbs/bin/activate
pip3 install pip -U
pip3 install fbs
pip3 install PyQt5==5.9.2

Start a project
#

fbs startproject

Run it
#

fbs run

Build it
#

See my workflow file for different platforms(Ubuntu, macOS and Windows)

Thanks to the github actions, the only thing you need to care is about the code, not the build environment.

# NOTE: I am not responsible for any expired content.
create@2022-01-16T07:19:22+08:00
update@2022-01-16T07:19:28+08:00
comment@https://github.com/ferstar/blog/issues/52

相关文章