[pypy-dev] Boost.Python and PyPy -- status?

Amaury Forgeot d'Arc amauryfa at gmail.com
Fri Jan 10 00:31:19 CET 2014


2014/1/9 Toby St Clere Smithe <mail at tsmithe.net>

> Hi there,
>
> I have written a (C)Python extension using Boost::Python, and would like
> to get it working on PyPy. I came across [1], but that's probably a bit
> out of date, and the link given there discussing the status then[2]
> doesn't work any more. Is there an up-to-date status page? Or, does
> anyone know more?
>

Hi,

I just did it again, with Boost 1.55:

- Apply the patch in

https://bitbucket.org/pypy/pypy/src/default/pypy/module/cpyext/patches/boost.patch

- EXCEPT the "using python" part, which should be something like:

using python : 2.7
             : $(PYPY_HOME)/bin/pypy
             : $(PYPY_HOME)/include
             : : : .pypy-22 ;

Then I got the test in "libs/python/example/tutorial" work correctly.
I get segfaults in other example, investigating.


> I don't currently have much time to invest in solving many residual
> issues myself, but I should do come spring / summer.
>
> [1] https://mail.python.org/pipermail/pypy-dev/2010-April/005816.html
> [2] http://paste.pocoo.org/show/203663/
>
> Regards,
>
> Toby Smithe
>
>
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> https://mail.python.org/mailman/listinfo/pypy-dev
>



-- 
Amaury Forgeot d'Arc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20140110/a3c8a0d2/attachment.html>


More information about the pypy-dev mailing list