Skip to content
Snippets Groups Projects
  1. Aug 01, 2018
    • Joseph Weston's avatar
      bump required Cython version · 60f02546
      Joseph Weston authored
      Kwant no longer builds with Cython 0.22, and our oldest
      supported operating systems ship with at least 0.24.3
      as of now.
      
      Closes #204
      60f02546
  2. Feb 27, 2018
  3. Nov 15, 2017
    • Bas Nijholt's avatar
      add numpy includes later in the extension config · b9c2b0c2
      Bas Nijholt authored
      Previously, the numpy 'include_dirs' would be shadowed by
      any 'include_dirs' provided in 'build.conf'. We want to avoid
      burdening people with remembering to specify the numpy 'include_dirs'
      every time, and if custom numpy headers is the desired behaviour, these
      can still be specified in 'build.conf', and will take precedence.
      b9c2b0c2
  4. Oct 26, 2017
  5. Sep 13, 2017
  6. Sep 12, 2017
  7. Jul 25, 2017
    • Christoph Groth's avatar
      move tutorial script generation, reorganize doc/source · 9fdd41e8
      Christoph Groth authored
      I assume that most people encounter the tutorial example scripts by
      reading the documentation, and not by viewing the tutorial subdirectory
      of a checked-out Kwant source.
      
      That's the motivation for moving all the manipulations of tutorial
      scripts from setup.py to doc/Makefile.  Previously, a successful 'make
      html' would require a preceding execution of 'setup.py build_tut'.  Now,
      a simple 'make html' is enough.
      
      While at it, I reorganized where the example scripts and their outputs
      are stored.  Everything is now in 'doc/source/code' with its three
      subdirectories 'download' (to be shown to readers), 'include' (with
      include markers), and 'figure' (figure generation & figures).  This
      organization is clearer and also makes the generation of figures
      separate from the tutorial.
      9fdd41e8
  8. Jul 20, 2017
  9. Jun 20, 2017
  10. Jun 19, 2017
  11. May 24, 2017
  12. May 23, 2017
  13. May 19, 2017
  14. May 11, 2017
  15. May 04, 2017
  16. Apr 25, 2017
  17. Apr 12, 2017
    • Christoph Groth's avatar
      move ensure_python() from setup.py into Kwant and use it · 874b6c29
      Christoph Groth authored
      This allows to provide a helpful error message when someone tries to
      import Kwant with Python 2.
      
      Note that I moved the version code into a module of its own:
      kwant.version.  The rationale is to separate this code from unrelated
      stuff in kwant._common that requires various external libs.  The
      kwant.version module should work on its own without any third-party
      libraries.
      874b6c29
  18. Mar 14, 2017
    • Joseph Weston's avatar
      fix discretizer packaging and optional testing · 7cb76722
      Joseph Weston authored
      Previously the testing/importing 'continuum' would fail if sympy was not
      installed. Now we do the following:
      
          * add sympy as an optional dependency in 'extras_require'
          * force pytest to ignore tests in packages that have uninstalled
            dependencies by defining a hook in 'conftest.py'
          * use the 'class as a module' hack when importing 'continuum'.
            When sympy is not installed the continuum module will be replaced
            with an instance of 'ExtensionUnavailable' that will raise a runtime
            error on attribute access.
          * no warning is raised if sympy is not installed (it is an
            optional dependency).
      7cb76722
  19. Feb 02, 2017
  20. Jan 16, 2017
  21. Jan 15, 2017
  22. Dec 20, 2016
  23. Nov 14, 2016
  24. Nov 03, 2016
  25. Nov 02, 2016
  26. Oct 30, 2016
  27. Oct 25, 2016
Loading