186 points · by BerislavLopac · 4y ago · 91 comments
To be fair though, it was a relatively simple app, but I feel that's the typical use case if you're already proficient in python and just want to add some buttons.
I don't hear about using this stack much, so I'm glad it's getting improvements + more attention!
After everything is set up, though, things usually work smoothly.
> Free fbs doesn’t work with recent versions of python (>3.6)
Is this true? What are the plans (if any) to update the GPL version of the project?
if anybody knows an alternative to this, i would be very interested, i understand we all need to get paid but hmmm yeah open source is not easy to make money from since most people just expect everything for nothing, and this is just the reality of this space.
The free version doesn’t support modern Python versions so to see if it works.
> PyQtGraph is a pure-python graphics and GUI library built on PyQt / PySide and numpy. It is intended for use in mathematics / scientific / engineering applications. Despite being written entirely in python, the library is very fast due to its heavy leverage of NumPy for number crunching and Qt's GraphicsView framework for fast display. PyQtGraph is distributed under the MIT open-source license.
[...]
> Packaging for Distribution Applications written with pyqtgraph may be packaged as Windows exe files using py2exe or OSX dmg files using py2app.
It was much more sustainable and maintainable to just write our own build scripts for each platform with template tags and automate from there.
I switched to PyInstaller - see my comment at https://news.ycombinator.com/item?id=30820723
With that said, this may not necessarily be fault of the authors, but the tutorial and documentation really doesn't help. The Qt and PyQt/PySide ecosystem is so fragmented that understanding how to truly use fbs only came to me after months of browsing github for example code.
Something like a video tutorial series on YouTube that shows how to use Qt Creator with QWidgets with fbs would be great then another on how to use Qt Design Studio with QtQuick with fbs would be amazing.
> The free version of fbs has several limitations. Upgrade to Pro to unlock its full potential. Upon purchase, you'll receive a hosted package that you can install just like fbs. No messing around with license keys. Just pip install and you are done.
So it is more like open core. This is fine, just not clear from the front "features" page listing.
I love getting source code, but there are places where you really are looking for Free Software, not merely open source. Open core model products are really frustrating because maybe your use case isn't one where the value is high enough to be worth paying for "pro". I run into this often when someone asks about doing charity work. I do really like it though when an open core company is clear about it.
This is a closed-source program that used to have a open-source version, which is now abandonware.
[1] https://devguide.python.org/devcycle/#end-of-life-branches
The fact they make money by providing even more doesn't make it less open source.
Screenshots:
Installer: https://imgur.com/a/2zQEwMS
Application (on the right): https://imgur.com/AYhholl
Download link for the installer:
https://fbs.sh/mherrmann/FastCull/FastCullSetup.exe
My code changes are in https://github.com/mherrmann/FastCull/. You need fbs Pro because you are using PySide6.
I've used Inno Setup for installing software on Windows before. It's free and works great. I've never tried installing python with it. But I did find a tutorial how to do it.
https://www.geeksforgeeks.org/convert-python-code-to-a-softw...
Javascript is quite commonly established as a good UI language these days, and I assume that anyone who can write Py can write Js.
Is there something particularly useful about Py, i.e. perhaps researchers who know Py may not want to bother to switch? Or that it integrates better with some things? Or that it's used widely at a company and investing in a second language is a big deal?
Despite years of FUD from the likes of Microsoft and others, "investing in a second language" is not a big deal at all and just short of required for projects of any complexity.
I mean free both as beer and freedom.
Included with PySide[2|6] is QtDesigner, hidden in the distribution but available for use, and all the compiled Qt libraries.
The application created from that can be released closed source as using Qt under LGPL.
As for packaging;
Use PyInstaller, which creates a dist directory. Included in that dist directory will be everything needed to run your Python/Qt application.
Use Inno Setup/Inno Script Studio (https://jrsoftware.org/isinfo.php) to package that dist folder into an installer.
The end result will be a self contained installer which acts just like any other Windows software with an installer.
I use all the above to create and distribute Captain's Log (https://captainslog.scarygliders.net)
Regardless, the licensing is a total nightmare, you can see it in Riverside's own forums: https://pyqt.riverbankcomputing.narkive.com/hqREGR1W/a-nasty...