Commit c0a7ad62 authored by Christoph Groth's avatar Christoph Groth implicitly enable --cython when running from git

parent 14d2322f
......@@ -75,13 +75,10 @@ A useful trick for working on the source code is to build in-place so that there
is no need to re-install after each change. This can be done with the following
command ::
python build_ext -i --cython
python build_ext -i
The ``kwant`` subdirectory of the source distribution will be thus turned into
a proper Python package that can be imported. To be able to import Kwant from
within Python, one can either work in the root directory of the distribution
(where the subdirectory ``kwant`` is located), or make a (symbolic) link from
somewhere in the Python search path to the the package subdirectory.
The option ``--cython`` enables the translation of .pyx files into .c files.
It is only needed if any .pyx files have been modified.
......@@ -62,7 +62,7 @@ try:
use_cython = True
except ValueError:
use_cython = False
use_cython = version_is_from_git
if use_cython:
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment