Krummers / Intermezzo-Scripts

Scripts for automating Intermezzo-related processes.
https://wiki.tockdom.com/wiki/Intermezzo
GNU General Public License v3.0
5 stars 2 forks source link

Transform Python programs into batch files and more #11

Closed Exorcism0666 closed 1 year ago

Exorcism0666 commented 1 year ago

There is a way to do this with PyInstaller, which allows you to transform python programs into .exe programs for windows (and it also works for MacOS and Ubuntu (with their own extension)).

The advantage is that it will avoid having to install a lot of python modules (but it will have to install 7zip).

Unfortunately I don't know how to do it since there are two python programs and for the moment I can only compile one program with the knowledge I have but I can already give some hints to avoid problems.

https://github.com/dancepartyonline/patcher/blob/main/.github/workflows/build.yml (there is first this workflow that allows to compile a single python program for example)

https://github.com/RiiConnect24/RiiTag-RPC (and there is also this repo that managed to compile several python and other programs with the file "riitag-rpc.spec" and also the available worflows "build.yml").

Riddim-GLiTCH commented 1 year ago

I like this idea. It would make it easier to call from PATH, allowing the user to just point at an output folder for building in. C:\Users\janedoe> intermezzo-patcher -d c:/users/janedoe/documents/intermezzos would be an example of the command used, with -d being the Destination option. As a dolphin user, I can see -emu being used for the default dolphin riivolution path.

Krummers commented 1 year ago

Not useful, since most people that use this have Python installed.