summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormalthe <devnull@localhost>2014-09-02 14:59:49 +0200
committermalthe <devnull@localhost>2014-09-02 14:59:49 +0200
commitb089e8effa52b773d54424b0438206f5bcb3fc77 (patch)
treebd5f169440f26571756b9778026e55dabbaf9fc9
parent29ae2bc486154245ebc2fb640b76e8eb24de72bb (diff)
downloadcffi-tmpdir-from-environ.tar.gz
Mention 'CFFI_TMPDIR' in changelogtmpdir-from-environ
-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.