Package all standalone resources into a single file option
See original GitHub issueHello @kayhayen,
Let me first greet you for that project who opens up new horizons, really.
I would like to bring an idea to improve it (at least, for my usages): could you propose an option to pack all standalone resources into one single file like the --onefile
option for pyinstaller ? IMHO it’s even more convenient for users to manipulate a single file than rather use entire folders.
Pyinstaller packs all resources into a single zip file (which is executable) and unzip them at runtime (check one of my compiled tools, for instance https://github.com/maaaaz/tibcopasswordrevealer) to see what it looks like).
Cheers!
Issue Analytics
- State:
- Created 6 years ago
- Reactions:15
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Create a single file for application deployment - .NET
Bundling all application-dependent files into a single binary provides an application developer with the attractive option to deploy and ...
Read more >Package for standalone program - java - Stack Overflow
I'm pretty new to Java, and I know what packages do. You use them to sort multiple files of a Java application together....
Read more >Spark Standalone Mode - Spark 3.3.1 Documentation
To launch a Spark standalone cluster with the launch scripts, you should create a file called conf/workers in your Spark directory, which must...
Read more >Managing Electronic Resources - Ex Libris Knowledge Center
Electronic collections organize electronic resources for delivery and publication. Resources can include electronic journals, portfolios, ...
Read more >Deploying JavaFX Applications: Packaging Basics
Packages code and resources needed for the JavaFX application into a JAR file and ... All JAR files must be signed or unsigned...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Onefile is implemented for Nuitka and with Nuitka-commercial you can now even protect data files. https://nuitka.net/pages/commercial.html rendering this all obsolete.
@brupelo There is no point is telling people to not want what they want, because they still are going to want it, until provided with a better alternative. So please do not discuss this issue in that way. Are you OK with me deleting the comments of yours, that I feel are distracting others from knowing that a solution is actually welcome?
For all I know, it’s possible to package all in one and people do it. Clearly at least pyinstaller does it, and it makes life easy for deployment, surely.
On the mailing list back then, concerns were raised, if this is something in scope of Nuitka, or if it is not to be a third party tool instead. Actually, if somebody were to look at how pyinstaller or py2exe do it, we might well find they are doing the same thing, or using the same library. If integration with Nuitka has any benefits other than convenience, I don’t know yet, I would have to see the solution.
But like I said, one of the people who wants to have it, needs to create the PR and implement it in Nuitka, not necessary by implementing the loading of DLLs, which I understand is duplicating Windows functionality, but by using existing solutions. Feel free to go ahead if you are one of them, that is what the “help_needed” tag is for.
My hope is that this is actually only a matter of research, and not so much going to be a burden for actual Nuitka maintenance, with this being generic work, and that there could be an upstream responsible for problems if there are any.