Skip to content
Snippets Groups Projects
  1. 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
  2. Jul 20, 2017
  3. May 24, 2017
  4. May 23, 2017
  5. May 19, 2017
  6. May 11, 2017
  7. May 04, 2017
  8. Apr 25, 2017
  9. 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
  10. 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
  11. Feb 02, 2017
  12. Jan 16, 2017
  13. Jan 15, 2017
  14. Dec 20, 2016
  15. Nov 14, 2016
  16. Nov 03, 2016
  17. Nov 02, 2016
  18. Oct 30, 2016
  19. Oct 25, 2016
  20. Sep 09, 2016
  21. Aug 04, 2016
  22. Jun 04, 2016
  23. Dec 11, 2015
  24. Dec 09, 2015
Loading