could twisted itself be split into two separate packages? e.g. twisted and twisted-extensions, etc.<div><br></div><div>I understand the frustration of dealing with pypy/distutils, etc.</div><div>but from an end developer's perspective the hurdles one has to go through to get pypy+twisted working</div>
<div>is a major roadblock when it comes to stealing some of the thunder Node.js is getting these days.</div><div><br></div><div>Cheers,</div><div>Jacek<br><br><div class="gmail_quote">On Fri, Sep 30, 2011 at 12:52 PM, <span dir="ltr"><<a href="mailto:exarkun@twistedmatrix.com">exarkun@twistedmatrix.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 04:30 pm, <a href="mailto:jacek99@gmail.com">jacek99@gmail.com</a> wrote:<br>
>Is there an option to separate the Twisted core (i.e. the part everyone<br>
>runs<br>
>on PyPy with the PYTHONPATH hack )<br>
>from the part with embedded C extensions?<br>
><br>
>At least allow a trouble-free PyPy install for the core functionality?<br>
<br>
</div>There isn't now. Given what I know about distutils, it doesn't seem<br>
like an easy thing to implement. If anyone has ideas about how it could<br>
be done, we could discuss it (or feel free to just implement it ;).<br>
<br>
Jean-Paul<br>
<div><div></div><div class="h5">>On Fri, Sep 30, 2011 at 12:25 PM, <<a href="mailto:exarkun@twistedmatrix.com">exarkun@twistedmatrix.com</a>> wrote:<br>
>>On 03:55 pm, <a href="mailto:jaroslaw.fedewicz@gmail.com">jaroslaw.fedewicz@gmail.com</a> wrote:<br>
>> ><br>
>> >On Sep 30, 2011, at 16:55 , <a href="mailto:exarkun@twistedmatrix.com">exarkun@twistedmatrix.com</a> wrote:<br>
>> >>On 01:18 pm, <a href="mailto:jacek99@gmail.com">jacek99@gmail.com</a> wrote:<br>
>> >>>And once I reach 0.1 with all of these features, I will post some<br>
>> >>>blog<br>
>> >>>entries about this together with PyPy benchmarks...so that people<br>
>> >>>don't<br>
>> >>>think<br>
>> >>>Javascript / Node.js is your only option when it comes to async I/O<br>
>> >>>web<br>
>> >>>frameworks :-)<br>
>> >>><br>
>> >>>BTW, is there any progress on getting Twisted to install under PyPy<br>
>> >>>in<br>
>> >>>the<br>
>> >>>near future? I know you guys have been looking into it....<br>
>> >><br>
>> >><a href="http://twistedmatrix.com/trac/ticket/5158" target="_blank">http://twistedmatrix.com/trac/ticket/5158</a> is resolved now. If there<br>
>> >>are<br>
>> >>still problems with Twisted trunk@HEAD on PyPy, please let us know.<br>
>>:)<br>
>> ><br>
>> >There are in fact some problems.<br>
>><br>
>> >$ sudo pypy-c ./setup.py install<br>
>> >[snip]<br>
>> >twisted/runner/portmap.c:10:20: error: Python.h: No such file or<br>
>> >directory<br>
>> >[snip]<br>
>> ><br>
>> >I have PyPy 1.6 with cpyext.<br>
>><br>
>>Notice the "Python.h" error message here. I think that some of the<br>
>>PyPy<br>
>>binary distributions are broken, missing all of the header files for<br>
>>cpyext.<br>
>><br>
>>I filed a ticket about this for Windows in the PyPy issue tracker<br>
>>since<br>
>>I just observed the issue there. I didn't realize it affected other<br>
>>platforms as well.<br>
>><br>
>><a href="https://bugs.pypy.org/issue889" target="_blank">https://bugs.pypy.org/issue889</a><br>
>> >[snip]<br>
>> ><br>
>> >Extracting Twisted-11.0.0_r32705-py2.7-macosx-10.6-i386.egg to<br>
>> >/opt/local/lib/pypy/site-packages<br>
>> >error: /opt/local/lib/pypy/site-<br>
>><br>
>> >packages/Twisted-11.0.0_r32705-py2.7-macosx-10.6-i386.egg/twisted/enterprise/row.pyc:<br>
>> >Too many open files<br>
>> ><br>
>> >This error is known to PyPy guys, they, however, insist that<br>
>>setuptools<br>
>> >are wrong and not them. Which sounds totally wrong to me, but again,<br>
>> >who am I to judge.<br>
>><br>
>>Another way to look at it is that they are not going to implement<br>
>>reference counting for file objects. So whether they are wrong or<br>
>>not,<br>
>>the problem has to be fixed somewhere else. Hopefully it can be fixed<br>
>>in the "distribute" project, which is supposed to be a drop-in<br>
>>replacement for setuptools, but with fewer bugs.<br>
>><br>
>>Jean-Paul<br>
>><br>
>>_______________________________________________<br>
>>Twisted-web mailing list<br>
>><a href="mailto:Twisted-web@twistedmatrix.com">Twisted-web@twistedmatrix.com</a><br>
>><a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web</a><br>
><br>
<br>
_______________________________________________<br>
Twisted-web mailing list<br>
<a href="mailto:Twisted-web@twistedmatrix.com">Twisted-web@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web</a><br>
</div></div></blockquote></div><br></div>