Instructions for creating a Mac App using PyInstaller
This commit is contained in:
parent
c1ffd5c5ec
commit
b16473759a
|
@ -4264,6 +4264,17 @@ 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
|
||||
|
|
11
readme.md
11
readme.md
|
@ -4264,6 +4264,17 @@ 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
|
||||
|
|
Loading…
Reference in New Issue