Skip to content

Packaging into .exe? #15

Answered by jac0b-w
nixshal asked this question in Q&A
Aug 8, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nixshal
Comment options

@jac0b-w
Comment options

Answer selected by nixshal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants