Re: Examples of vendoring python 3 with py2app
Ronald Oussoren <[email protected]> Tue, 13 Dec 2016 12:22:47 +0100
| Newsgroups | gmane.comp.python.apple |
|---|---|
| Message-ID | <[email protected]> |
> On 11 Dec 2016, at 16:22, Cosimo Lupo <[email protected]> wrote: > > Hello list, > > Apologies if this is not the right place to ask about this. > > I would like to distribute a self-contained OSX app of an application of mine written in Python 3. I've used py2app in the past to ship apps written in Python 2.7, that linked to the system Python framework. > Now I'm wondering if I could if and how I could "vendor" Python 3.5 inside my py2app-generated app. > > In the py2app docs I could not find information as to how to embed the python 3.5 interpreter and stdlib alongside the generated .app bundle. > > Could anyone point me in the right direction, and/or link to existing open source apps that do this? > > Thank you for your help. py2app will do that automatically unless you either explicitly tell it not to, or you use /usr/bin/python (the Apple provided installation of Python). Ronald _______________________________________________ Pythonmac-SIG maillist - [email protected] https://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG