Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r2859:7aecd7881291 Date: 2017-01-15 17:18 +0100 http://bitbucket.org/cffi/cffi/changeset/7aecd7881291/
Log: Add more tips diff --git a/README.md b/README.md --- a/README.md +++ b/README.md @@ -15,7 +15,15 @@ [Mailing list](https://groups.google.com/forum/#!forum/python-cffi) +Testing/development tips +------------------------ + To run tests under CPython, run:: + pip install pytest # if you don't have py.test already python setup.py build_ext -f -i py.test c/ test/ + +If you run in another directory (either the tests or another program), +you should use the environment variable ``PYTHONPATH=/path`` to point +to the location that contains the ``_cffi_backend.so`` just compiled. _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit