ThiaudioTT / hoi4-presence

Hearts of Iron IV presence for Discord!
MIT License
13 stars 10 forks source link

Create an "all in one" file #9

Closed ThiaudioTT closed 1 year ago

ThiaudioTT commented 1 year ago

This will help with the release packages. Make a CMAKE/Makefile using batch, or something, to compile all the files in one folder.

Wolfmyths commented 1 year ago

Would it be fine if we still used PyInstaller to compile all the files into one folder?

This can be done with the -F --onefile flag. And in return will output a .spec file.

The .spec file can be easily configured so we don't have to go through the hassle of using CLI to bundle everything. The spec file is also written in Python so it's not like a regular text file.

When we want to export the program now with a .spec file we can do pyinstaller name.spec and it will do all the work for us.

ThiaudioTT commented 1 year ago

Would it be fine if we still used PyInstaller to compile all the files into one folder?

Yes. The only problem in not compiling in one file is that we use some dependencies I think (I don't remember).

When we want to export the program now with a .spec file we can do pyinstaller name.spec and it will do all the work for us.

Good, we need to test it.

ThiaudioTT commented 1 year ago

Working on it, and testing using .spec