hauntsaninja / pyp

Easily run Python at the shell! Magical, but never mysterious.
MIT License
1.41k stars 39 forks source link

Ability to use pypy? #4

Closed naclander closed 4 years ago

naclander commented 4 years ago

Firstly thank you for this fantastic project.

I was wondering if pyp was configurable so that I could use pypy instead of the default python?

hauntsaninja commented 4 years ago

Thanks for taking the time to check it out!

You should be able to use pypy; we're not doing anything too crazy :-) I was able to run tests successfully against pypy with tox -e pypy3.

I assume something like pypy3 -m pip install pypyp would install it using pypy. You can test whether it was successful by running pyp sys.version :-)

Note that pyp requires at least Python 3.6, that constraint would apply to pypy as well.