From b16473759af84933e4f5b6a957016236dde26d2e Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy Date: Thu, 3 Jan 2019 11:41:17 -0500 Subject: [PATCH] Instructions for creating a Mac App using PyInstaller --- docs/index.md | 15 +++++++++++++-- readme.md | 15 +++++++++++++-- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/docs/index.md b/docs/index.md index a1cb2264..803f6913 100644 --- a/docs/index.md +++ b/docs/index.md @@ -4264,8 +4264,19 @@ ValueError: script '.......\src\tkinter' not found Then try adding **`--hidden-import tkinter`** to your command - - +# Creating a Mac App File + +There are reports that PyInstaller can be used to create App files. It's not been officially tested. + +Run this command on your Mac + +> pyinstaller --onefile --add-binary='/System/Library/Frameworks/Tk.framework/Tk':'tk' --add-binary='/System/Library/Frameworks/Tcl.framework/Tcl':'tcl' your_program.py + + +This info was located on Reddit with the source traced back to: +https://github.com/pyinstaller/pyinstaller/issues/1350 + + ## Fun Stuff Here are some things to try if you're bored or want to further customize diff --git a/readme.md b/readme.md index a1cb2264..803f6913 100644 --- a/readme.md +++ b/readme.md @@ -4264,8 +4264,19 @@ ValueError: script '.......\src\tkinter' not found Then try adding **`--hidden-import tkinter`** to your command - - +# Creating a Mac App File + +There are reports that PyInstaller can be used to create App files. It's not been officially tested. + +Run this command on your Mac + +> pyinstaller --onefile --add-binary='/System/Library/Frameworks/Tk.framework/Tk':'tk' --add-binary='/System/Library/Frameworks/Tcl.framework/Tcl':'tcl' your_program.py + + +This info was located on Reddit with the source traced back to: +https://github.com/pyinstaller/pyinstaller/issues/1350 + + ## Fun Stuff Here are some things to try if you're bored or want to further customize