summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/source/index.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/source/index.rst b/doc/source/index.rst
index ce05f3d..e6685f7 100644
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -640,8 +640,9 @@ not recommended.
.. versionadded:: 0.4
The ``tmpdir`` argument to ``verify()`` controls where the C
- files are created and compiled. By default it is
- ``directory_containing_the_py_file/__pycache__``, using the
+ files are created and compiled. Unless the ``CFFI_TMPDIR`` environment
+ variable is set, the default is
+ ``directory_containing_the_py_file/__pycache__`` using the
directory name of the .py file that contains the actual call to
``ffi.verify()``. (This is a bit of a hack but is generally
consistent with the location of the .pyc files for your library.