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...@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 .bashrc: >>> >>> 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> >>>>>> 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> wrote: >>>>>>> >>>>>>>> >>>>>>>> When I install Pypy on Ubuntu using apt-get, and then run get-pip.py >>>>>>>> , >>>>>>>> how do I access the pip that belongs to PyPy? >>>>>>>> >>>>>>>> ------------------------------ >>>>>>>> >>>>>>>> >>>>>>>> pypy-dev mai >>>>>>>> ling >>>>>>>> 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 >>>>> >>>>> >>>>> >>> >>> -- >>> 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. >
_______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev