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

Binary builds for Mac and Windows #608

Open
glowinthedark opened this issue Dec 14, 2024 · 3 comments
Open

Binary builds for Mac and Windows #608

glowinthedark opened this issue Dec 14, 2024 · 3 comments
Labels

Comments

@glowinthedark
Copy link
Contributor

glowinthedark commented Dec 14, 2024

Now that v5.0.0 is out the idea was to create native binary builds with all possible dependencies already included. So far didn't manage to generate functional packages using github workflows as nuitka seems to choke while trying to figure out the dlls that needs to be linked in order to make a standalone app.

These are nuitka tk-based generated builds on actual hardware, nuitka builds to native code so there is no actual python interpreter, it's all converted to cpp and compiled to native, and python is only present as a DLL:

the dirty WIP scripts that were used to generate these builds:

Unfortunately, the scripts are not very reliable and far for 100% reproducible in a generic scenario, so far couldn't bring them to a proper shape that would be good enough for pull request since it's very likely they will fail depending on each specific environment.

If you manage to get the scripts to work in your env maybe you'll want to add the artifacts to the release?

@glowinthedark
Copy link
Contributor Author

pyglossary on google colab

..not really belonging in this thread, just fyi since don't have other context to put it into: it's relatively easy to run pyglossary in the cloud for example with google colab

@glowinthedark
Copy link
Contributor Author

glowinthedark commented Dec 14, 2024

scripts for building the windows Inno installer:

If needed I could make a pull request with these, but again, they are part of a build process that is not 100% reproducible in some controlled env such as such properly configured github runner, or something docker-like so not sure it would make any sense.

@ilius ilius changed the title pyglossary5 binary builds for macos/windows Binary builds for Mac and Windows Dec 15, 2024
@ilius
Copy link
Owner

ilius commented Dec 15, 2024

Is this file generated?
It points to your C:\Users\xh.
Also what is "C:\Users\xh\projects\pyglossary\build.PyGlossaryWinNuitka\main.dist\*"?
That directory is not created.

@ilius ilius added the Package label Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants