[HN Gopher] Fman Build System
___________________________________________________________________
Fman Build System
Author : LorenDB
Score : 29 points
Date : 2024-09-10 15:28 UTC (1 days ago)
(HTM) web link (build-system.fman.io)
(TXT) w3m dump (build-system.fman.io)
| IshKebab wrote:
| I don't think this is what most people think when they hear
| "build system".
|
| Also... I dunno if people are scrambling away from Electron's
| inefficiencies just to replace it with Python's.
| triclops200 wrote:
| I would most certainly be willing to leave electron for a
| python GUI framework just for the memory savings alone; I don't
| think the speed is the only issue. Plus, python _can_ be fast
| enough if you just use it a a glue for libraries that are
| written more efficently. Don 't get me wrong, I dislike python
| a lot, but, it's not electron/js.
|
| Electron has the niceties that it does with being able to
| render _so_ much via browser universalism, but, having that
| much of it around when your app doesn 't need all of it is the
| problem with it fundamentally.
|
| The best time I've had writing GUIs personally has actually
| been in SDL via wrapper languages like common lisp, but, I like
| being able to roll my own systems. It definitely takes more
| setup for the results I want for reasonable production apps
| that need less weird edge cases in their UIs
| wonger_ wrote:
| https://fman.io/blog/picking-technologies-for-a-desktop-app-...
| nine_k wrote:
| This is a _GUI_ build system, Python + Qt. A number of good apps
| uses this pair, Fman apparently simplifies the creation of apps
| of this kind.
|
| Pretty certainly it's lighter weight than Electron, but not
| exactly featherweight.
|
| The key proposition is packaging for distribution:
|
| > _PyInstaller for packaging, NSIS for Windows installers, .dmg
| files on macOS, .deb files on Ubuntu._
| wonger_ wrote:
| I used this (fbs) once for one of my early projects. A few notes
| that I remember:
|
| - fbs was built ~2017
|
| - to use Python 3.7+, PyQt6, or code signing, you need the paid
| version. The free version limits you to Python 3.6 and PyQt5.
|
| - the main command is fbs freeze, which builds an executable
|
| - fbs requires a couple changes to your project structure and
| main.py, compared to the default PyQt way
___________________________________________________________________
(page generated 2024-09-11 23:00 UTC)