Re: [PATCH included] Making pyobcj-core pip-installable

Ronald Oussoren <[email protected]>
Newsgroups gmane.comp.python.pyobjc.devel
Message-ID <[email protected]>
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

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyobjc-dev
smime.p7s (application/pkcs7-signature, 4.7 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.