From 7197df9f5cf65c2a69e40234c887eb2820d6ab87 Mon Sep 17 00:00:00 2001 From: adaptronic-label printer final Date: Tue, 24 Feb 2026 13:30:38 +0200 Subject: [PATCH] Fix docstring escape warning in prepare_ghostscript.py; add dist/ and build_output.log to .gitignore --- .gitignore | 3 +++ prepare_ghostscript.py | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index f1379b5..91b292e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ label/ build/ +dist/ logs/ pdf_backup/ conf/ghostscript/ @@ -9,4 +10,6 @@ __pycache__/ *.pyc *.pyo *.pyd +build_output.log +.vscode/ diff --git a/prepare_ghostscript.py b/prepare_ghostscript.py index 730bb87..0768978 100644 --- a/prepare_ghostscript.py +++ b/prepare_ghostscript.py @@ -1,12 +1,12 @@ """ prepare_ghostscript.py Finds the system GhostScript installation and copies the files needed for -bundling into conf\ghostscript\ +bundling into conf/ghostscript/ Files copied: - conf\ghostscript\bin\gswin64c.exe (or gswin32c.exe) - conf\ghostscript\bin\gsdll64.dll (or gsdll32.dll) - conf\ghostscript\lib\*.ps (PostScript init files) + conf/ghostscript/bin/gswin64c.exe (or gswin32c.exe) + conf/ghostscript/bin/gsdll64.dll (or gsdll32.dll) + conf/ghostscript/lib/*.ps (PostScript init files) Run this ONCE before building the exe with build_windows.bat. """