Re: [Pythonmac-SIG] PyObjC and macOS 10.12 (Sierra)

2016-12-13 Thread Glyph Lefkowitz
> On Dec 13, 2016, at 8:37 AM, Christopher Barker wrote: > > Personally, I have avoided all this mess the last couple years by using conda > (miniconda install). It does a nice job of keeping entirely separate from the > system ( or any other) python, and it can manage non-python libs as well,

Re: [Pythonmac-SIG] Phantom Dock menu entries for tkinter dialogs on Mac

2016-12-13 Thread Mark Lutz
Ah; thanks for checking. I should have tested under Tk 8.6, but was following the stock recommendation at python.org to use ActiveState's 8.5 (as most of the target audience will), and python.org's installers (which don't support Tk 8.6, but may soon?). Will upgrade and have a look. Hopefully,

Re: [Pythonmac-SIG] Need help with Python Library link error in OS X 10.11.6

2016-12-13 Thread Chris Barker
> brew install --HEAD libimobiledevice > odd -- this: http://brewformulas.org/Libimobiledevice doesn't make it look like it needs Python. I think this is a question for the brew folks. -CHB > and following error message was displayed at the end of this command run > > *

Re: [Pythonmac-SIG] PyObjC and macOS 10.12 (Sierra)

2016-12-13 Thread Christopher Barker
Personally, I have avoided all this mess the last couple years by using conda (miniconda install). It does a nice job of keeping entirely separate from the system ( or any other) python, and it can manage non-python libs as well, so you don't need Brew. And it has environments that are like virtual

Re: [Pythonmac-SIG] Need help with Python Library link error in OS X 10.11.6

2016-12-13 Thread Christopher Barker
The configure script should come with the source. It is specific to that particular package, not a system script. But brew should do that for you anyway. I have no idea what Appium is, but it looks like it depends on Python -- you probably neeed to install the brew version of Python first. I wou

Re: [Pythonmac-SIG] Examples of vendoring python 3 with py2app

2016-12-13 Thread Cosimo Lupo
Thank you all for the replies. I've tried using py2app with a framework python 3.5.2 from Python.org and can confirm it correctly bundles everything up in the generated app. I somehow was under the impression that I had to do something special about it, but it turns out it is much easier than I tho

Re: [Pythonmac-SIG] PyObjC and macOS 10.12 (Sierra)

2016-12-13 Thread Ronald Oussoren
> On 14 Sep 2016, at 00:28, Glyph Lefkowitz wrote: > > >> On Sep 13, 2016, at 3:05 PM, Andrew Jaffe > > wrote: >> >> But this is the framework (non-apple!) build!… > > "framework build" refers to the way that Python is built. Apple's python, > Python.org

Re: [Pythonmac-SIG] Examples of vendoring python 3 with py2app

2016-12-13 Thread Ronald Oussoren
> On 11 Dec 2016, at 16:22, Cosimo Lupo 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 > Pytho

Re: [Pythonmac-SIG] Examples of vendoring python 3 with py2app

2016-12-13 Thread Cosimo Lupo
Hey André, Thanks for sharing this! Cosimo On 13 December 2016 at 10:48, André Aulich wrote: > Hi Cosimo, > > sure, I wrote an article for you at https://moosystems.com/ > articles/14-distribute-django-app-as-native-desktop-app-01.html > > :-) > > André > > On 11 Dec 2016, at 16:22, Cosimo Lupo

Re: [Pythonmac-SIG] Examples of vendoring python 3 with py2app

2016-12-13 Thread André Aulich
Hi Cosimo, sure, I wrote an article for you at https://moosystems.com/articles/14-distribute-django-app-as-native-desktop-app-01.html :-) André > On 11 Dec 2016, at 16:22, Cosimo Lupo wrote: > > Hello

Re: [Pythonmac-SIG] Phantom Dock menu entries for tkinter dialogs on Mac

2016-12-13 Thread Kevin Walzer
On 12/6/16 9:43 PM, Mark Lutz wrote: A simple demo of the problem is attached below: every "destroy" popup lingers on in the launcher's Dock menu after it's closed (whether by the red "X" or the widget.destroy() callback), and remains in the Dock menu until the main window is closed (by widget.qu

Re: [Pythonmac-SIG] PyObjC 3.2 released

2016-12-13 Thread Glyph Lefkowitz
> On Dec 8, 2016, at 3:37 AM, Ronald Oussoren wrote: > > >> On 8 Dec 2016, at 00:40, Glyph Lefkowitz > > wrote: >>> >>> >>> Last time I checked systems like Homebrew only build 64-bit binaries (on >>> anything resembling modern hardware). It should be possible

Re: [Pythonmac-SIG] PyObjC 3.2 released

2016-12-13 Thread Glyph Lefkowitz
> On Dec 7, 2016, at 12:21 AM, Ronald Oussoren wrote: > > >> On 7 Dec 2016, at 00:28, Glyph Lefkowitz > > wrote: >> >> Was this intentionally off-list? (Feel free to forward my reply back to the >> list if not). > > It wasn’t and I’ll continue the conversatio

Re: [Pythonmac-SIG] [Pyobjc-dev] PyObjC 3.2 released

2016-12-13 Thread Glyph Lefkowitz
> On Dec 6, 2016, at 12:55 PM, Ronald Oussoren wrote: > > >> On 6 Dec 2016, at 21:43, Glyph Lefkowitz > > wrote: >> >> >>> Anyways, there may be a 3.2.1 release by the end of the week, I just >>> noticed that building PyObjC on 10.12 doesn’t work when using py

Re: [Pythonmac-SIG] PyObjC 3.2.1 released

2016-12-13 Thread Glyph Lefkowitz
> On Dec 12, 2016, at 1:25 AM, Ronald Oussoren wrote: > > Hi, > > I’ve just pushed PyObjC 3.2.1 to PyPI. This fixes a number of small issues in > PyObjC 3.2, but the primary new feature is that there are now wheels on PyPI. > > I’ve tested the wheels on OSX 10.12 with the Python.org

Re: [Pythonmac-SIG] PyObjC 3.2 released

2016-12-13 Thread Glyph Lefkowitz
> On Dec 6, 2016, at 12:17 PM, Ronald Oussoren wrote: > >> >> On 6 Dec 2016, at 20:30, Glyph Lefkowitz > > wrote: >> >> >>> On Dec 6, 2016, at 10:36 AM, Ronald Oussoren >> > wrote: >>> >>> On 6 Dec 2016, at 19:19, Glyph Lef

Re: [Pythonmac-SIG] PyObjC 3.2.1 released

2016-12-13 Thread Cosimo Lupo
Hi Ronald, It's great to finally have precompiled wheels for PyObjC! Thanks so much! Cosimo ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org https://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: https://mail.python.org/mailman/option

[Pythonmac-SIG] Examples of vendoring python 3 with py2app

2016-12-13 Thread Cosimo Lupo
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 wonderi

Re: [Pythonmac-SIG] PyObjC 3.2 released

2016-12-13 Thread Glyph Lefkowitz
> On Dec 6, 2016, at 10:36 AM, Ronald Oussoren wrote: > > >> On 6 Dec 2016, at 19:19, Glyph Lefkowitz wrote: >> >> >>> On Dec 6, 2016, at 8:59 AM, Ronald Oussoren wrote: >>> >>> Hi, >>> >>> I’ve pushed PyObjC 3.2 to PyPI (finally…). The major new feature in this >>> version is support fo

[Pythonmac-SIG] Need help with Python Library link error in OS X 10.11.6

2016-12-13 Thread Manohar K Chintala
Hello Team, I am setting up Appium for mobile test automation on new Mac with OS X 10.11.6 and as part of that I had to run following command. brew install --HEAD libimobiledevice and following error message was displayed at the end of this command run **

Re: [Pythonmac-SIG] PyObjC 3.2 released

2016-12-13 Thread Glyph Lefkowitz
> On Dec 6, 2016, at 8:59 AM, Ronald Oussoren wrote: > > Hi, > > I’ve pushed PyObjC 3.2 to PyPI (finally…). The major new feature in this > version is support for OSX 10.12 (Sierra) and the new APIs introduced in this > version of OSX. 🎉😃🎉 > There is also a backward incompatible change: the

[Pythonmac-SIG] Phantom Dock menu entries for tkinter dialogs on Mac

2016-12-13 Thread Mark Lutz
When using Tk on a Mac (Python 3.5, ActiveState Tk 8.5, Mac 10.11), why does the Python launcher retain Dock right-click menu entries for every Toplevel window that has been closed? This doesn't happen for common dialogs, but does for every custom dialog the closes with a widget.destroy(). It a

Re: [Pythonmac-SIG] PyObjC and macOS 10.12 (Sierra)

2016-12-13 Thread Glyph Lefkowitz
> On Oct 7, 2016, at 1:36 AM, Andrew Jaffe wrote: > > On 06/10/2016 20:26, Glyph Lefkowitz wrote: >>> On Oct 6, 2016, at 2:56 AM, Andrew Jaffe wrote: >>> On 17/09/2016 18:59, Glyph Lefkowitz wrote: > On Sep 17, 2016, at 9:27 AM, Ned Deily wrote: > On 2016-09-13 19:33, Glyph Lefkowitz w

[Pythonmac-SIG] Need help with Python Library link error in OS X 10.11.6

2016-12-13 Thread Manohar K Chintala
Hello Team, I am setting up Appium for mobile test automation on new Mac with OS X 10.11.6 and as part of that I had to run following command. brew install --HEAD libimobiledevice and following error message was displayed at the end of this command run **

Re: [Pythonmac-SIG] PyObjC and macOS 10.12 (Sierra)

2016-12-13 Thread Glyph Lefkowitz
> On Oct 6, 2016, at 2:56 AM, Andrew Jaffe wrote: > > On 17/09/2016 18:59, Glyph Lefkowitz wrote: >> >>> On Sep 17, 2016, at 9:27 AM, Ned Deily wrote: >>> >>> On 2016-09-13 19:33, Glyph Lefkowitz wrote: > On Sep 13, 2016, at 3:35 PM, Andrew Jaffe > wrote:

Re: [Pythonmac-SIG] PyObjC and macOS 10.12 (Sierra)

2016-12-13 Thread Glyph Lefkowitz
> On Oct 12, 2016, at 11:49 AM, Andrew Jaffe wrote: > > Not me. If I understand correctly, Glyph -- who undoubtedly understand the > situation better than I do -- still thinks that there's no actual bug here, > since we shouldn't be using the framework build this way, but I'm not sure I > und

Re: [Pythonmac-SIG] PyObjC and macOS 10.12 (Sierra)

2016-12-13 Thread Glyph Lefkowitz
> On Sep 21, 2016, at 01:52, Andrew Jaffe wrote: > > That would work, and in fact I don't really need PyObjC (sorry, Ronald!) but > I've got my whole setup working with the "global" python.org > framework build, so I am used to that... and the Sierra > status quo does see

Re: [Pythonmac-SIG] [Pyobjc-dev] PyObjC and macOS 10.12 (Sierra)

2016-12-13 Thread Glyph Lefkowitz
> On Oct 11, 2016, at 2:26 PM, Ronald Oussoren wrote: > > BTW. Has anyone experience with using LLDB on Sierra? I’m currently running > Sierra in a VM and for some reason LLDB doesn’t appear to work, in an SSH > session I cannot start programs at all and on the console a crashing bug in > the

Re: [Pythonmac-SIG] PyObjC and macOS 10.12 (Sierra)

2016-12-13 Thread Glyph Lefkowitz
> On Sep 17, 2016, at 9:27 AM, Ned Deily wrote: > > On 2016-09-13 19:33, Glyph Lefkowitz wrote: >>> On Sep 13, 2016, at 3:35 PM, Andrew Jaffe >> > wrote: >>> >>> Aha! >>> >>> $ ls -lt /Library/Python/2.7/site-packages/ >>> total 0 >>> -rwxr-xr-x 1 root wheel 157

Re: [Pythonmac-SIG] PyObjC and macOS 10.12 (Sierra)

2016-12-13 Thread Glyph Lefkowitz
> On Sep 13, 2016, at 3:05 PM, Andrew Jaffe wrote: > > But this is the framework (non-apple!) build!… "framework build" refers to the way that Python is built. Apple's python, Python.org's python, and Homebrew's python are all framework builds. So, to be clear: this is python.org python? >

Re: [Pythonmac-SIG] PyObjC and macOS 10.12 (Sierra)

2016-12-13 Thread Glyph Lefkowitz
> On Sep 20, 2016, at 10:29 AM, Andrew Jaffe wrote: > > On 17/09/2016 18:59, Glyph Lefkowitz wrote: >> >>> On Sep 17, 2016, at 9:27 AM, Ned Deily wrote: >>> >>> On 2016-09-13 19:33, Glyph Lefkowitz wrote: > On Sep 13, 2016, at 3:35 PM, Andrew Jaffe > wrote:

Re: [Pythonmac-SIG] PyObjC and macOS 10.12 (Sierra)

2016-12-13 Thread Glyph Lefkowitz
> On Sep 13, 2016, at 12:05 PM, Jack Jansen wrote: > > I think > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages > is a very old location for storing Python packages. Recently things have been > installed in /Library/Python/2.7/site-packages. > > Could it be tha

Re: [Pythonmac-SIG] PyObjC and macOS 10.12 (Sierra)

2016-12-13 Thread Glyph Lefkowitz
> On Sep 13, 2016, at 3:35 PM, Andrew Jaffe wrote: > > Aha! > > $ ls -lt /Library/Python/2.7/site-packages/ > total 0 > -rwxr-xr-x 1 root wheel 157 31 Jul 02:36 Extras.pth* > -rw-r--r-- 1 root wheel 119 31 Jul 02:36 README > $ more /Library/Python/2.7/site-packages/Extras.pth > /Sy

Re: [Pythonmac-SIG] [Pyobjc-dev] PyObjC 3.2.1 released

2016-12-13 Thread Ronald Oussoren
> On 13 Dec 2016, at 04:02, Glyph Lefkowitz wrote: > > >> On Dec 12, 2016, at 1:25 AM, Ronald Oussoren > > wrote: >> >> Hi, >> >> I’ve just pushed PyObjC 3.2.1 to PyPI. This fixes a number of small issues >> in PyObjC 3.2, but the primary new feature is that th