Convert python script to DMG file [MacOS] in 2024

preview_player
Показать описание
This guide shows you how you can convert your Python script into an app on a newer version of Mac OS using Pycharm and pyinstaller. I know the process is somewhat cumbersome, but its worth it to have your very own app. It also highlights some of the key gotchas and how to avoid them! This method also avoids the command line that has been causing a lot of confusion for many, especially since the default shell changed to zsh.

0:00 Intro
0:33 Pycharm Project
0:48 Quick pip install of pyinstaller
1:16 convert png to icns
2:15 create app
2:37 File Guide
3:37 Guide to setup instructions
5:04 working app
5:20 install on computer
5:51 share app with others

Рекомендации по теме
Комментарии
Автор

You do not need an icns file... you can use .png if you do pip install pillow which will allow pyinstaller to use png files

aerowwco