diff options
author | Armin Rigo <arigo@tunes.org> | 2017-01-15 17:18:45 +0100 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2017-01-15 17:18:45 +0100 |
commit | 4f4228eb5ccac7ae3cb838d2055c6301b7d7b35f (patch) | |
tree | c7609f41801f2857a8979dff3c5b8e822903e222 /README.md | |
parent | dc4c58c23c9bb9bb76ef7242fc4ce3ad6e6b4e54 (diff) | |
download | cffi-4f4228eb5ccac7ae3cb838d2055c6301b7d7b35f.tar.gz |
Add more tips
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -15,7 +15,15 @@ Contact [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. |