Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from fbs to Pyinstaller, and some other major changes #21

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

tfuxu
Copy link

@tfuxu tfuxu commented May 28, 2022

The main purpose of this PR is to switch from fbs to standalone Pyinstaller.

It's just more convenient to use Pyinstaller over fbs, because it gives useful for debugging purposes logs when packaging, allows newer versions of Python to be used (fbs in its 'free' version supports only up to Python 3.6) and it has more options for customizing final packages.

List of changes made in this PR:

I'm setting this PR as draft for now, because I would need a help from @Krutonium or someone else who understands NixOS flakes, so they could be updated.

tfuxu added 7 commits May 19, 2022 18:28
* Remove fbs icons
* Remove fbs build settings
* Move main.py from src/main/python/ to src/sonix-flasher/
* Add sonix-flasher.spec
* Update run.sh to run compiled program directly from executable
* Update Github Actions workflows
* Update run.sh
* Create a shell script that removes conflicting libraries
* Fix Mac package building process
* Update README.md
@Krutonium
Copy link

I'm not 100% how it works myself, but @tomberek can probably help :)

That said I can definitely try.

@tfuxu
Copy link
Author

tfuxu commented Jun 16, 2022

Hi, thanks for reply.
It would be awesome if you try to get that working, I tried installing NixOS myself and making simple flakes for practice, but I haven't got enough time in the past weeks, so I didn't get very far with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build does not run on Manjaro/Arch
2 participants