Averell7 / PdfBooklet

Creates booklets from Pdf files, and much more
45 stars 13 forks source link

How to compile pdfbooklet to exe in windows? #13

Closed seuliang closed 4 years ago

seuliang commented 4 years ago

Is there guide to compile pdfbooklet to exe in windows?

Averell7 commented 4 years ago

To compile PdfBooklet to exe in windows, we use pyinstaller.

  1. The first step is to install the dependencies necessary to run Pdfbooklet from the py script (mainly PiGi-aio, and some others),
  2. Install pyinstaller (with pip, if I remember well)
  3. run it with the command : pyinstaller -F pdfbooklet3.spec, using (and adapting) the spec file that I just added to the main directory.

Since pyinstaller creates a huge share directory, we cleaned it from the useless data.