Re: [Pyobjc-dev] [PATCH included] Making pyobcj-core pip-installable
Brought to you by:
ronaldoussoren
From: Ronald O. <ron...@ma...> - 2012-06-22 07:12:05
|
On 21 Jun, 2012, at 22:50, Marc Abramowitz wrote: > I noticed that pyobjc-core isn't installable with pip, but it's > installable with python setup.py install. Here's what I get with `pip > install .`: > > https://gist.github.com/2968422 > > This seems to have something to do with pyobjc-core's setup.py. I got > `pip install .` to work as follows: > > ``` > (env)[last: 0] marca@SCML-MarcA:~/dev/svn-repos/pyobjc-core$ curl -sk > https://raw.github.com/gist/2968084/d4f1d538130c12023cfaac8d777f299f9e77f944/pyobjc-core-1.patch > | patch > patching file setup.py > > (env)[last: 0] marca@SCML-MarcA:~/dev/svn-repos/pyobjc-core$ pip install . > Unpacking /Users/marca/dev/svn-repos/pyobjc-core > Running setup.py egg_info for package from > file:///Users/marca/dev/svn-repos/pyobjc-core > ... > Successfully installed pyobjc-core > Cleaning up... > ``` > > Hopefully the patch doesn't break anything else, but even if it does, > at least it's a start at pinpointing what the problem is. I've applied your patch to my local repository. It will be in the next release (later this summer). I noticed that you also sent in a patch to the pip maintainer that got accepted. That's the right place to fix this issue (they had assumptions about the contents of setup.py that aren't true), I'm applying this patch anyway because pyobjc should be installable even when users have an older version of pip. Thanks for the patch, Ronald |