When you use the ppa, where will nosetests be located? On Thu, Jun 11, 2015 at 10:08 PM, Ryan Gonzalez <rym...@gmail.com> wrote:
> sudo add-apt-repository ppa:pypy/ppa > sudo apt-get update > > > > On June 11, 2015 1:54:55 PM CDT, Ram Rachum <r...@rachum.com> wrote: >> >> I have no idea how to use the PyPy PPA. (Not a Linux user here.) >> >> On Thu, Jun 11, 2015 at 9:52 PM, Randall Leeds <randall.le...@gmail.com> >> wrote: >> >>> The PyPy PPA works brilliantly on 15.04 for me. >>> >>> From there I just make a virtualenv with: >>> >>> $ virtualenv -P /usr/bin/pypy >>> >>> (Can't remember if it's -P or -p) >>> >>> Once activated, just running pip works fine for me. >>> >>> On Thu, Jun 11, 2015, 11:49 Ram Rachum <r...@rachum.com> wrote: >>> >>>> Against my better judgement, I tried following your advice :) >>>> >>>> Got this error when running make: >>>> >>>> [translation:ERROR] CompilationError: CompilationError(err=""" >>>> [translation:ERROR] /tmp/usession-release-2.6.0-0/platcheck_23.c:79:18: >>>> fatal error: zlib.h: No such file or directory >>>> [translation:ERROR] #include <zlib.h> >>>> [translation:ERROR] ^ >>>> [translation:ERROR] compilation terminated. >>>> [translation:ERROR] """) >>>> [translation] start debugger... >>>> > >>>> /home/ubuntu/Desktop/pypy-2.6.0-src/rpython/rtyper/tool/rffi_platform.py(834)configure_external_library() >>>> -> raise last_error >>>> (Pdb+) >>>> >>>> >>>> >>>> >>>> On Thu, Jun 11, 2015 at 9:43 PM, Ryan Gonzalez <rym...@gmail.com> >>>> wrote: >>>> >>>>> On Thu, Jun 11, 2015 at 1:39 PM, Ryan Gonzalez <rym...@gmail.com> >>>>> wrote: >>>>> >>>>>> Honestly, these is just general Linux issues. Like I said, not even >>>>>> Linus Torvalds makes binaries of his dive logger for Linux. It a pain in >>>>>> the everything. >>>>>> >>>>> >>>>> *these are* (damn, I hate autocorrect...) >>>>> >>>>> >>>>>> >>>>>> I usually have the *worst* luck building stuff, but PyPy was actually >>>>>> very easy. I ran `make` and it "just worked". You don't need to know C. >>>>>> Even if you did, trying to edit the C code generated by RPython would be >>>>>> suicide. >>>>>> >>>>>> >>>>>> On Thu, Jun 11, 2015 at 1:34 PM, Ram Rachum <r...@rachum.com> wrote: >>>>>> >>>>>>> I suck at building. I don't know C. There are likely to be errors >>>>>>> that I wouldn't know how to deal with. I'm not interested in wasting >>>>>>> another hour trying to deal with those. >>>>>>> >>>>>>> I'm on Ubuntu 15.04. Thanks for the offer. >>>>>>> >>>>>>> Hopefully instead of investing so much development effort making >>>>>>> PyPy x8 times faster than CPython instead of x7 faster, there'll be more >>>>>>> effort to make PyPy easier to install. This also goes for Windows: Why >>>>>>> isn't there an installer? But yeah, it's an open-source project, so I'm >>>>>>> just ranting. >>>>>>> >>>>>>> On Thu, Jun 11, 2015 at 9:30 PM, Ryan Gonzalez <rym...@gmail.com> >>>>>>> wrote: >>>>>>> >>>>>>>> Remember: I am *dead* serious about you rebuilding it. If you're on >>>>>>>> Ubuntu 14 LTS x64, I can email you the binaries I built that *work* >>>>>>>> for you >>>>>>>> to try. >>>>>>>> >>>>>>>> >>>>>>>> On Thu, Jun 11, 2015 at 12:52 PM, Ram Rachum <r...@rachum.com> >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Unfortunately it doesn't work for nosetests. I've sent a message >>>>>>>>> to python-ideas about this, maybe the -m flag should be changed to >>>>>>>>> work on >>>>>>>>> scripts. >>>>>>>>> >>>>>>>>> I tried a few things, including pyenv, but it didn't work. I've >>>>>>>>> given up at this point. Thanks for your help. >>>>>>>>> >>>>>>>>> >>>>>>>>> On Thu, Jun 11, 2015 at 8:15 PM, Ryan Gonzalez <rym...@gmail.com> >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Dang, I forgot about that. Unfortunately, I don't think that >>>>>>>>>> works for some other Python packages. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On June 11, 2015 11:44:38 AM CDT, Romain Guillebert <romain.py@ >>>>>>>>>> gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>> pypy -m pip works >>>>>>>>>>> >>>>>>>>>>> On Thu, Jun 11, 2015 at 5:05 PM, Ryan Gonzalez <rym...@gmail.com> >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> I don't think you can out-of-the-box without some env tool. Blame >>>>>>>>>>>> apt-get's >>>>>>>>>>>> brilliant engineering. Since I'm generally allergic to binaries >>>>>>>>>>>> (I.e. THEY >>>>>>>>>>>> DON'T WORK! [which is probably why Torvalds never distributes app >>>>>>>>>>>> binaries >>>>>>>>>>>> for Linux]), I do things the simple way: build it myself. Takes >>>>>>>>>>>> about 45 >>>>>>>>>>>> mins. Always works. pip and pytest and such will all get >>>>>>>>>>>> installed into the >>>>>>>>>>>> source directory/bin, NOT /usr/local. In order to access them >>>>>>>>>>>> easily, I put >>>>>>>>>>>> something like this in my .bashr >>>>>>>>>>>> c: >>>>>>>>>>>> >>>>>>>>>>>> for bin in $STUFF/pypy/bin; do >>>>>>>>>>>> alias pypy-${bin##*/}=$bin >>>>>>>>>>>> done >>>>>>>>>>>> >>>>>>>>>>>> # Laziness >>>>>>>>>>>> alias pypy="$STUFF/pypy/pypy-c" >>>>>>>>>>>> # it was either that or: >>>>>>>>>>>> alias pypy="$STUFF/pypy/bin/pyp >>>>>>>>>>>> y-c" >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On June 11, 2015 10:00:50 AM CDT, Ram Rachum <r...@rachum.com> >>>>>>>>>>>> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> As far as I know scripts don't get installed to site packages >>>>>>>>>>>>> (at least on >>>>>>>>>>>>> windows). >>>>>>>>>>>>> >>>>>>>>>>>>> In other words: say I installed pypy on Ubuntu with nose in it. >>>>>>>>>>>>> I want to >>>>>>>>>>>>> launch the nosetests script. (I also have one for the system >>>>>>>>>>>>> Python.) How do >>>>>>>>>>>>> I launch the nosetests that belongs to PyPy? >>>>>>>>>>>>> >>>>>>>>>>>>> On Jun 11, 2015 17:48, "Maciej Fijalkowski" <fij...@gmail.com> >>>>>>>>>>>>> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> you can install pypy with apt-get. Stuff gets installed in >>>>>>>>>>>>>> site-packages I believe (just like on cpython) >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Thu, Jun 11, 2015 at 4:46 PM, Ram Rachum <r...@rachum.com> >>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Things I don't care about so much right now: >>>>>>>>>>>>>>> - How fast PyPy runs. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Things I care a lot about right now: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> * - >>>>>>>>>>>>>>> How many hours of my life I need to spend to get PyPy to run. >>>>>>>>>>>>>>> On Thu, Jun 11, 2015 at 5:36 PM, Ryan Gonzalez >>>>>>>>>>>>>>> <rym...@gmail.com <rym...@gmail.com>> wrote: Note: The PyPy >>>>>>>>>>>>>>> bundled with Ubuntu 12 LTS is insanely slow. On June 11, 2015 >>>>>>>>>>>>>>> 9:27:12 AM CDT, Ram Rachum <r...@rachum.com <r...@rachum.com>> >>>>>>>>>>>>>>> wrote: When I install Pypy on Ubuntu using apt-get, and then >>>>>>>>>>>>>>> run get-pip.py <http://get-pip.py> , how do I access the pip >>>>>>>>>>>>>>> that belongs to PyPy?------------------------------ pypy-dev mai >>>>>>>>>>>>>>> ling >>>>>>>>>>>>>>> list pypy-dev@python.org <pypy-dev@python.org> >>>>>>>>>>>>>>> https://mail.python.org/mailman/listinfo/pypy-dev >>>>>>>>>>>>>>> <https://mail.python.org/mailman/listinfo/pypy-dev> -- Sent >>>>>>>>>>>>>>> from my Android device with K-9 Mail. Please excuse my >>>>>>>>>>>>>>> brevity.------------------------------ pypy-dev mailing list >>>>>>>>>>>>>>> pypy-dev@python.org <pypy-dev@python.org> >>>>>>>>>>>>>>> https://mail.python.org/mailman/listinfo/pypy-dev >>>>>>>>>>>>>>> <https://mail.python.org/mailman/listinfo/pypy-dev>* >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Sent from my Android device with K-9 Mail. Please excuse my >>>>>>>>>>>> brevity. >>>>>>>>>>>> >>>>>>>>>>>> ------------------------------ >>>>>>>>>>>> >>>>>>>>>>>> pypy-dev mailing list >>>>>>>>>>>> pypy-dev@python.org >>>>>>>>>>>> https://mail.python.org/mailman/listinfo/pypy-dev >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Sent from my Android device with K-9 Mail. Please excuse my >>>>>>>>>> brevity. >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Ryan >>>>>>>> [ERROR]: Your autotools build scripts are 200 lines longer than >>>>>>>> your program. Something’s wrong. >>>>>>>> http://kirbyfan64.github.io/ >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Ryan >>>>>> [ERROR]: Your autotools build scripts are 200 lines longer than your >>>>>> program. Something’s wrong. >>>>>> http://kirbyfan64.github.io/ >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Ryan >>>>> [ERROR]: Your autotools build scripts are 200 lines longer than your >>>>> program. Something’s wrong. >>>>> http://kirbyfan64.github.io/ >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> pypy-dev mailing list >>>> pypy-dev@python.org >>>> https://mail.python.org/mailman/listinfo/pypy-dev >>>> >>> >> > -- > Sent from my Android device with K-9 Mail. Please excuse my brevity. >
_______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev