From ebaa14024c4bea9c42516b38982caad9cecdbf82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Tue, 14 Jul 2020 22:09:01 +0200 Subject: [PATCH] PyInstaller --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7a94ea0..405223f 100644 --- a/README.md +++ b/README.md @@ -3466,7 +3466,7 @@ $ pyinstaller script.py --onefile # Compiles into './dist/script' c $ pyinstaller script.py --windowed # Compiles into './dist/script' windowed app. $ pyinstaller script.py --add-data ':.' # Adds file to the root of the executable. ``` -* **File paths need to be changed to `'os.path.join(sys._MEIPASS, )'`.** +* **File paths need to be updated to `'os.path.join(sys._MEIPASS, )'`.** ### Basic Script Template ```python diff --git a/index.html b/index.html index 25900d1..7f688f6 100644 --- a/index.html +++ b/index.html @@ -2939,7 +2939,7 @@ $ pyinstaller script.py --add-data '<path>:.' -
  • File paths need to be changed to 'os.path.join(sys._MEIPASS, <path>)'.
  • +
  • File paths need to be updated to 'os.path.join(sys._MEIPASS, <path>)'.
  • Basic Script Template

    #!/usr/bin/env python3
     #