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