Re: [Pyobjc-dev] Installing pyobjc?
Brought to you by:
ronaldoussoren
From: Ronald O. <ron...@ma...> - 2012-09-01 07:48:10
|
On 31 aug. 2012, at 20:34, Michael McCracken <mic...@gm...> wrote: > On Wed, Jun 27, 2012 at 3:58 AM, Ronald Oussoren <ron...@ma...> wrote: >> >> On 25 Jun, 2012, at 17:25, Mark Sienkiewicz wrote: >> >>> I'm trying to install pyobjc in a custom python 2.7.3 build. I see that "easy_install pyobjc", installs a bunch of stuff, but then says: >>> >>> Running pyobjc-framework-SystemConfiguration-2.3/setup.py -q bdist_egg --dist-dir /var/folders/1z/7z0y590s66339qm1m1djyx4w0004jf/T/easy_install-nZl6LQ/pyobjc-framework-SystemConfiguration-2.3/egg-dist-tmp-jWDaaK >>> error: Could not find required distribution pyobjc-core >>> >>> This is pyobjc 2.3, which is the default from pypi. The web site at pyobjc.sourceforge.net says the latest is pyobjc 2.2, so this looks a bit odd. >>> >>> I also found that pyobjc 2.2 does not install on Snow Leopard or Lion unless you set the environment variable MACOSX_DEPLOYMENT_TARGET=10.5 ; it is probably worth mentioning this on the web site. >>> >>> So, my conclusion is: >>> >>> - use pyobjc 2.2 >>> - use MACOSX_DEPLOYMENT_TARGET=10.5 >>> >>> Does this seem reasonable, or am I missing something? >> >> Installation of pyobjc is annoyinly hard at the moment. The current version of PyObjC is 2.3, <http://pypi.python.org/pypi/pyobjc>. A number of people have mentioned that installing this using "easy_install pyobjc" won't work. I tend to install manually (first install pyobjc-core, then install pyobjc-framework-Cocoa, then install the other framework wrappers you need) and haven't had time to look into this issue. >> >> The website is very much out of date. This is something I want to fix, but once again haven't had time to work on. > > I'd like to volunteer to help with the site, at least to help update > it when you make your next release. Are you planning on keeping it at > sourceforge? For now at least. The alternative would be packages.python.org (the pypi documentation hosting feature). > > Also, do you have any notes on the build process? I was stumped about > how to build from the bitbucket source until I saw this email. The > build-support directory looks like it is meant to be useful but is not > complete yet, is that correct? > Build support is out of date, I intend to remove it in the near future. The next release should be near, the main todo item for me is to check tot easy_install can install pyobjc from a collection of source archives. Ronald > Thanks, > -mike > >> I'm currently working on a new release, hopefully around the same time as OSX 10.8 gets released. My repository is at https://bitbucket.org/ronaldoussoren/pyobjc. >> >> My current goal is to get everything working correctly on the current OSX 10.8 beta (not just pyobjc, but also py2app). After that I'll work on the website, and hopefully I can finish all work before 10.8 is actually released. >> >> Ronald >>> >>> Mark S. >>> >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> Pyobjc-dev mailing list >>> Pyo...@li... >>> https://lists.sourceforge.net/lists/listinfo/pyobjc-dev >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Pyobjc-dev mailing list >> Pyo...@li... >> https://lists.sourceforge.net/lists/listinfo/pyobjc-dev >> |