siemdejong / shit-happens

Create your own Shit Happens playing cards!
GNU General Public License v3.0
4 stars 2 forks source link

Create Dockerfile #11

Open siemdejong opened 1 year ago

siemdejong commented 1 year ago

Currently, the package can be installed using pip, but it would be even nicer to freeze the package to use is a standalone script, packaged with all the dependencies.

siemdejong commented 1 year ago

Using pyinstaller, datas have to be attached to the executable. For a discussion on adding locales: https://stackoverflow.com/a/65565631/8797886

siemdejong commented 1 year ago

Exe file is created, but does not work properly. Gives import errors at runtime.

siemdejong commented 7 months ago

Nuitka seems to be a nice alternative: https://github.com/Nuitka/Nuitka-Action

siemdejong commented 2 days ago

An easier approach would be to package everything in a docker image and let the user specify input and output paths on a mounted volume.