-
Lovely project and thank you for sharing! Could I know how you packaged it into an executable? I find myself confused with the multiple sources available on this. Would appreciate a simple walkthrough or pointing me in the right direction! Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Yeah so packaging a python script is usually relatively easy you can use several different programs to do this. I use pyinstaller and target my main script. This works fine for just python code but if you have assets such as icons/images then it doesn't package it all into one file (not by default at least). Also I have found a couple dependencies a pain to get working specifically scipy and sklearn so most of the time it works seamlessly. For this project I then create an installer using inno setup which has a bunch of features. It automatically adds your exe to the start menu + adds uninstaller and you can set it run your exe at startup which is very useful for AlbumPaper. |
Beta Was this translation helpful? Give feedback.
Yeah so packaging a python script is usually relatively easy you can use several different programs to do this. I use pyinstaller and target my main script. This works fine for just python code but if you have assets such as icons/images then it doesn't package it all into one file (not by default at least). Also I have found a couple dependencies a pain to get working specifically scipy and sklearn so most of the time it works seamlessly.
For this project I then create an installer using inno setup which has a bunch of features. It automatically adds your exe to the start menu + adds uninstaller and you can set it run your exe at startup which is very useful for AlbumPaper.