--
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/VHfYismOqPw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/a51deeba-866a-4182-ba89-e0932199b514n%40googlegroups.com.
I routinely use pyinstaller to build Windows and Mac executables:
Below is a sample spec file. I put the spec file in a directory under the main project. Set the app_nam, and mac_icon as appropriate. Also set the datas section as required for your code.
After building the app, for open source projects I simply zip the file for distribution. For professional projects I build a dmg using DropDMG.
https://c-command.com/dropdmg/
For Windows projects I build a Windows installer using inno Setup. https://jrsoftware.org/isinfo.php
# -*- mode: python -*-
block_cipher = None
app_name = 'Your App Name'
mac_icon = '../Images/your_app_icon.icns'
a = Analysis(['../main.py'],
pathex=[],
binaries=[],
datas=[('../*.kv', '.'),
('../Images/*.png', './Images')], # edit to match your program
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=['_tkinter', 'Tkinter', 'enchant', 'twisted'],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
[],
exclude_binaries=True,
name=app_name,
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=False,
console=False)
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=False,
name=app_name)
app = BUNDLE(coll,
name=app_name + '.app',
icon=mac_icon,
bundle_identifier=None)--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/CABw5z-ASztqvM5TRw3O7w0qQygPX-Qa3zHxehVQUc5o6XSR5oQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/63e9320d.050a0220.2ef44.42b8SMTPIN_ADDED_MISSING%40gmr-mx.google.com.
On the mac the .app “file” is actually a special directory. You can distribute it by compressing it into a zip file. This is the easiest, you can just right click in finder, and select compress – and you will get a zip file ready for distribution. I have done this with a number of open source apps, I provide simple directions and have had no issues from users.
You can also distribute the app as a DMG, this is a compressed archive where the users is requested to drag an icon to complete the install. You can add a little art work. I’ve done this for a number of programs and again – no issues from mac users. It does provide a more polished look.
There are also more sophisticated installers. It is really a function of what your users expect and the experience you want to create.
Here is the look of the DMG installer for firefox:

To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/CABw5z-C_e%3Du0cN_wNwzQbRFNAL8QxGQqTzMyQS5uokYY8YjTwA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/442c9269-0f13-4b8b-9d8c-41dfff63a08en%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/d4772919-c41e-4434-8832-1c654f9e98acn%40googlegroups.com.