summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2017-08-27 10:12:13 +0200
committerStefan Behnel <stefan_ml@behnel.de>2017-08-27 10:12:13 +0200
commit00305bd3258724dae191a3e69c9875145469afd5 (patch)
tree4a5488644606ad04c999dba2b4cb23e994b1f8b3 /docs
parent0da7a1d81747d87663b00e4bcbca8c203ec46d47 (diff)
downloadcython-00305bd3258724dae191a3e69c9875145469afd5.tar.gz
docs: pyximport actually all output files into the build directory, not just the .so.
Diffstat (limited to 'docs')
-rw-r--r--docs/src/userguide/source_files_and_compilation.rst19
1 files changed, 2 insertions, 17 deletions
diff --git a/docs/src/userguide/source_files_and_compilation.rst b/docs/src/userguide/source_files_and_compilation.rst
index b35eb2f07..b47e3b1e3 100644
--- a/docs/src/userguide/source_files_and_compilation.rst
+++ b/docs/src/userguide/source_files_and_compilation.rst
@@ -143,22 +143,7 @@ Note that this will generate a new module filename for each build and thus
end up loading multiple shared libraries into memory over time. CPython does
not support reloading shared libraries as such.
-Pyximport puts your ``.c`` file beside your ``.pyx`` file (analogous to
-``.pyc`` beside ``.py``), but, by default, puts the platform-specific
-binary in a build directory as per normal for Distutils. To copy it back
+Pyximport puts both your ``.c`` file and the platform-specific binary into
+a separate build directory, usually ``$HOME/.pyxblx/``. To copy it back
into the package hierarchy (usually next to the source file) for manual
reuse, you can pass the option ``inplace=True``.
-
-For further thought and discussion
-------------------------------------
-
-``setup.py install`` does not modify :file:`sitecustomize.py` for you and
-probably should never do that. Modifying Python's "standard interpreter"
-behaviour may be more than most people expect of a package they install.
-
-Pyximport puts your ``.c`` file beside your ``.pyx`` file (analogous to
-``.pyc`` beside ``.py``). But it puts the platform-specific binary in a
-build directory as per normal for Distutils. If I could wave a magic
-wand and get Cython or distutils or whoever to put the build directory I
-might do it but not necessarily: having it at the top level is *VERY*
-*HELPFUL* for debugging Cython problems.