Hi Mike,

See if this will help:

1. Grab the latest stable release from the repository via svn:

% svn checkout http://svn.red-bean.com/pyobjc/trunk

This will locate the source tree in the current directory under a new
subdirectory 'trunk'

2. cd into trunk/pyobjc
3. Make a backup copy of 02-develop-all.sh
4. Edit 02-develop-all.sh and substitute 'python' for 'python2.5' (or
the absolute path to your custom install of python)
5. Run the shell script 02-develop-all.sh (I believe that by default
pyobjc is compiled with debugging symbols enabled)
6. When the script has completed, add the path to the pyobjc trunk's
subdirectory pyobjc to PYTHONPATH:

export PYTHONPATH=$PYTHONPATH:/path/to/pyobjc/trunk/pyobjc

(At least this is how I got a downloaded copy of pyobjc to work for me
with a custom build of python ...)



Andrew

On Tue, Aug 2, 2011 at 3:00 AM, <pythonmac-sig-requ...@python.org> wrote:
>
> Send Pythonmac-SIG mailing list submissions to
>        pythonmac-sig@python.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://mail.python.org/mailman/listinfo/pythonmac-sig
> or, via email, send a message with subject or body 'help' to
>        pythonmac-sig-requ...@python.org
>
> You can reach the person managing the list at
>        pythonmac-sig-ow...@python.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Pythonmac-SIG digest..."
>
> Today's Topics:
>
>   1. Still Unable to Install PyObjC (Mike)
>
>
> ---------- Forwarded message ----------
> From: "Mike" <smartmi...@gmail.com>
> To: <pythonmac-sig@python.org>
> Date: Mon, 1 Aug 2011 17:23:43 -0400
> Subject: [Pythonmac-SIG] Still Unable to Install PyObjC
> Hi,
>
> I posted about a month ago and am giving this another shot. Trying to 
> ultimately get my app built with Py2app on my Mac (built this on a different 
> Mac running Leopard in the past). Due to problems I had with Python 2.6, I 
> installed Python 2.7 from python.org. I am now trying to install PyObjC which 
> is needed for my application. I have tried using both easy_install and 
> checking out the source and running setup.py. Either way, I get the following 
> error:
>
>
> running install
>
> running bdist_egg
>
> running egg_info
>
> writing requirements to pyobjc.egg-info/requires.txt
>
> writing pyobjc.egg-info/PKG-INFO
>
> writing top-level names to pyobjc.egg-info/top_level.txt
>
> writing dependency_links to pyobjc.egg-info/dependency_links.txt
>
> writing manifest file 'pyobjc.egg-info/SOURCES.txt'
>
> installing library code to build/bdist.macosx-10.3-fat/egg
>
> running install_lib
>
> warning: install_lib: 'build/lib' does not exist -- no Python modules to 
> install
>
> creating build/bdist.macosx-10.3-fat/egg
>
> creating build/bdist.macosx-10.3-fat/egg/EGG-INFO
>
> copying pyobjc.egg-info/PKG-INFO -> build/bdist.macosx-10.3-fat/egg/EGG-INFO
>
> copying pyobjc.egg-info/SOURCES.txt -> 
> build/bdist.macosx-10.3-fat/egg/EGG-INFO
>
> copying pyobjc.egg-info/dependency_links.txt -> 
> build/bdist.macosx-10.3-fat/egg/EGG-INFO
>
> copying pyobjc.egg-info/requires.txt -> 
> build/bdist.macosx-10.3-fat/egg/EGG-INFO
>
> copying pyobjc.egg-info/top_level.txt -> 
> build/bdist.macosx-10.3-fat/egg/EGG-INFO
>
> copying pyobjc.egg-info/zip-safe -> build/bdist.macosx-10.3-fat/egg/EGG-INFO
>
> creating 'dist/pyobjc-2.4a0-py2.7.egg' and adding 
> 'build/bdist.macosx-10.3-fat/egg' to it
>
> removing 'build/bdist.macosx-10.3-fat/egg' (and everything under it)
>
> Processing pyobjc-2.4a0-py2.7.egg
>
> removing 
> '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyobjc-2.4a0-py2.7.egg'
>  (and everything under it)
>
> creating 
> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyobjc-2.4a0-py2.7.egg
>
> Extracting pyobjc-2.4a0-py2.7.egg to 
> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
>
> pyobjc 2.4a0 is already the active version in easy-install.pth
>
> Installed 
> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyobjc-2.4a0-py2.7.egg
>
> Processing dependencies for pyobjc==2.4a0
>
> Searching for pyobjc-framework-ServiceManagement==2.4a0
>
> Reading http://pypi.python.org/simple/pyobjc-framework-ServiceManagement/
>
> Reading http://pyobjc.sourceforge.net
>
> No local packages or download links found for 
> pyobjc-framework-ServiceManagement==2.4a0
>
> error: Could not find suitable distribution for 
> Requirement.parse('pyobjc-framework-ServiceManagement==2.4a0')
>
>
>
> I'm running Lion, upgraded from Snow Leopard, but I had this same problem on 
> SL as well.
>
>
>
> Can anyone help with this?
>
>
>
> Thanks,
>
> Mike
>
> unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
>
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to