Re: How to compile a file with rpython
Matti Picus <[email protected]> Mon, 22 Nov 2021 19:26:21 +0200
| Newsgroups | gmane.comp.python.pypy |
|---|---|
| Message-ID | <[email protected]> |
On 22/11/21 7:06 pm, M A wrote: > >> On Nov 22, 2021, at 1:08 AM, Dan Stromberg <[email protected]> wrote: >> >> >> Why do you desire an executable? >> >> Last I heard, a program would perform well on Pypy's JIT, and that using rpython was almost always unnecessary. >> >> If you need an executable, you could also try Cython or Nuitka. > Well I'm working on code for PyPy. If I could unit test my code my development speed would increase a lot. It takes a long time for PyPy to build on my computer. > _______________________________________________ The way to unit test code is with python2 pytest.py rpython/path/to/test/test_file.py This is explained in the testing section of the "how to contribute" [0]. If that document is not clear, please help us improve it. Matti [0] https://doc.pypy.org/en/latest/contributing.html#testing