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

2016-09-13 Thread Andrew Jaffe
Hi, > On 13 Sep 2016, at 23: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's python, and Homebrew's python ar

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

2016-09-13 Thread Andrew Jaffe
OK, I’m still being dense: > On 13 Sep 2016, at 22:56, Jack Jansen wrote: > > It’s hardcoded in the Python executable, I’m afraid:-( > > Just tried “python -s -S -v”, and the Extras/lib/python is still in sys.path. > > That wasn’t a very smart move by the Apple engineers, I guess…. But this i

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

2016-09-13 Thread Jack Jansen
It’s hardcoded in the Python executable, I’m afraid:-( Just tried “python -s -S -v”, and the Extras/lib/python is still in sys.path. That wasn’t a very smart move by the Apple engineers, I guess…. What you could do (but this is getting rather hacky) is create a /Library/Python/2.7/site-packages

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

2016-09-13 Thread Andrew Jaffe
Hi, > On 13 Sep 2016, at 22:26, Jack Jansen wrote: > > You’re absolutely right (both on SIP and on > /Library/Frameworks/Python.framework probably being a python.org install), > sorry for the confusion. > > This seems to be due to the way Apple has done the “Extras” directory, and > adding

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

2016-09-13 Thread Jack Jansen
You’re absolutely right (both on SIP and on /Library/Frameworks/Python.framework probably being a python.org install), sorry for the confusion. This seems to be due to the way Apple has done the “Extras” directory, and adding things there to sys.path. See for example https://github.com/pypa/pi

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

2016-09-13 Thread Jack Jansen
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 that you’ve installed pyobjc a couple of OSX releases ago? And could i

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

2016-09-13 Thread Andrew Jaffe
Dear Chris and Glyph, > > On Sunday, September 11, 2016, Andrew Jaffe wrote: > Dear Ronald, > > Thanks, as usual, for all this. > > I have upgraded to the GM version of 10.12 on the beta track. I use the > python.org framework builds of python. > > When I do "pip list --outdated", I get a lon