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